Windows Dev Center

Expand Minimize

VariantToUInt64Array function

Extracts data from a vector structure into an unsigned Int64 array.

Syntax


HRESULT VariantToUInt64Array(
  _In_  REFVARIANT var,
  _Out_ ULONGLONG  *prgn,
  _In_  ULONG      crgn,
  _Out_ ULONG      *pcElem
);

Parameters

var [in]

Type: REFVARIANT

Reference to a source variant structure.

prgn [out]

Type: ULONGLONG*

Pointer to the unsigned Int64 data extracted from source variant structure.

crgn [in]

Type: ULONG

Specifies unsigned Int64 array size.

pcElem [out]

Type: ULONG*

Pointer to the count of unsigned Int64 elements extracted from source variant structure.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propvarutil.h

Library

Propsys.lib

DLL

Propsys.dll (version 6.0 or later)

 

 

Community Additions

ADD
Show:
© 2015 Microsoft