| Parameter |
Type |
Description |
| pcsCriteria |
EWDB_CriteriaStruct * |
The criteria struct for specifying criteria types and values for the query to retrieve messages. pcsCriteria->Criteria, contains the flags which indicate which criteria to use in searching for messages. NOTE: The Depth criteria is not supported by this function! See EWDB_CriteriaStruct for more detail on criteria. |
| szSta |
char * |
The Station name criteria for retrieving messages. This param is only used for criteria if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_SCNL flag. '*' may be used as a wildcard. This param must always be a valid pointer, the function may fail if it is set to NULL. |
| szComp |
char * |
The Component name criteria for retrieving messages. This param is only used for criteria if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_SCNL flag. '*' may be used as a wildcard. This param must always be a valid pointer, the function may fail if it is set to NULL. |
| szNet |
char * |
The Network name criteria for retrieving messages. This param is only used for criteria if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_SCNL flag. '*' may be used as a wildcard. This param must always be a valid pointer, the function may fail if it is set to NULL. |
| szLoc |
char * |
The Location name criteria for retrieving messages. This param is only used for criteria if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_SCNL flag. '*' may be used as a wildcard. This param must always be a valid pointer, the function may fail if it is set to NULL. |
| idEvent |
EWDBid |
The Event criteria for retrieving messages. This param is only used for criteria if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_IDEVENT flag. This param must be set to a valid(existing) idEvent, if pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_IDEVENT flag, or the function will fail. |
| iEventAssocFlag |
int |
A flag indicating how the function should retrieve strong motion messages with respect to event association. If pcsCriteria->Criteria includes the EWDB_CRITERIA_USE_IDEVENT flag, then this parameter is ignored; otherwise, if this parameter is set to EWDB_SM_SEARCH_FOR_ALL_SMMESSAGES, then all messages meeting the criteria will be retrieved, otherwise if this param is set to EWDB_SM_SEARCH_FOR_ALL_UNASSOCIATED_MESSAGES, then only messages (meeting the criteria) that are NOT associated with an event, will be retrieved. |
| pSMI |
SM_INFO * |
A buffer allocated by the caller, where the function will place the retrieved messages. |
| BufferRecLen |
int |
The length of the buffer(pBuffer) in terms of SM_INFO records. |
| pNumRecordsFound |
int * |
A pointer to an int where the function will write the number of messages found to meet the given criteria. NOTE: The number found is not the number retrieved and written to the caller's buffer. That is NumRecordsRetrieved. If the number of messages found is greater than the caller's buffer will hold, then the function will return a warning. |
| pNumRecordsRetrieved |
int * |
A pointer to an int where the function will write the number of messages actualy retrieved by the function. This number will be less than or equal to the number found. |