view win32/pbt.d @ 1:4a9dcbd9e54f

-files of 0.13 beta -fixes so that it now compiles with the current dmd version
author marton@basel.hu
date Tue, 05 Apr 2011 20:44:01 +0200
parents
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;