Skip to main content
HSTRING_UserSize function

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

Syntax


unsigned long __stdcall HSTRING_UserSize(
  _In_  unsigned long *pFlags,
  _In_  unsigned long StartingSize,
  _In_  HSTRING *ppidl
);

Parameters

pFlags [in]

The data used by RPC.

StartingSize [in]

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

ppidl [in]

The string.

Return value

The value obtained from the returned HRESULT value is S_OK.

Remarks

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Winstring.h

See also

HSTRING