다음을 통해 공유


3.1.6.6 Server Registers a New Treeconnect

The CIFS or SMB2 server requesting registration of a TreeConnect MUST provide the tuple <ServerName, ShareName>. The server MUST insert a new TreeConnect into TreeConnectList and MUST assign TreeConnect.GlobalTreeConnectId the value that uniquely identifies the entry in the list. This value MUST be returned to the caller. The server MUST look up the Share in the ShareList, where ShareName matches Share.ShareName, and MUST increase Share.CurrentUses by 1.