Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
435 B

  1. #ifndef NM_SEH_H
  2. #define NM_SEH_H
  3. // CallWithSEH is a utility function to call a function with structured exception handling
  4. typedef DWORD (CALLBACK *INEXCEPTION)(LPEXCEPTION_RECORD per, PCONTEXT pctx);
  5. typedef DWORD (CALLBACK *EXCEPTPROC)(void* pv);
  6. #ifdef __cplusplus
  7. extern "C" {
  8. #endif
  9. DWORD WINAPI CallWithSEH(EXCEPTPROC pfn, void* pv, INEXCEPTION InException);
  10. #ifdef __cplusplus
  11. }
  12. #endif
  13. #endif