ERROR_CALLBACK

The ERROR_CALLBACK structure contains information about a function that is invoked on error callback.

Quick Info

Header file: DAPI.H

typedef struct
{
  DWORD                  dwFlags;
  LPVOID                 lpvAppDefined;
  PDAPI_FNErrorCallback  pfnErrorCallback;
}  ERROR_CALLBACK, * PERROR_CALLBACK;

Members

dwFlags
Defined values that control the callback operations. Use the bitwise OR operator (|) to enable multiple operations:
DAPI_CALLBACK_CHAIN
Calls the default error handler after calling the caller-supplied error handler, unless the caller-supplied error handler returns FALSE, indicating cancel the operation.
lpvAppDefined
Application-defined field, which is passed back in the callback.
pfnErrorCallback
Points to a function that is called when an error is encountered. Set this member to NULL to call the default error handler. The default error handler posts the error to the Windows NT Application Event Log. For additional information, see the DAPI_FNErrorCallback function prototype.

See Also

BEXPORT_PARMS, BIMPORT_PARMS, NTEXPORT_PARMS, NWEXPORT_PARMS