Help Center

DVARIANT.PutFileTimemethod

Initializes DVARIANT with the contents of a FILETIME structure.

COMmethodDVARIANT.INCdocumented

Syntax

FUNCTION PutFileTime (BYVAL pft AS FILETIME PTR) AS HRESULT

Parameters

NameDescription
pftPointer to a FILETIME 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 FILETIME structure.

Remarks

Creates a VT_DATE variant.

Reference

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