WBEMTime::GetSYSTEMTIME method (wbemtime.h)
[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 GetSYSTEMTIME method gets the time as an MFC SYSTEMTIME structure.
Syntax
BOOL GetSYSTEMTIME(
SYSTEMTIME *pst
);
Parameters
pst
Pointer to a MFC SYSTEMTIME structure. The SYSTEMTIME structure represents a date and time using individual members for the month, day, year, weekday, hour, minute, second, and millisecond.
Return value
The method returns TRUE if the time is valid.
The method returns FALSE if the time is INVALID_TIME. In this case, the value of pst is indeterminate.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wbemtime.h |
DLL | FrameDynOS.dll; FrameDyn.dll |