Export (0) Print
Expand All

3.4.4.11 A Local Client Application Requests a Tree Disconnect

The caller supplies the ClientGenericContext structure returned by the interface specified in section 3.4.4.10 and the optional ForceLevel to disconnect the connection.

If the ForceLevel value is 0x00000002, then based on the ClientGenericContext.ProtocolDialect field value and the tree connect represented by the ClientGenericContext.ProtocolSpecificOpen, the client MUST invoke the event specified in section 3.2.4.24 or in [MS-SMB2] section 3.2.4.22 and disconnect the tree connection.

If the ForceLevel value is 0x00000000 or 0x00000001, then based on the ClientGenericContext.ProtocolDialect field value and the tree connect represented by the ClientGenericContext.ProtocolSpecificOpen, the client MUST invoke the event specified in section 3.2.4.46 or in [MS-SMB2] section 3.2.4.26 for number of open files on the tree connect.

  • If the number of open files on the connection is equal to zero, based on the ClientGenericContext.ProtocolDialect field value and the tree connect represented by the ClientGenericContext.ProtocolSpecificOpen, the client MUST invoke the event specified in section 3.2.4.24 or in [MS-SMB2] section 3.2.4.22 and disconnect the tree connection.

  • Otherwise, the server MUST fail the call with an implementation-specific error code.

 
Show:
© 2014 Microsoft