Help Center

DVARIANT.PutStringArraymethod

Initializes DVARIANT from an array of unsigned 64-bit integer values.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutStringArray (BYVAL prgsz AS PDWSTRING, BYVAL cElems AS ULONG) AS HRESULT

Parameters

NameDescription
prgszPointer to source array of unicode strings.
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 unicode strings.

Remarks

Creates a VT_ARRAY OR VT_BSTR variant.

Reference

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