WBEMTimeSpan::IsOk method (wbemtime.h)

[The WBEMTimeSpan 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 IsOk method indicates whether the WBEMTimeSpan object represents a valid time span.


bool IsOk();

Return value

The method returns TRUE if the time span is valid and FALSE if the time span is not valid.


Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wbemtime.h
DLL FrameDynOS.dll; FrameDyn.dll