Platform SDK: Fax Services

IFaxStatus::get_SubmittedTime

The IFaxStatus::get_SubmittedTime method retrieves the SubmittedTime property for the FaxStatus object of a parent FaxPort object. The SubmittedTime property is a number that represents the time the user submitted the active fax job.

Visual Basic Reference

HRESULT get_SubmittedTime(
  DATE *pVal  // receives submission time for fax job
);

Parameters

pVal
[out] Pointer to an 8-byte floating-point number that contains the time, expressed in Coordinated Universal Time (UTC), when the user submitted an outbound fax job on the specified port. Note that the SubmittedTime property is valid only if the Send property is equal to TRUE.

For more information about the DATE data type, see the Microsoft Visual C++ Programmer's Guide.

Return Values

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.

Remarks

You can use the SubmittedTime property of a FaxStatus object in conjunction with the StartTime property of the object to provide users with information about a fax job.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Unsupported.
  Header: Declared in faxcom.h.
  Import Library: Included as a resource in faxcom.dll.

See Also

Fax Service Client Application Programming Interface Overview, Fax Service Client API Interfaces, IFaxStatus, IFaxStatus::get_Send, IFaxStatus::get_StartTime, IFaxPorts, IFaxPort