HSTRING_UserSize64 function

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

Syntax

unsigned long HSTRING_UserSize64(
  unsigned long *,
  unsigned long ,
  HSTRING       *
);

Parameters

arg1

The data used by RPC.

arg2

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.

arg3

The string.

Return Value

The value obtained from the returned HRESULT value is S_OK.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header inspectable.h (include Winstring.h, Inspectable.h)
Library RuntimeObject.lib
DLL ComBase.dll

See Also

HSTRING