BSTR_UserUnmarshal function (oaidl.h)

Unmarshals a BSTR object from the RPC buffer.

Syntax

unsigned char * BSTR_UserUnmarshal(
  [in]  unsigned long *unnamedParam1,
  [in]  unsigned char *unnamedParam2,
  [out] BSTR          *unnamedParam3
);

Parameters

[in] unnamedParam1

The data used by RPC.

[in] unnamedParam2

The current buffer. This pointer may or may not be aligned on entry.

[out] unnamedParam3

The object.

Return value

The value obtained from the returned HRESULT value is one of the following.

Return code Description
S_OK
Success.
E_OUTOFMEMORY
Insufficient memory for this function to perform.

Requirements

Requirement Value
Target Platform Windows
Header oaidl.h
Library OleAut32.lib
DLL OleAut32.dll