From 5c96db5d4fc15a18fe9b680a3175d506a8f21f68 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Tue, 18 Apr 2006 09:35:29 +0000 Subject: 2006-04-18 Eric House PocketPC support. * include/aygshell.h: New file [_WIN32_WCE]. Declare most common functions for using aygshell on PocketPC: SHCreateMenuBar, SHFindMenuBar, SHCreateNewItem, SHFullScreen, SHSipInfo, SHHandleWMActivate, SHHandleWMSettingChange * include/commctrl.h [_WIN32_WCE] Add function prototypes for command bar API on PocketPC: CommandBar_Create, CommandBar_Show, CommandBar_AddBitmap, CommandBar_InsertComboBox, CommandBar_InsertMenubar, CommandBar_InsertMenubarEx, CommandBar_DrawMenuBar, CommandBar_GetMenu, CommandBar_AddAdornments, CommandBar_Height, CommandBar_InsertButton, CommandBar_Destroy. * include/winbase.h [_WIN32_WCE] (WIN32_FIND_DATA{A|W}): Remove fields not present on PocketPC. (GetCurrentThreadId): Conditionally declare as extern function without dllimport attribute on PocketPC. (ResetEvent): Likwise. (SetEvent): Likewise. * include/wingdi.h [_WIN32_WCE] (GetTextExtentPoint32{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC. * winuser.h [_WIN32_WCE] (DialogBoxParam{A|W}): Conditionally declare as extern function without dllimport attribute on PocketPC. --- winsup/w32api/include/winuser.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'winsup/w32api/include/winuser.h') diff --git a/winsup/w32api/include/winuser.h b/winsup/w32api/include/winuser.h index 63fc1e477..e9b06dfab 100644 --- a/winsup/w32api/include/winuser.h +++ b/winsup/w32api/include/winuser.h @@ -3385,8 +3385,13 @@ WINUSERAPI BOOL WINAPI DestroyWindow(HWND); #define DialogBoxIndirectW(i,t,p,f) DialogBoxIndirectParamW(i,t,p,f,0) WINUSERAPI int WINAPI DialogBoxIndirectParamA(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); WINUSERAPI int WINAPI DialogBoxIndirectParamW(HINSTANCE,LPCDLGTEMPLATE,HWND,DLGPROC,LPARAM); +#ifdef _WIN32_WCE +extern int DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); +extern int DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#else WINUSERAPI int WINAPI DialogBoxParamA(HINSTANCE,LPCSTR,HWND,DLGPROC,LPARAM); WINUSERAPI int WINAPI DialogBoxParamW(HINSTANCE,LPCWSTR,HWND,DLGPROC,LPARAM); +#endif WINUSERAPI LONG WINAPI DispatchMessageA(const MSG*); WINUSERAPI LONG WINAPI DispatchMessageW(const MSG*); WINUSERAPI int WINAPI DlgDirListA(HWND,LPSTR,int,int,UINT); -- cgit v1.2.3