Leaked source code of windows server 2003
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.
 
 
 
 
 
 

54 lines
1.1 KiB

/*++
Copyright (c) 1997-1999 Microsoft Corporation
Module Name:
WmiData.c
Abstract:
Define storage for Guids and common global structures
Author:
JeePang
Environment:
Kernel mode
Revision History:
--*/
#undef DECLSPEC_SELECTANY
#define DECLSPEC_SELECTANY
#pragma warning(disable:4214) // bit field types other than int
#pragma warning(disable:4201) // nameless struct/union
#pragma warning(disable:4324) // alignment sensitive to declspec
#pragma warning(disable:4127) // condition expression is constant
#pragma warning(disable:4115) // named type definition in parentheses
#include <initguid.h>
#include <ntos.h>
//
// Time out constents
//
const LARGE_INTEGER WmiOneSecond = {(ULONG)(-1 * 1000 * 1000 * 10), -1};
const LARGE_INTEGER WmiShortTime = {(ULONG)(-10 * 1000 * 10), -1}; // 10 milliseconds
#ifdef ALLOC_DATA_PRAGMA
#pragma const_seg("PAGECONST")
#endif
#include <wmistr.h>
#include <wmiguid.h>
#define _WMIKM_
#include <evntrace.h>
#ifdef ALLOC_DATA_PRAGMA
#pragma const_seg()
#endif