Help Center

DVARIANT.PutLongArraymethod

Initializes DVARIANT from an array of signed 32-bit integer values.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutLongArray (BYVAL prgf AS LONG PTR, BYVAL cElems AS ULONG) AS HRESULT

Parameters

NameDescription
prgfPointer to source array of LONG values.
cElemsThe 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 32-bit integer values.

Remarks

Creates a VT_ARRAY OR VT_I4 variant.

Reference

  • Include file DVARIANT.INC
  • Defined in AfxNova/DVARIANT.inc:1502
  • Documented in COM/DVARIANT Class.md
  • Topic: DVARIANT Class