Use the pUserData pointer to store instance data that you want to access in the callback function in pNotifyFn.
void * pUserData;
dtsErrorInfo Structure