DVARIANT.PutShortArraymethod
Initializes DVARIANT from an array of signed 16-bit integer values.
Syntax
FUNCTION PutShortArray (BYVAL prgf AS SHORT PTR, BYVAL cElems AS ULONG) AS HRESULT
Parameters
| Name | Description | |
|---|---|---|
prgf | Pointer to source array of SHORT 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 signed 16-bit integer values.
Remarks
Creates a VT_ARRAY OR VT_I2 variant.
Reference
- Include file
DVARIANT.INC - Defined in AfxNova/DVARIANT.inc:1480
- Documented in COM/DVARIANT Class.md
- Topic: DVARIANT Class