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.InitPropVariantFromInt64Vector |
InitPropVariantFromInt64Vector function (propvarutil.h) |
Initializes a PROPVARIANT structure based on a vector of Int64 values. |
|
properties\InitPropVariantFromInt64Vector.htm |
properties |
a2375776-ba9e-4d59-8924-86ac087b99d7 |
12/05/2018 |
InitPropVariantFromInt64Vector, InitPropVariantFromInt64Vector function [Windows Properties], properties.InitPropVariantFromInt64Vector, propvarutil/InitPropVariantFromInt64Vector, shell.InitPropVariantFromInt64Vector, shell_InitPropVariantFromInt64Vector |
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 Int64 values.
Type: const LONGLONG*
Pointer to a source vector of LONGLONG values. If this parameter is NULL, the vector is initialized with zeros.
Type: ULONG
The number of elements in the vector.
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_I8 propvariant.
The following example, to be included as part of a larger program, demonstrates how to use InitPropVariantFromInt64Vector.
LONGLONG rgLongLongs[] = {4, 7};
PROPVARIANT propvar;
HRESULT hr = InitPropVariantFromInt64Vector(rgLongLongs, ARRAYSIZE(rgLongLongs), &propvar);
if (SUCCEEDED(hr))
{
// propvar now is valid and has type VT_VECTOR | VT_I8.
PropVariantClear(&propvar);
}