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.
56 lines
970 B
56 lines
970 B
/*++
|
|
|
|
Copyright (c) 1999 Microsoft Corporation
|
|
|
|
|
|
Module Name:
|
|
|
|
globals.c
|
|
|
|
Abstract:
|
|
|
|
Holds global variable declarations.
|
|
|
|
Author:
|
|
|
|
abhisheV 21-September-1999
|
|
|
|
Environment:
|
|
|
|
User Level: Win32
|
|
|
|
Revision History:
|
|
|
|
|
|
--*/
|
|
|
|
|
|
#include "precomp.h"
|
|
|
|
|
|
HANDLE ghInstance = NULL;
|
|
|
|
/*
|
|
Security=[Impersonation | Identification | Anonymous] [Dynamic | Static] [True | False]
|
|
(where True | False corresponds to EffectiveOnly)
|
|
*/
|
|
|
|
LPWSTR gpszStrBindingOptions = L"Security=Impersonation Dynamic False";
|
|
|
|
|
|
const ULONG guFatalExceptions[] =
|
|
{
|
|
STATUS_ACCESS_VIOLATION,
|
|
STATUS_POSSIBLE_DEADLOCK,
|
|
STATUS_INSTRUCTION_MISALIGNMENT,
|
|
STATUS_DATATYPE_MISALIGNMENT,
|
|
STATUS_PRIVILEGED_INSTRUCTION,
|
|
STATUS_ILLEGAL_INSTRUCTION,
|
|
STATUS_BREAKPOINT,
|
|
STATUS_STACK_OVERFLOW
|
|
};
|
|
|
|
|
|
const int FATAL_EXCEPTIONS_ARRAY_SIZE =
|
|
sizeof(guFatalExceptions) / sizeof(guFatalExceptions[0]);
|
|
|