Share via


WBEMTime::operator= operators

[The WBEMTime class is part of the WMI Provider Framework which is now considered in final state, and no further development, enhancements, or updates will be available for non-security related issues affecting these libraries. The MI APIs should be used for all new development.]

The WBEMTime class assignment operators are overloaded to facilitate conversions between various Windows and ANSI C run-time time formats. The various overloaded signatures are listed below.

Overload list

Operator Description
operator=(BSTR)

Converts a BSTR to WBEMTime format.

operator=(time_t&)

Converts time_t to WBEMTime format.

operator=(FILETIME&)

Converts FILETIME to WBEMTime format.

operator=(struct tm&)

Converts a tm structure to WBEMTime format.

operator=(SYSTEMTIME&)

Converts SYSTEMTIME to WBEMTime format.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

WbemTime.h

DLL

FrameDynOS.dll; FrameDyn.dll