Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

46 lines
1.3 KiB

/******************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
errorrep.h
Abstract:
contains functions used to report errors to Microsoft
******************************************************************************/
#ifndef __ERRORREP_H__
#define __ERRORREP_H__
typedef enum tagEFaultRepRetVal
{
frrvOk = 0,
frrvOkManifest,
frrvOkQueued,
frrvErr,
frrvErrNoDW,
frrvErrTimeout,
frrvLaunchDebugger,
frrvOkHeadless
} EFaultRepRetVal;
EFaultRepRetVal APIENTRY ReportFault(LPEXCEPTION_POINTERS pep, DWORD dwOpt);
BOOL APIENTRY AddERExcludedApplicationA(LPCSTR szApplication);
BOOL APIENTRY AddERExcludedApplicationW(LPCWSTR wszApplication);
typedef EFaultRepRetVal (APIENTRY *pfn_REPORTFAULT)(LPEXCEPTION_POINTERS, DWORD);
typedef EFaultRepRetVal (APIENTRY *pfn_ADDEREXCLUDEDAPPLICATIONA)(LPCSTR);
typedef EFaultRepRetVal (APIENTRY *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
#ifdef UNICODE
#define AddERExcludedApplication AddERExcludedApplicationA
#define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONA
#else
#define AddERExcludedApplication AddERExcludedApplicationW
#define pfn_ADDEREXCLUDEDAPPLICATION pfn_ADDEREXCLUDEDAPPLICATIONW
#endif
#endif