ScummVM
CEDevice.cpp File Reference
Include dependency graph for CEDevice.cpp:

Go to the source code of this file.

Macros

#define TIMER_TRIGGER   9000
 

Functions

static void (WINAPI *_SHIdleTimerReset)(void)
 
static HANDLE (WINAPI *_SetPowerRequirement)(PVOID
 
static DWORD (WINAPI *_ReleasePowerRequirement)(HANDLE)
 

Variables

static int
 
static ULONG = NULL
 
static PVOID
 
static HANDLE _hPowerManagement = NULL
 
static DWORD _lastTime = 0
 
static DWORD REG_bat = 0
 
static DWORD REG_ac = 0
 
static DWORD REG_disp = 0
 
static DWORD bat_timeout = 0
 
static bool REG_tampered = false
 

Macro Definition Documentation

◆ TIMER_TRIGGER

#define TIMER_TRIGGER   9000

Definition at line 42 of file CEDevice.cpp.

Function Documentation

◆ DWORD()

static DWORD ( WINAPI *  _ReleasePowerRequirement)
static

◆ HANDLE()

static HANDLE ( WINAPI *  _SetPowerRequirement)
static

◆ void()

static void ( WINAPI *  _SHIdleTimerReset)
static

Variable Documentation

◆ _hPowerManagement

HANDLE _hPowerManagement = NULL
static

Definition at line 32 of file CEDevice.cpp.

◆ _lastTime

DWORD _lastTime = 0
static

Definition at line 33 of file CEDevice.cpp.

◆ bat_timeout

DWORD bat_timeout = 0
static

Definition at line 34 of file CEDevice.cpp.

◆ int

int

Definition at line 30 of file CEDevice.cpp.

◆ PVOID

PVOID

Definition at line 30 of file CEDevice.cpp.

◆ REG_ac

DWORD REG_ac = 0
static

Definition at line 34 of file CEDevice.cpp.

◆ REG_bat

DWORD REG_bat = 0
static

Definition at line 34 of file CEDevice.cpp.

◆ REG_disp

DWORD REG_disp = 0
static

Definition at line 34 of file CEDevice.cpp.

◆ REG_tampered

bool REG_tampered = false
static

Definition at line 35 of file CEDevice.cpp.

◆ ULONG

static ULONG = NULL

Definition at line 30 of file CEDevice.cpp.