HistHookEvent
- Last UpdatedJun 06, 2017
- 1 minute read
Description:
The HistHookEvent function is called whenever non-alarm events are raised at the time of recipe execution. When the function is called, it creates an entry in the Event table of the BatchHistory database.
Syntax
char* HistHookEvent(char* szBatchServerName, H_CLB* pCLB, H_Event* pEvent)
Parameters:
-
szBatchServerName
-
Type: char*
-
Description: Contains the name of the batch server configured in system parameters
-
-
pCLB
-
Type: H_CLB*
-
Description: Points to the structure that contains the information of campaign, lot, and batch
-
-
pEvent
-
Type: H_Event*
-
Description: Points to the structure of H_Event that refers to the Events table of the BatchHistory database
-
Return Type: char*
This function returns an insert query for the Event table of the BatchHistory database. The returned string must remain allocated (that is, it must return a static buffer).