The FAX_SERVER_ACTIVITY structure defines information about the server's fax queue activity and the events reported by the fax server. This structure is used as an argument for FAX_GetServerActivity (section 3.1.4.1.61).

 typedef struct {
   DWORD dwSizeOfStruct;
   DWORD dwIncomingMessages;
   DWORD dwRoutingMessages;
   DWORD dwOutgoingMessages;
   DWORD dwDelegatedOutgoingMessages;
   DWORD dwQueuedMessages;
   DWORD dwErrorEvents;
   DWORD dwWarningEvents;
   DWORD dwInformationEvents;
 } FAX_SERVER_ACTIVITY,
  *PFAX_SERVER_ACTIVITY;

dwSizeOfStruct: A DWORD ([MS-DTYP] section 2.2.9) value that holds the total size of the structure, in bytes. This value MUST be 36 bytes.

dwIncomingMessages: A DWORD that indicates the number of messages currently being received by the fax server. This variable MAY also be set to the count of the number of incoming messages that were successfully received and are currently being routed using an inbound routing method. If the routing fails, the incoming job SHOULD be marked for a routing retry and the dwRoutingMessages member used to count this job when the routing restarts. If this value is nonzero, stopping the server MAY result in the loss of incoming messages.

dwRoutingMessages: A DWORD that indicates the number of incoming messages being rerouted after a routing failure.

dwOutgoingMessages: A DWORD that indicates the number of messages currently being sent by the fax server. If this value is nonzero, stopping the server MAY result in the loss of outgoing messages.

dwDelegatedOutgoingMessages: A DWORD that indicates the number of messages currently being sent by a Fax Service Provider on behalf of the fax server. The fax server is not currently sending these messages.

dwQueuedMessages: A DWORD that indicates the number of outgoing messages waiting to be processed in the server's fax queue.

dwErrorEvents: A DWORD that indicates the number of error entries added to the system event log since the last time the fax server was started.

dwWarningEvents: A DWORD that indicates the number of warning entries added to the system event log since the last time the fax server was started.

dwInformationEvents: A DWORD that indicates the number of information entries added to the system event log since the last time the fax server was started.