DVARIANT.PutUShortArraymethod
Initializes DVARIANT from an array of unsigned 16-bit integer values.
Syntax
FUNCTION PutUshortArray (BYVAL prgf AS USHORT PTR, BYVAL cElems AS ULONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
prgf | Pointer to source array of USHORT values. | |
cElems | The number of elements in the array. |
Return value
If this function succeeds, it returns S_OK (0). Otherwise, it returns an HRESULT error code.
Description
Initializes DVARIANT from an array of 16-bit unsigned integer values.
Remarks
Creates a VT_ARRAY OR VT_UI2 variant.
Reference
- Include file
DVARIANT.INC - Defined in AfxNova/DVARIANT.inc:1491
- Documented in COM/DVARIANT Class.md
- Topic: DVARIANT Class