Help Center

DVARIANT.PutRecordmethod

Initializes DVARIANT with a reference to an UDT.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutRecord (BYVAL pIRecordInfo AS IRecordInfo PTR, BYVAL pRec AS VOID PTR) AS HRESULT

Parameters

NameDescription
pIRecordInfoPointer to the IRecordInfo interface.
pRecPointer to the UDT.

Return value

If this function succeeds, it returns S_OK (0). Otherwise, it returns an HRESULT error code.

Description

Initializes DVARIANT with a reference to an UDT.

Remarks

Creates a VT_RECORD variant.

Reference

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