test: ntapm.h File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# ntapm.h File Reference

Go to the source code of this file.

## Classes

struct | _NTAPM_LINK

## Defines

#define | HAL_APM_SIGNATURE 0x004D5041
#define | HAL_APM_VERSION 500
#define | HAL_APM_TABLE_SIZE (sizeof(PM_DISPATCH_TABLE)+sizeof(PVOID))
#define | HAL_APM_SLEEP_VECTOR 0
#define | HAL_APM_OFF_VECTOR 1
#define | NTAPM_LINK_SIGNATURE 0x736d7061
#define | NTAPM_LINK_VERSION 500
#define | NTAPM_ACON 0x1000
#define | NTAPM_NO_BATT 0x2000
#define | NTAPM_NO_SYS_BATT 0x4000
#define | NTAPM_BATTERY_STATE 0x0f00
#define | NTAPM_BATTERY_STATE_SHIFT 8
#define | NTAPM_POWER_PERCENT 0x00ff

## Typedefs

typedef _NTAPM_LINK | NTAPM_LINK
typedef _NTAPM_LINK * | PNTAPM_LINK

## Define Documentation

#define HAL_APM_OFF_VECTOR 1

| Definition at line 33 of file ntapm.h.

#define HAL_APM_SIGNATURE 0x004D5041

| Definition at line 27 of file ntapm.h.

#define HAL_APM_SLEEP_VECTOR 0

| Definition at line 32 of file ntapm.h.

#define HAL_APM_TABLE_SIZE (sizeof(PM_DISPATCH_TABLE)+sizeof(PVOID))

| Definition at line 30 of file ntapm.h.

#define HAL_APM_VERSION 500

| Definition at line 28 of file ntapm.h.

#define NTAPM_ACON 0x1000

| Definition at line 65 of file ntapm.h.

#define NTAPM_BATTERY_STATE 0x0f00

| Definition at line 68 of file ntapm.h.

#define NTAPM_BATTERY_STATE_SHIFT 8

| Definition at line 69 of file ntapm.h.

#define NTAPM_LINK_SIGNATURE 0x736d7061

| Definition at line 47 of file ntapm.h.

#define NTAPM_LINK_VERSION 500

| Definition at line 48 of file ntapm.h.

#define NTAPM_NO_BATT 0x2000

| Definition at line 66 of file ntapm.h.

#define NTAPM_NO_SYS_BATT 0x4000

| Definition at line 67 of file ntapm.h.

#define NTAPM_POWER_PERCENT 0x00ff

| Definition at line 70 of file ntapm.h.

## Typedef Documentation

typedef struct _NTAPM_LINK NTAPM_LINK

typedef struct _NTAPM_LINK * PNTAPM_LINK