FaxServer.GetJobs method

The GetJobs method creates and initializes a FaxJobs object for a specified FaxServer object. The FaxJobs object allows enumeration of the current queued jobs for the connected fax server.

Syntax

FaxServer.GetJobs( _
  ByRef retVal As Variant _
) As Long

Parameters

retVal [out]

Type: Variant*

Pointer to a VARIANT structure that receives an IDispatch interface pointer to a FaxJobs object. The method returns a pdispVal member with a VT_DISPATCH data type.

Remarks

The GetJobs method retrieves an IDispatch interface pointer to a FaxJobs object. A fax client application can also access the IFaxJobs interface directly by calling the IUnknown::QueryInterface method to retrieve an interface pointer.

A fax client application should not call the CoCreateInstance function to retrieve an IFaxJobs interface pointer because it will not be instantiated correctly.

Requirements

Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Faxcom.h
DLL
Faxcom.dll

See also

FaxServer

Fax Service Client API for Windows 2000

Fax Service Client API Interfaces

FaxServer

IFaxJob

IFaxJobs

IUnknown::QueryInterface