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.
|
|
/*++
Copyright (c) 1990 Microsoft Corporation
Module Name:
proj.h
Abstract:
Battery Class Installer header
Author:
Scott Brenden
Environment:
Notes:
Revision History:
--*/
#include <nt.h>
#include <ntrtl.h>
#include <nturtl.h>
#include <windows.h>
#include <ntpoapi.h>
#include <setupapi.h> // PnP setup/installer services
#include <cfgmgr32.h>
#include "powrprof.h"
//
// Debug stuff
//
#if DBG > 0 && !defined(DEBUG)
#define DEBUG
#endif
#if DBG > 0 && !defined(FULL_DEBUG)
#define FULL_DEBUG
#endif
//
// Trace flags
//
#define TF_WARNING 0x00000001
#define TF_ERROR 0x00000002
#define TF_GENERAL 0x00000004 // Standard messages
#define TF_FUNC 0x00000008 // Trace function calls
//
// Calling declarations
//
#define PUBLIC FAR PASCAL
#define CPUBLIC FAR CDECL
#define PRIVATE NEAR PASCAL
#ifdef DEBUG
extern DWORD BattDebugPrintLevel; #define TRACE_MSG(_FLAG,_RESTOFVARARG) if (BattDebugPrintLevel & _FLAG) DbgPrint _RESTOFVARARG
#else // !defined(DEBUG)
#define TRACE_MSG
#endif
//
// Prototypes
//
DWORD PRIVATE InstallCompositeBattery ( IN HDEVINFO DevInfoHandle, IN PSP_DEVINFO_DATA DevInfoData, OPTIONAL IN OUT PSP_DEVINSTALL_PARAMS DevInstallParams );
|