HSTRING_UserUnmarshal function (winstring.h)

Unmarshals an HSTRING object from the RPC buffer.

Syntax

UCHAR * HSTRING_UserUnmarshal(
  ULONG   *pFlags,
  UCHAR   *pBuffer,
  HSTRING *ppidl
);

Parameters

pFlags

[in]

The data used by RPC.

pBuffer

[in]

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

ppidl

[out]

The string.

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
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header winstring.h (include Winstring.h, Inspectable.h)
Library RuntimeObject.lib
DLL ComBase.dll

See also

HSTRING