Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Extracts data from a vector structure into a newly-allocated unsigned Int16 array.
Syntax
PSSTDAPI VariantToUInt16ArrayAlloc(
[in] REFVARIANT var,
[out] USHORT **pprgn,
[out] ULONG *pcElem
);
Parameters
[in] var
Type: REFVARIANT
Reference to a source variant structure.
[out] pprgn
Type: USHORT**
Pointer to the address of the unsigned Int16 data extracted from the source variant structure.
[out] pcElem
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
| Requirement | Value |
|---|---|
| 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 |