3.1.4.1.1 GetSerializedBuffer (Opnum 3)

The GetSerializedBuffer method converts the given managed object to a binary-formatted string representation that can be used to create a managed object.

 HRESULT GetSerializedBuffer( 
   [out] BSTR *pBSTR
 );
  

pbSTR: The value MUST contain a binary-formatted string representation of the class record for the underlying managed object, as specified in [MS-NRBF] section 2.3. For more information on binary format mapping, see [MS-NRTP] section 3.1.5.1.

Return Values: The method MUST return a positive value or 0 to indicate successful completion or a negative value to indicate failure.

Return value/code

Description

0x00000000

ERROR_SUCCESS

Success.

Exceptions Thrown: No exceptions are thrown from this method beyond those thrown by the underlying RPC protocol.