![]() |
![]() |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| DelevopersNative C++ Texas APIpointer to Callback Routine |
typedef void (*pCallbackRoutine)( void* objectID, int returnType, char *results, int results_l );
| objectID | This object reference value. |
| returnType | METHOD_ERROR = 1, METHOD_SUCCESS = 2, FIRST_LAST = 3, FIRST_ONLY = 4, PROGRESS = 5, LAST_ONLY = 6 |
| results | Pointer to the buffer with the results. |
| results_l | The length of the results buffer. |
void CBDummyCommand(void* objectID, int returnType, char *results, int results_l){
if(returnType == 1)
MessageBox(NULL,results + 4,"Server Error",MB_ICONERROR|MB_SYSTEMMODAL);
}
Copyright © 2007, Ekky Software Pty Ltd.