共用方式為


2.2.14.2 SMB2_CREATE_CONTEXT Response Values

The SMB2_CREATE_CONTEXT Response Values MUST take the same form as specified in section 2.2.13.2 except that the Buffer field MUST be one of the values provided in the following table. The following values are the valid create context values and are defined to be in network byte order. The individual values that are contained in the data buffer of the create context responses varies, based on the name of the create context in the request.

Value

Meaning

SMB2_CREATE_DURABLE_HANDLE_RESPONSE

0x44486e51

("DHnQ")

The server marked the open to be durable.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SMB2_CREATE_QUERY_MAXIMAL_ACCESS_RESPONSE

0x4d784163

("MxAc")

The server returned maximal access information.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SMB2_CREATE_QUERY_ON_DISK_ID

0x51466964

("QFid")

The server returned DiskID of the open file in a volume.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SMB2_CREATE_RESPONSE_LEASE

0x52714c73

("RqLs")

The server returned a lease. This value is only supported for the SMB 2.1 and 3.x dialect family.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SMB2_CREATE_RESPONSE_LEASE_V2

0x52714c73

("RqLs")

The server returned a lease for a file or a directory. This value is only supported for the SMB 3.x dialect family. This context value is the same as the SMB2_CREATE_RESPONSE_LEASE value; the client differentiates these responses based on the value of the DataLength field.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SMB2_CREATE_DURABLE_HANDLE_RESPONSE_V2

0x44483251

("DH2Q")

The server marked the open to be durable. This value is only supported for the SMB 3.x dialect family.

SMB2_CREATE_CONTEXT Response takes the same form as defined in section 2.2.13.2.

SVHDX_OPEN_DEVICE_CONTEXT_RESPONSE

0x9CCBCF9E04C1E643980E158DA1F6EC83

A response context as specified in [MS-RSVD] sections 2.2.4.31 and 2.2.4.33 is returned. This create context value is not valid for the SMB 2.002, SMB 2.1, and SMB 3.0 dialects.

For each well-known name that is specified in the previous table, the format of the response is provided in the following sections.