view win32/pbt.d @ 4:a5fb1bc967e6

- = command does not need space after it - before using r command, ov command runs the program and stops at main - more source file lines are shown at each step
author marton@basel.hu
date Sun, 10 Apr 2011 12:15:04 +0200
parents 4a9dcbd9e54f
children
line wrap: on
line source

/***********************************************************************\
*                                  pbt.d                                *
*                                                                       *
*                       Windows API header module                       *
*                                                                       *
*                 Translated from MinGW Windows headers                 *
*                           by Stewart Gordon                           *
*                                                                       *
*                       Placed into public domain                       *
\***********************************************************************/
module win32.pbt;

private import win32.windef;

enum : WPARAM {
	PBT_APMQUERYSUSPEND,
	PBT_APMQUERYSTANDBY,
	PBT_APMQUERYSUSPENDFAILED,
	PBT_APMQUERYSTANDBYFAILED,
	PBT_APMSUSPEND,
	PBT_APMSTANDBY,
	PBT_APMRESUMECRITICAL,
	PBT_APMRESUMESUSPEND,
	PBT_APMRESUMESTANDBY,
	PBT_APMBATTERYLOW,
	PBT_APMPOWERSTATUSCHANGE,
	PBT_APMOEMEVENT // = 11
}

const LPARAM PBTF_APMRESUMEFROMFAILURE = 1;