VariantToUInt32Array function (propvarutil.h)

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

Syntax

PSSTDAPI VariantToUInt32Array(
  [in]  REFVARIANT var,
  [out] ULONG      *prgn,
  [in]  ULONG      crgn,
  [out] ULONG      *pcElem
);

Parameters

[in] var

Type: REFVARIANT

Reference to a source variant structure.

[out] prgn

Type: ULONG*

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

[in] crgn

Type: ULONG

Specifies unsigned Int32 array size.

[out] pcElem

Type: ULONG*

Pointer to the count of unsigned Int32 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]
Target Platform Windows
Header propvarutil.h
Library Propsys.lib
DLL Propsys.dll (version 6.0 or later)
Redistributable Windows Desktop Search (WDS) 3.0