Expand Minimize

BSTR_UserSize function

Calculates the wire size of the BSTR object, and gets its handle and data.

Syntax


unsigned long __stdcall BSTR_UserSize(
  _In_  unsigned long *pFlags,
  _In_  unsigned long Offset,
  _In_  BSTR *pBstr
);

Parameters

pFlags [in]

The data used by RPC.

Offset [in]

The current buffer offset where the object will be marshaled. The method has to account for any padding needed for the BSTR object to be properly aligned when it will be marshaled to the buffer.

pBstr [in]

The object.

Return value

The value obtained from the returned HRESULT value is S_OK.

Requirements

Library

OleAut32.lib

DLL

OleAut32.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.