IFaxAccount::ListenToAccountEvents method (faxcomex.h)

Sets the flags of a FAX_ACCOUNT_EVENTS_TYPE_ENUM variable that represents the events for which the account is listening.

Syntax

HRESULT ListenToAccountEvents(
  [in] FAX_ACCOUNT_EVENTS_TYPE_ENUM EventTypes
);

Parameters

[in] EventTypes

Type: FAX_ACCOUNT_EVENTS_TYPE_ENUM

A variable that specifies the types of events for which the account is listening.

Return value

Type: HRESULT

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

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

FaxAccount

IFaxAccount