Winapi 关于容器资源的信息

Winapi 关于容器资源的信息,winapi,networking,Winapi,Networking,我正在编写一个代码,使用WNetOpenEnum函数和WNetEnumResource来枚举网络中的设备,链接中的msdn文档提到了容器资源的术语,请让我知道容器资源的确切含义。如您链接的手册页面所述: WNetOpenEnum函数用于开始枚举单个容器中的资源。以下示例显示Microsoft LAN Manager网络和Novell NetWare网络的层次结构,并标识容器 LanMan (container, in this case the provider) ACCOUNTING (

我正在编写一个代码,使用WNetOpenEnum函数和WNetEnumResource来枚举网络中的设备,链接中的msdn文档提到了容器资源的术语,请让我知道容器资源的确切含义。

如您链接的手册页面所述:

WNetOpenEnum函数用于开始枚举单个容器中的资源。以下示例显示Microsoft LAN Manager网络和Novell NetWare网络的层次结构,并标识容器

LanMan (container, in this case the provider) 
  ACCOUNTING (container, in this case the domain) 
    \\ACCTSPAY (container, in this case the server) 
      PAYFILES (disk) 
      LASERJET (print) 
这里的容器是
LanMan
ACCOUNTING
\\ACCTSPAY


这里的
NetWare
MARKETING
是容器。

如您链接的手册页面所述:

LanMan (container, in this case the provider) 
  ACCOUNTING (container, in this case the domain) 
    \\ACCTSPAY (container, in this case the server) 
      PAYFILES (disk) 
      LASERJET (print) 
WNetOpenEnum函数用于开始枚举单个容器中的资源。以下示例显示Microsoft LAN Manager网络和Novell NetWare网络的层次结构,并标识容器

LanMan (container, in this case the provider) 
  ACCOUNTING (container, in this case the domain) 
    \\ACCTSPAY (container, in this case the server) 
      PAYFILES (disk) 
      LASERJET (print) 
这里的容器是
LanMan
ACCOUNTING
\\ACCTSPAY


这里的
NetWare
MARKETING
是容器。

我读过这个,打印和磁盘资源是否作为容器资源?不,这些是打印和磁盘资源。这意味着函数将枚举容器中的所有设备,这意味着一个域。我读过这个,打印和磁盘资源是否作为容器资源提供?不,它们是打印和磁盘资源。这意味着该函数将枚举容器中的所有设备,即域。
LanMan (container, in this case the provider) 
  ACCOUNTING (container, in this case the domain) 
    \\ACCTSPAY (container, in this case the server) 
      PAYFILES (disk) 
      LASERJET (print)