STATISTICS_STRUCT Structure

The STATISTICS_STRUCT structure contains the Connect:Direct® statistics information for a Process. This structure is sent to the client as a result of a SELECT STATISTICS command.

Structure

 struct Statistic_Struct 
 { 
	TCHAR ProcessName[MAX_PROCESS_NAME+1]; 
	DWORD ProcessNumber; 
	int ConditionCode; 
	int Feedback; 
	TCHAR MsgId[MAX_MESSAGE_ID+1]; 
	TCHAR MsgText[MAX_MESSAGE_TEXT+1]; 
	TCHAR MsgData[MAX_MESSAGE_DATA+1]; 
	time_t LogDateTime; 
	time_t StartDateTime; 
	time_t StopDateTime; 
	TCHAR Submitter[65]; 
	TCHAR SNode[17]; 
	TCHAR RecCat[5]; 
	TCHAR RecId[5]; 
 }; 
	typedef struct Statistic_Struct STATISTIC_STRUCT;

Members

Member Description
ProcessName [MAX_PROCESS_NAME+1] The Process name.
ProcessNumber The Process number.
ConditionCode The return code.
Feedback Additional return code information.
MsgId [MAX_MESSAGE_ID+1] The message identifier field.
MsgText [MAX_MESSAGE_TEXT+1] The message text field.
MsgData [MAX_MESSAGE_DATA+1] Message substitution data.
LogDateTime The logged time stamp.
StartDateTime The start time stamp.
StopDateTime The stop time stamp.
Submitter [65] The submitter's user ID.
SNode [17] The secondary node name.
RecCat [5] The record category.
RecId [5] The record identifier tag.