From ed2aa10349ffbfc3f268441d7c8cda0605dffedf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20B=C3=A9ron?= Date: Mon, 21 Feb 2005 20:40:13 +0000 Subject: [PATCH] Add a definition for OpenInputDesktop(). Add constants for PBT_APM* parameters. --- include/winuser.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/winuser.h b/include/winuser.h index c55b37a2964..d3bd83c7f19 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -1146,6 +1146,21 @@ BOOL WINAPI SetSysColors(INT,const INT*,const COLORREF*); #define WMSZ_BOTTOMLEFT 7 #define WMSZ_BOTTOMRIGHT 8 +/* wParam for WM_POWERBROADCAST */ +#define PBT_APMQUERYSUSPEND 0x0000 +#define PBT_APMQUERYSTANDBY 0x0001 +#define PBT_APMQUERYSUSPENDFAILED 0x0002 +#define PBT_APMQUERYSTANDBYFAILED 0x0003 +#define PBT_APMSUSPEND 0x0004 +#define PBT_APMSTANDBY 0x0005 +#define PBT_APMRESUMECRITICAL 0x0006 +#define PBT_APMRESUMESUSPEND 0x0007 +#define PBT_APMRESUMESTANDBY 0x0008 +#define PBT_APMBATTERYLOW 0x0009 +#define PBT_APMPOWERSTATUSCHANGE 0x000A +#define PBT_APMOEMEVENT 0x000B +#define PBT_APMRESUMEAUTOMATIC 0x0012 + /* MDI messages */ #define WM_MDICREATE 0x0220 #define WM_MDIDESTROY 0x0221 @@ -4416,6 +4431,7 @@ BOOL WINAPI OemToCharBuffW(LPCSTR,LPWSTR,DWORD); BOOL WINAPI OffsetRect(LPRECT,INT,INT); BOOL WINAPI OpenClipboard(HWND); BOOL WINAPI OpenIcon(HWND); +HDESK WINAPI OpenInputDesktop(DWORD,BOOL,ACCESS_MASK); HWINSTA WINAPI OpenWindowStationA(LPSTR,BOOL,ACCESS_MASK); HWINSTA WINAPI OpenWindowStationW(LPWSTR,BOOL,ACCESS_MASK); #define OpenWindowStation WINELIB_NAME_AW(OpenWindowStation)