windows-nt/Source/XPSP1/NT/enduser/netmeeting/h/sehcall.h
2020-09-26 16:20:57 +08:00

24 lines
412 B
C

#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