#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winreg.h"
#include "errorrep.h"
#include "wine/test.h"
Go to the source code of this file.
◆ is_process_limited()
Definition at line 37 of file faultrep.c.
38{
42
46
48}
BOOL WINAPI GetTokenInformation(HANDLE TokenHandle, TOKEN_INFORMATION_CLASS TokenInformationClass, LPVOID TokenInformation, DWORD TokenInformationLength, PDWORD ReturnLength)
BOOL WINAPI OpenProcessToken(HANDLE ProcessHandle, DWORD DesiredAccess, PHANDLE TokenHandle)
#define GetCurrentProcess()
GLuint GLuint GLsizei GLenum type
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat token
enum _TOKEN_ELEVATION_TYPE TOKEN_ELEVATION_TYPE
@ TokenElevationTypeLimited
@ TokenElevationTypeDefault
Referenced by test_AddERExcludedApplicationA().
◆ is_registry_virtualization_enabled()
| static BOOL is_registry_virtualization_enabled |
( |
void |
| ) |
|
|
static |
◆ START_TEST()
Definition at line 119 of file faultrep.c.
120{
122}
static void test_AddERExcludedApplicationA(void)
◆ test_AddERExcludedApplicationA()
| static void test_AddERExcludedApplicationA |
( |
void |
| ) |
|
|
static |
Definition at line 66 of file faultrep.c.
67{
72
73
75
76 if (!lres)
78
79 if (!lres)
81
82
86
90
92
95 {
96
98 "AddERExcludedApplicationA should have failed, got %d\n",
res);
99 }
100 else
101 {
103
104
108 }
109
110
112
115}
#define RegCloseKey(hKey)
LONG WINAPI RegCreateKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegOpenKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegDeleteValueA(HKEY hKey, LPCSTR lpValueName)
BOOL WINAPI AddERExcludedApplicationA(LPCSTR lpAppFileName)
static const char regpath_root[]
static BOOL is_registry_virtualization_enabled(void)
static BOOL is_process_limited(void)
static const char regpath_exclude[]
DWORD WINAPI GetLastError(void)
#define HKEY_LOCAL_MACHINE
Referenced by START_TEST().
◆ regpath_exclude
| const char regpath_exclude[] = "ExclusionList" |
|
static |
◆ regpath_root
| const char regpath_root[] = "Software\\Microsoft\\PCHealth\\ErrorReporting" |
|
static |