ReactOS 0.4.16-dev-91-g764881a
|
Go to the source code of this file.
Classes | |
struct | _COMPBATT_BATTERY_DATA |
struct | _COMPBATT_DEVICE_EXTENSION |
Macros | |
#define | COMPBATT_BATTERY_INFORMATION_PRESENT 0x04 |
#define | COMPBATT_TAG_ASSIGNED 0x80 |
Typedefs | |
typedef struct _COMPBATT_BATTERY_DATA | COMPBATT_BATTERY_DATA |
typedef struct _COMPBATT_BATTERY_DATA * | PCOMPBATT_BATTERY_DATA |
typedef struct _COMPBATT_DEVICE_EXTENSION | COMPBATT_DEVICE_EXTENSION |
typedef struct _COMPBATT_DEVICE_EXTENSION * | PCOMPBATT_DEVICE_EXTENSION |
Variables | |
ULONG | CompBattDebug |
#define COMPBATT_BATTERY_INFORMATION_PRESENT 0x04 |
Definition at line 15 of file compbatt.h.
#define COMPBATT_TAG_ASSIGNED 0x80 |
Definition at line 16 of file compbatt.h.
NTSTATUS NTAPI BatteryIoctl | ( | IN ULONG | IoControlCode, |
IN PDEVICE_OBJECT | DeviceObject, | ||
IN PVOID | InputBuffer, | ||
IN ULONG | InputBufferLength, | ||
IN PVOID | OutputBuffer, | ||
IN ULONG | OutputBufferLength, | ||
IN BOOLEAN | InternalDeviceIoControl | ||
) |
Definition at line 17 of file compmisc.c.
Referenced by CompBattGetBatteryGranularity(), and CompBattGetBatteryInformation().
NTSTATUS NTAPI CompBattAddDevice | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PDEVICE_OBJECT | PdoDeviceObject | ||
) |
Definition at line 320 of file comppnp.c.
Referenced by DriverEntry().
NTSTATUS NTAPI CompBattDisableStatusNotify | ( | IN PCOMPBATT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 184 of file compbatt.c.
Referenced by CompBattAddDevice().
NTSTATUS NTAPI CompBattGetDeviceObjectPointer | ( | IN PUNICODE_STRING | DeviceName, |
IN ACCESS_MASK | DesiredAccess, | ||
OUT PFILE_OBJECT * | FileObject, | ||
OUT PDEVICE_OBJECT * | DeviceObject | ||
) |
Definition at line 74 of file compmisc.c.
Referenced by CompBattAddNewBattery().
NTSTATUS NTAPI CompBattMonitorIrpComplete | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PKEVENT | Event | ||
) |
Definition at line 70 of file compbatt.c.
Referenced by CompBattAddNewBattery().
NTSTATUS NTAPI CompBattMonitorIrpCompleteWorker | ( | IN PCOMPBATT_BATTERY_DATA | BatteryData | ) |
Definition at line 80 of file compbatt.c.
Referenced by CompBattAddNewBattery().
Definition at line 403 of file comppnp.c.
Referenced by DriverEntry().
Definition at line 19 of file comppnp.c.
Referenced by DriverEntry().
NTSTATUS NTAPI CompBattQueryInformation | ( | IN PCOMPBATT_DEVICE_EXTENSION | FdoExtension, |
IN ULONG | Tag, | ||
IN BATTERY_QUERY_INFORMATION_LEVEL | InfoLevel, | ||
IN OPTIONAL LONG | AtRate, | ||
IN PVOID | Buffer, | ||
IN ULONG | BufferLength, | ||
OUT PULONG | ReturnedLength | ||
) |
Definition at line 482 of file compbatt.c.
Referenced by CompBattAddDevice().
NTSTATUS NTAPI CompBattQueryStatus | ( | IN PCOMPBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | Tag, | ||
IN PBATTERY_STATUS | BatteryStatus | ||
) |
Definition at line 221 of file compbatt.c.
Referenced by CompBattAddDevice().
Definition at line 149 of file compbatt.c.
Referenced by CompBattAddDevice().
NTSTATUS NTAPI CompBattSetStatusNotify | ( | IN PCOMPBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | BatteryTag, | ||
IN PBATTERY_NOTIFY | BatteryNotify | ||
) |
Definition at line 211 of file compbatt.c.
Referenced by CompBattAddDevice().
|
extern |
Definition at line 17 of file compbatt.c.
Referenced by BatteryIoctl(), CompBattAddDevice(), CompBattAddNewBattery(), CompBattDisableStatusNotify(), CompBattGetBatteries(), CompBattGetBatteryGranularity(), CompBattGetBatteryInformation(), CompBattIoctl(), CompBattOpenClose(), CompBattPnpDispatch(), CompBattPnpEventHandler(), CompBattPowerDispatch(), CompBattQueryInformation(), CompBattQueryTag(), CompBattRecalculateTag(), CompBattRemoveBattery(), CompBattSystemControl(), IsBatteryAlreadyOnList(), and RemoveBatteryFromList().