Help Center

DVARIANT.PutBooleanArraymethod

Initializes DVARIANT from an array of Boolean values.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutBooleanArray (BYVAL prgf AS WINBOOL PTR, BYVAL cElems AS ULONG) AS HRESULT

Parameters

NameDescription
prgfPointer to source array of Boolean 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 Boolean values.

Remarks

Creates a VT_ARRAY OR VT_BOOL variant.

Reference

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