ReactOS 0.4.16-dev-555-g690643f
|
Go to the source code of this file.
NTSTATUS NTAPI CmBattDisableStatusNotify | ( | IN PCMBATT_DEVICE_EXTENSION | DeviceExtension | ) |
Definition at line 884 of file cmbatt.c.
Referenced by CmBattAddBattery().
Definition at line 1083 of file cmbatt.c.
Referenced by CmBattQueryInformation(), and CmBattQueryStatus().
|
static |
Retrieves the static information of the battery.
[in] | DeviceExtension | A pointer to a Control Method (CM) battery device extension. It is used for debugging purposes. |
[out] | UseBix | A pointer to a boolean value, returned to caller. This can return TRUE if this machine supports the _BIX method, FALSE otherwise. |
[out] | BattInfo | A pointer to a structure that contains the static info of the battery. ONLY ONE type of information is filled. See Remarks. |
Definition at line 307 of file cmbatt.c.
Referenced by CmBattVerifyStaticInfo().
Definition at line 616 of file cmbatt.c.
Referenced by DriverEntry().
VOID NTAPI CmBattNotifyHandler | ( | IN PCMBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | NotifyValue | ||
) |
Definition at line 142 of file cmbatt.c.
Referenced by CmBattAddAcAdapter(), CmBattAddBattery(), CmBattGetBatteryStatus(), CmBattRemoveDevice(), and CmBattSetStatusNotify().
Definition at line 553 of file cmbatt.c.
Referenced by DriverEntry().
VOID NTAPI CmBattPowerCallBack | ( | IN PCMBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | Action, | ||
IN ULONG | Value | ||
) |
Definition at line 30 of file cmbatt.c.
Referenced by DriverEntry().
NTSTATUS NTAPI CmBattQueryInformation | ( | IN PCMBATT_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 1317 of file cmbatt.c.
Referenced by CmBattAddBattery().
NTSTATUS NTAPI CmBattQueryStatus | ( | IN PCMBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | Tag, | ||
IN PBATTERY_STATUS | BatteryStatus | ||
) |
Definition at line 1573 of file cmbatt.c.
Referenced by CmBattAddBattery().
Definition at line 826 of file cmbatt.c.
Referenced by CmBattAddBattery().
NTSTATUS NTAPI CmBattSetStatusNotify | ( | IN PCMBATT_DEVICE_EXTENSION | DeviceExtension, |
IN ULONG | BatteryTag, | ||
IN PBATTERY_NOTIFY | BatteryNotify | ||
) |
Definition at line 925 of file cmbatt.c.
Referenced by CmBattAddBattery().
VOID NTAPI CmBattUnload | ( | IN PDRIVER_OBJECT | DriverObject | ) |
Definition at line 254 of file cmbatt.c.
Referenced by DriverEntry().
|
static |
Verifies the battery information (_BIF) and translates such data to the BATTERY_INFORMATION structure.
[in] | DeviceExtension | A pointer to a Control Method (CM) battery device extension. It is used to gather _BIF data. |
[in,out] | Info | A pointer to a structure of which this function fills in battery information that can be by other battery miniport drivers, such as the Composite Battery driver. |
Definition at line 451 of file cmbatt.c.
Referenced by CmBattVerifyStaticInfo().
|
static |
Verifies the extended battery information (_BIX) and translates such data to the BATTERY_INFORMATION structure.
[in] | DeviceExtension | A pointer to a Control Method (CM) battery device extension. It is used to gather _BIX data. |
[in,out] | Info | A pointer to a structure of which this function fills in battery information that can be by other battery miniport drivers, such as the Composite Battery driver. |
Definition at line 377 of file cmbatt.c.
Referenced by CmBattVerifyStaticInfo().
NTSTATUS NTAPI CmBattVerifyStaticInfo | ( | _Inout_ PCMBATT_DEVICE_EXTENSION | DeviceExtension, |
_In_ ULONG | BatteryTag | ||
) |
Definition at line 511 of file cmbatt.c.
Referenced by CmBattGetBatteryStatus(), CmBattQueryInformation(), and CmBattSetStatusNotify().
VOID NTAPI CmBattWakeDpc | ( | IN PKDPC | Dpc, |
IN PCMBATT_DEVICE_EXTENSION | FdoExtension, | ||
IN PVOID | SystemArgument1, | ||
IN PVOID | SystemArgument2 | ||
) |
Definition at line 75 of file cmbatt.c.
Referenced by DriverEntry().
NTSTATUS NTAPI DriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1604 of file cmbatt.c.
PDEVICE_OBJECT AcAdapterPdo |
Definition at line 23 of file cmbatt.c.
Referenced by CmBattAddAcAdapter(), CmBattGetBatteryStatus(), CmBattIoctl(), and CmBattRemoveDevice().
ULONG CmBattDebug |
Definition at line 17 of file cmbatt.c.
Referenced by CmBattAddAcAdapter(), CmBattAddBattery(), CmBattAddDevice(), CmBattCallAcpiPackage(), CmBattCreateFdo(), CmBattDestroyFdo(), CmBattDisableStatusNotify(), CmBattGetAcpiInterfaces(), CmBattGetBatteryStatus(), CmBattGetBifData(), CmBattGetBixData(), CmBattGetBstData(), CmBattGetPsrData(), CmBattGetStaData(), CmBattGetUniqueId(), CmBattIoCompletion(), CmBattIoctl(), CmBattNotifyHandler(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattPowerCallBack(), CmBattPowerDispatch(), CmBattQueryInformation(), CmBattQueryStatus(), CmBattQueryTag(), CmBattRemoveDevice(), CmBattSendDownStreamIrp(), CmBattSetStatusNotify(), CmBattSetTripPpoint(), CmBattSystemControl(), CmBattUnload(), CmBattWaitWakeLoop(), CmBattWakeDpc(), DriverEntry(), GetDwordElement(), and GetStringElement().
PCALLBACK_OBJECT CmBattPowerCallBackObject |
Definition at line 18 of file cmbatt.c.
Referenced by CmBattUnload(), and DriverEntry().
PVOID CmBattPowerCallBackRegistration |
Definition at line 19 of file cmbatt.c.
Referenced by CmBattUnload(), and DriverEntry().
LARGE_INTEGER CmBattWakeDpcDelay |
Definition at line 24 of file cmbatt.c.
Referenced by CmBattPowerCallBack().
KDPC CmBattWakeDpcObject |
Definition at line 22 of file cmbatt.c.
Referenced by CmBattPowerCallBack(), and DriverEntry().
KTIMER CmBattWakeDpcTimerObject |
Definition at line 21 of file cmbatt.c.
Referenced by CmBattPowerCallBack(), and DriverEntry().
UNICODE_STRING GlobalRegistryPath |
Definition at line 20 of file cmbatt.c.
Referenced by CmBattUnload(), and DriverEntry().