diff options
| author | tristanb-ntdev <[email protected]> | 2025-10-09 09:06:26 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-10-09 09:06:26 -0700 |
| commit | 6798add7d559e2f0949350a042b3023214852e15 (patch) | |
| tree | 4c3b615ba0e4d1015de70124599c2d029d59455f | |
| parent | 249c2587127bc2776252cd41dce24d6266d5c572 (diff) | |
| parent | 239566869e3b25bc381f4f188575da32773abcfd (diff) | |
Merge pull request #1209 from forderud/batclass_prepublish.h-rm
[simbatt] Delete redundant "batclass_prepublish.h" to simplify
| -rw-r--r-- | simbatt/func/batclass_prepublish.h | 51 | ||||
| -rw-r--r-- | simbatt/func/wdf.c | 2 |
2 files changed, 1 insertions, 52 deletions
diff --git a/simbatt/func/batclass_prepublish.h b/simbatt/func/batclass_prepublish.h deleted file mode 100644 index a952222b..00000000 --- a/simbatt/func/batclass_prepublish.h +++ /dev/null @@ -1,51 +0,0 @@ -/*++ - -Copyright (c) Microsoft Corporation. All rights reserved. - -Module Name: - - batclass_prepublish.h - -Abstract: - - This module defines pre-publish definations to be made available in DDK/SDK. - - N.B. This file must not be included when batclass.h defines - BATTERY_MINIPORT_INFO_V1_1 type and BATTERY_CLASS_MINOR_VERSION_1. - - N.B. This code is provided "AS IS" without any expressed or implied warranty. - ---*/ - -//---------------------------------------------------------------------- Pragmas - -#pragma once - -//--------------------------------------------------------------------- Includes - -#include <batclass.h> - -//-------------------------------------------------- Would be Public Definitions - -#ifndef BATTERY_CLASS_MINOR_VERSION_1 - -typedef struct { - USHORT MajorVersion; - USHORT MinorVersion; - - PVOID Context; // Miniport context - - BCLASS_QUERY_TAG QueryTag; - BCLASS_QUERY_INFORMATION QueryInformation; - BCLASS_SET_INFORMATION SetInformation; - BCLASS_QUERY_STATUS QueryStatus; - BCLASS_SET_STATUS_NOTIFY SetStatusNotify; - BCLASS_DISABLE_STATUS_NOTIFY DisableStatusNotify; - PDEVICE_OBJECT Pdo; - PUNICODE_STRING DeviceName; - PDEVICE_OBJECT Fdo; -} BATTERY_MINIPORT_INFO_V1_1, *PBATTERY_MINIPORT_INFO_V1_1; - -#define BATTERY_CLASS_MINOR_VERSION_1 0x0001 - -#endif // BATTERY_CLASS_MINOR_VERSION_1 diff --git a/simbatt/func/wdf.c b/simbatt/func/wdf.c index de9aee30..3b9e87ad 100644 --- a/simbatt/func/wdf.c +++ b/simbatt/func/wdf.c @@ -19,7 +19,7 @@ Abstract: #include "simbatt.h" #include "simbattdriverif.h" -#include "batclass_prepublish.h" +#include <batclass.h> //------------------------------------------------------------------- Prototypes |
