IFaxServerNotify::OnServerActivityChange method
Applies to: desktop apps only
The fax service calls the IFaxServerNotify::OnServerActivityChange method when the fax service activity and status changes.
HRESULT OnServerActivityChange(
IFaxServer *pFaxServer,
long lIncomingMessages,
long lRoutingMessages,
long lOutgoingMessages,
long lQueuedMessages
);
pFaxServer
Type: IFaxServer*A FaxServer object.
lIncomingMessages
Type: longLong value that indicates the total number of incoming fax jobs that the fax service is currently receiving.
lRoutingMessages
Type: longLong value that indicates the total number of incoming fax jobs that the fax service is currently routing.
lOutgoingMessages
Type: longLong value that indicates the total number of incoming fax jobs that the fax service is currently sending.
lQueuedMessages
Type: longLong value that indicates the total number of fax jobs in the fax queue.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
To implement this functionality in Visual Basic, select and implement the appropriate event procedure. For an example, see Registering for Fax Events.
Minimum supported client |
Windows XP |
Minimum supported server |
Windows Server 2003 |
Header |
FaxComex.h |
DLL |
Fxscomex.dll |
Build date: 5/5/2012