共用方式為


3.1.4.13.1 SetPartition (Opnum 3)

This method is called by a client to set the import target partition (as specified in section 3.1.1.5).

 HRESULT SetPartition(
   [in] GUID* pPartitionIdentifier,
   [out] GUID* pReserved
 );

pPartitionIdentifier: A pointer to a variable containing a GUID to be used as the partition identifier for the import target partition.

pReserved: A pointer to a variable that is set to any arbitrary value when sent by the server and MUST be ignored on receipt by the client.

Return Values: This method MUST return S_OK (0x00000000) on success, and a failure result (as specified in [MS-ERREF], section 2.1) on failure. All failure results MUST be treated identically.

Return value/code

Description

0x00000000

S_OK

The call was successful.

Upon receiving a call to this method, the server MUST attempt to set the import target partition identifier (as specified in section 3.1.1.5) to the value specified in pPartitionIdentifier, and fail the call if it cannot.