_IFaxServerNotify2::OnServerActivityChange method (faxcomex.h)
The fax service calls the IFaxServerNotify2::OnServerActivityChange method when the fax service activity and status changes.
Syntax
HRESULT OnServerActivityChange(
IFaxServer2 *pFaxServer,
long lIncomingMessages,
long lRoutingMessages,
long lOutgoingMessages,
long lQueuedMessages
);
Parameters
pFaxServer
Type: IFaxServer2*
A IFaxServer2 object.
lIncomingMessages
Type: long
Long value that indicates the total number of incoming fax jobs that the fax service is currently receiving.
lRoutingMessages
Type: long
Long value that indicates the total number of incoming fax jobs that the fax service is currently routing.
lOutgoingMessages
Type: long
Long value that indicates the total number of incoming fax jobs that the fax service is currently sending.
lQueuedMessages
Type: long
Long value that indicates the total number of fax jobs in the fax 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
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 |