Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-04-18 13:35:29 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2006-04-18 13:35:29 +0400
commit5c96db5d4fc15a18fe9b680a3175d506a8f21f68 (patch)
treee167bedba0d2cb0fb8952c982721a81bf22a4817 /winsup/w32api/include/winuser.h
parent065e8a7a023820eb250a0fa1c65af06a56852765 (diff)
2006-04-18 Eric House <ehouse@eehouse.org>
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.
Diffstat (limited to 'winsup/w32api/include/winuser.h')
-rw-r--r--winsup/w32api/include/winuser.h5
1 files changed, 5 insertions, 0 deletions
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);