ARGetAlertCount
Description
Retrieves the count of qualifying alert events located from the specified server.
Privileges
All users.
Synopsis
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"
int ARGetAlertCount(
ARControlStruct *control,
ARQualifierStruct *qualifier,
unsigned int *count,
ARStatusList *status)
Input arguments
control
The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user and server fields are required.
qualifier
The qualifying criteria for the alert events that this function counts. Specify NULL or assign an operation value of 0 (AR_COND_OP_NONE) to count all alert events.
Return values
count
The number of alert events that meet the criteria that the qualifier argument specifies.
status
A list of zero or more notes, warnings, or errors generated from a call to this function. For a description of all possible values, see Error-checking.
See also
ARRegisterForAlerts, ARCreateAlertEvent. See FreeAR for: FreeARStatusList.