VariantToUInt16ArrayAlloc function
Extracts data from a vector structure into a newly-allocated unsigned Int16 array.
Syntax
HRESULT VariantToUInt16ArrayAlloc( _In_ REFVARIANT var, _Out_ USHORT **pprgn, _Out_ ULONG *pcElem );
Parameters
- var [in]
-
Type: REFVARIANT
Reference to a source variant structure.
- pprgn [out]
-
Type: USHORT**
Pointer to the address of the unsigned Int16 data extracted from the source variant structure.
- pcElem [out]
-
Type: ULONG*
Pointer to the count of unsigned Int16 elements extracted from the 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 |
|
|
Library |
|
|
DLL |
|
Send comments about this topic to Microsoft
Build date: 10/27/2012
