_IFaxAccountNotify::OnIncomingJobAdded method (faxcomex.h)

Called by the fax service when an incoming fax job is added to the job queue for a particular fax account.

Syntax

HRESULT OnIncomingJobAdded(
  [in] IFaxAccount *pFaxAccount,
  [in] BSTR        bstrJobId
);

Parameters

[in] pFaxAccount

Type: IFaxAccount*

An IFaxAccount object.

[in] bstrJobId

Type: BSTR

A 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.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header faxcomex.h
DLL Fxscomex.dll

See also

IFaxAccountNotify