_IFaxAccountNotify::OnIncomingMessageAdded method (faxcomex.h)

Called by the fax service when an incoming message is added to the inbound fax archive.

Syntax

HRESULT OnIncomingMessageAdded(
  [in] IFaxAccount  *pFaxAccount,
  [in] BSTR         bstrMessageId,
  [in] VARIANT_BOOL fAddedToReceiveFolder
);

Parameters

[in] pFaxAccount

Type: IFaxAccount*

An IFaxAccount object.

[in] bstrMessageId

Type: BSTR

A null-terminated string that contains the ID of the message added to the inbound fax archive.

[in] fAddedToReceiveFolder

Type: VARIANT_BOOL

A value that indicates whether the message was successfully added to the received folder.

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