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:propvarutil.InitPropVariantFromUInt64Vector |
InitPropVariantFromUInt64Vector function (propvarutil.h) |
Initializes a PROPVARIANT structure based on a vector of 64-bit unsigned integers. |
|
properties\InitPropVariantFromUInt64Vector.htm |
properties |
17c52a7d-c3d3-4132-8f44-7d0b250aa7ad |
12/05/2018 |
InitPropVariantFromUInt64Vector, InitPropVariantFromUInt64Vector function [Windows Properties], properties.InitPropVariantFromUInt64Vector, propvarutil/InitPropVariantFromUInt64Vector, shell.InitPropVariantFromUInt64Vector, shell_InitPropVariantFromUInt64Vector |
propvarutil.h |
Windows |
Windows XP with SP2, Windows Vista [desktop apps only] |
Windows Server 2003 with SP1 [desktop apps only] |
Propsys.lib |
Propsys.dll (version 6.0 or later) |
Windows |
Windows Desktop Search (WDS) 3.0 |
19H1 |
|
|
|
|
|
|
Initializes a PROPVARIANT structure based on a vector of 64-bit unsigned integers.
Type: const ULONGLONG*
Pointer to a source vector of ULONGLONG values. If this parameter is NULL, the PROPVARIANT is initialized with zeros.
Type: ULONG
Number of elements in the vector pointed to by prgn.
Type: PROPVARIANT*
When this function returns, contains the initialized PROPVARIANT structure.
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Creates a VT_VECTOR | VT_UI8 propvariant.
The following example, to be included as part of a larger program, demonstrates how to use InitPropVariantFromUInt64Vector.
ULONGLONG rgLongs[] = {4, 7};
PROPVARIANT propvar;
HRESULT hr = InitPropVariantFromUInt32Vector(rgLongs, ARRAYSIZE(rgLongs), &propvar);
if (SUCCEEDED(hr))
{
// propvar now is valid and has type VT_VECTOR | VT_UI8.
PropVariantClear(&propvar);
}