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

#ifndef NM_SEH_H
#define NM_SEH_H
// CallWithSEH is a utility function to call a function with structured exception handling
typedef DWORD (CALLBACK *INEXCEPTION)(LPEXCEPTION_RECORD per, PCONTEXT pctx);
typedef DWORD (CALLBACK *EXCEPTPROC)(void* pv);
#ifdef __cplusplus
extern "C" {
#endif
DWORD WINAPI CallWithSEH(EXCEPTPROC pfn, void* pv, INEXCEPTION InException);
#ifdef __cplusplus
}
#endif
#endif