23#define FLG_DISABLE_DBGPRINT 0x8000000
24#define FLG_CRITSEC_EVENT_CREATION 0x10000000
25#define FLG_STOP_ON_UNHANDLED_EXCEPTION 0x20000000
26#define FLG_ENABLE_HANDLE_EXCEPTIONS 0x40000000
27#define FLG_DISABLE_PROTDLLS 0x80000000
73 if (!Dest || (
g_Flags[
n].wDest & Dest))
96 wprintf(
L"The following settings were ignored: %08x\n", Ignored);
154 Requested &= ~OptionsRemove;
167 wprintf(
L"MS: RegSetValueEx failed (%d)\n", Ret);
179 wprintf(
L"MS: RegDeleteValue failed (%d)\n", Ret);
215 else if (
argv[
i][0] ==
'+')
224 else if (
argv[
i][0] ==
'-')
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteValueW(HKEY hKey, LPCWSTR lpValueName)
BOOL OpenImageFileExecOptions(IN REGSAM SamDesired, IN OPTIONAL PCWSTR ImageName, OUT HKEY *Key)
DWORD ReadSZFlagsFromRegistry(HKEY SubKey, PWSTR Value)
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 GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
UINT NTAPI GlobalFlags(HGLOBAL hMem)
static DWORD ValidateFlags(DWORD GlobalFlags, WORD Dest)
BOOL ImageFile_ParseCmdline(INT i, int argc, LPWSTR argv[])
static void ShowStatus(DWORD GlobalFlags, DWORD Ignored)
static VOID DisplayStatus(VOID)
static DWORD FindFlag(PCWSTR Name, WORD Dest)
#define FLG_ENABLE_HANDLE_EXCEPTIONS
#define FLG_DISABLE_PROTDLLS
#define FLG_CRITSEC_EVENT_CREATION
static DWORD OptionsRemove
#define FLG_DISABLE_DBGPRINT
static VOID ModifyStatus(VOID)
static const FlagInfo g_Flags[]
#define FLG_STOP_ON_UNHANDLED_EXCEPTION
void PrintFlags(IN DWORD GlobalFlags, IN OPTIONAL WORD Dest)
_Check_return_ unsigned long __cdecl wcstoul(_In_z_ const wchar_t *_Str, _Out_opt_ _Deref_post_z_ wchar_t **_EndPtr, _In_ int _Radix)
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define FLG_HEAP_DISABLE_COALESCING
#define FLG_ENABLE_SYSTEM_CRIT_BREAKS
#define FLG_HEAP_ENABLE_TAGGING
#define FLG_KERNEL_STACK_TRACE_DB
#define FLG_USER_STACK_TRACE_DB
#define FLG_DISABLE_STACK_EXTENSION
#define FLG_DEBUG_INITIAL_COMMAND
#define FLG_DISABLE_PAGE_KERNEL_STACKS
#define FLG_STOP_ON_EXCEPTION
#define FLG_ENABLE_EXCEPTION_LOGGING
#define FLG_ENABLE_CLOSE_EXCEPTIONS
#define FLG_ENABLE_CSRDEBUG
#define FLG_SHOW_LDR_SNAPS
#define FLG_ENABLE_HANDLE_TYPE_TAGGING
#define FLG_DEBUG_INITIAL_COMMAND_EX
#define FLG_HEAP_PAGE_ALLOCS
#define FLG_POOL_ENABLE_TAGGING
#define FLG_HEAP_ENABLE_FREE_CHECK
#define FLG_MAINTAIN_OBJECT_TYPELIST
#define FLG_HEAP_VALIDATE_PARAMETERS
#define FLG_STOP_ON_HUNG_GUI
#define FLG_APPLICATION_VERIFIER
#define FLG_HEAP_ENABLE_TAIL_CHECK
#define FLG_HEAP_VALIDATE_ALL
#define FLG_ENABLE_KDEBUG_SYMBOL_LOAD
#define FLG_HEAP_ENABLE_TAG_BY_DLL
_Check_return_ _CRTIMP int __cdecl _wcsicmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
PULONG MinorVersion OPTIONAL