Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 2.05 KB

nf-winstring-hstring_usersize.md

File metadata and controls

81 lines (64 loc) · 2.05 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:winstring.HSTRING_UserSize
HSTRING_UserSize function (winstring.h)
The HSTRING_UserSize function (winstring.h) calculates the wire size of the HSTRING object, and retrieves its handle and data.
HSTRING_UserSize
HSTRING_UserSize function [Windows Runtime]
remotesystemadditionalinfo/HSTRING_UserSize
winrt.hstring_usersize
winrt\hstring_usersize.htm
WinRT
F258F308-7A16-4C24-9770-F6D8A1604811
08/03/2022
HSTRING_UserSize, HSTRING_UserSize function [Windows Runtime], remotesystemadditionalinfo/HSTRING_UserSize, winrt.hstring_usersize
winstring.h
Winstring.h, Inspectable.h
Windows
Windows 8 [desktop apps \| UWP apps]
Windows Server 2012 [desktop apps \| UWP apps]
RuntimeObject.lib
ComBase.dll
Windows
19H1
HSTRING_UserSize
winstring/HSTRING_UserSize
c++
APIRef
kbSyntax
DllExport
ComBase.dll
API-MS-Win-Core-WinRT-String-l1-1-0.dll
API-MS-Win-Core-WinRT-String-L1-1-1.dll
HSTRING_UserSize

-description

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

-parameters

-param pFlags

[in]

The data used by RPC.

-param 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.

-param ppidl

[in]

The string.

-returns

The value obtained from the returned HRESULT value is S_OK.

-see-also

HSTRING