Return to previous page Return to menu Go to next page

 Title 
Function specifications
 Data 
Get error information
 Data Name
CPK_GetErr
No
8.1

  Format  CpkErrCode CPK_GetErr (void)
 Input  None
 Output  None
 Function value  Error code
 Function  Returns the error code that occurred most recently. 
 Title 
Function specifications
 Data 
Error function registration
 Data Name
CPK_SetErrFunc
No
8.2

  Format  void CPK_SetErrFunc (CpkErrFunc func, void * obj)
 Input  func: Function to call when an error occurs
  obj: Registered object
 Output  None
 Function value  None
 Function  Set the function to be called when an error occurs. If the registration object is a registration function
  Passed to the first argument. 


Return to previous page Return to menu Go to next page