Platform SDK: Fax Services |
The IFaxStatus::get_ElapsedTime method retrieves the ElapsedTime property for the FaxStatus object of a parent FaxPort object. The ElapsedTime property is a number that represents the elapsed time for an active fax job.
HRESULT get_ElapsedTime( DATE *pVal // receives elapsed time for transmission );
For more information about the DATE data type, see the Microsoft Visual C++ Programmer's Guide.
Returns an HRESULT value indicating success or failure. If the method succeeds, it returns S_OK. Otherwise, it returns a COM-defined error code.
You should not check directly for success or failure. Use the COM SUCCEEDED and FAILED macros instead.
You can use the ElapsedTime property of a FaxStatus object in conjunction with the StartTime property of the object to inform users about the transmission length of a fax job.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in faxcom.h.
Import Library: Included as a resource in faxcom.dll.
Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxStatus, IFaxStatus::get_StartTime, IFaxPorts, IFaxPort