Help Center

DVARIANT.PutSystemTimemethod

Initializes DVARIANT with the contents of a SYSTEMTIME structure.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutSystemTime (BYVAL pst AS SYSTEMTIME PTR) AS HRESULT

Parameters

NameDescription
pstPointer to a SYSTEMTIME structure.

Return value

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

Description

Initializes DVARIANT with the contents of a SYSTEMTIME structure.

Remarks

Creates a VT_DATE variant.

Reference

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