IFaxServerNotify::OnIncomingJobAdded method

Applies to: desktop apps only

The fax service calls the IFaxServerNotify::OnIncomingJobAdded method when an incoming fax job is added to the job queue.

Syntax

HRESULT OnIncomingJobAdded(
  IFaxServer *pFaxServer,
  BSTR bstrJobId
);

Parameters

  • pFaxServer
    Type: IFaxServer*

    A FaxServer object.

  • bstrJobId
    Type: BSTR

    Null-terminated string that contains the ID of the job added to the job queue.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

To implement this functionality in Visual Basic, select and implement the appropriate event procedure. For an example, see Registering for Fax Events.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

FaxComex.h

DLL

Fxscomex.dll

See also

IFaxServerNotify

 

 

Build date: 5/5/2012