Changeset 21811 for branches/gcc-kmk/src
- Timestamp:
- Nov 15, 2011, 12:27:32 PM (14 years ago)
- Location:
- branches/gcc-kmk/src/user32
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/user32/Makefile.kmk
r21808 r21811 106 106 $(PATH_STAGE_LIB)/gdi32.lib \ 107 107 $(PATH_STAGE_LIB)/kernel32.lib \ 108 109 # $(PATH_STAGE_LIB)/unicode.lib \ 110 # $(PATH_STAGE_LIB)/imm32os2.lib \ 108 $(PATH_STAGE_LIB)/imm32os2.lib 111 109 112 110 include $(FILE_KBUILD_SUB_FOOTER) -
branches/gcc-kmk/src/user32/caret.cpp
r21808 r21811 50 50 #pragma data_seg() 51 51 52 extern "C" { 52 53 53 54 BOOL WIN32API CreateCaret (HWND hwnd, HBITMAP hBmp, int width, int height) … … 262 263 } 263 264 265 } // extern "C" 266 264 267 void recreateCaret (HWND hwndFocus) 265 268 { -
branches/gcc-kmk/src/user32/caret.h
r2468 r21811 9 9 10 10 extern void recreateCaret (HWND hwndFocus); 11 extern BOOL WIN32API SetCaretPos (int x, int y);12 extern BOOL WIN32API GetCaretPos (PPOINT pPoint);11 extern "C" BOOL WIN32API SetCaretPos (int x, int y); 12 extern "C" BOOL WIN32API GetCaretPos (PPOINT pPoint); 13 13 14 14 -
branches/gcc-kmk/src/user32/clipboard.cpp
r21573 r21811 276 276 do { } while(0) 277 277 #endif 278 extern "C" { 278 279 UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat); 279 280 ULONG WIN32API clipboardOdinToPMFormat(UINT uOdinFormat); 281 } 280 282 static ULONG clipboardAddDynFormat(UINT uFormat, const char *pszFormatName); 281 283 static BOOL clipboardIsRWOwner(void); … … 321 323 * @param ulPMFormat PM Clipboard format number. 322 324 */ 323 UINT 325 UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat) 324 326 { 325 327 for (int i = 0; i < sizeof(gaFormats) / sizeof(gaFormats[0]); i++) … … 377 379 * @todo serialize this! 378 380 */ 379 ULONG 381 ULONG clipboardAddDynFormat(UINT uFormat, const char *pszFormatName) 380 382 { 381 383 char szFormat[64]; … … 432 434 * @param ulPMFormat PM Clipboard format number. 433 435 */ 434 ULONG 436 ULONG WIN32API clipboardOdinToPMFormat(UINT uOdinFormat) 435 437 { 436 438 if (uOdinFormat == 0) … … 606 608 * @returns Success indicator. 607 609 */ 610 extern "C" 608 611 BOOL WIN32API InitClipboardFormats(void) 609 612 { -
branches/gcc-kmk/src/user32/dc.cpp
r21808 r21811 617 617 return erased; 618 618 } 619 620 extern "C" { 621 619 622 //****************************************************************************** 620 623 //****************************************************************************** … … 1743 1746 //****************************************************************************** 1744 1747 1748 } // extern "C" -
branches/gcc-kmk/src/user32/dc.h
r10379 r21811 21 21 BOOL GetOS2UpdateRect(Win32BaseWindow *window,LPRECT pRect); 22 22 23 int WIN32API GetUpdateRgnFrame(HWND hwnd, HRGN hrgn);23 extern "C" int WIN32API GetUpdateRgnFrame(HWND hwnd, HRGN hrgn); 24 24 25 25 #ifdef DEBUG -
branches/gcc-kmk/src/user32/dcrgn.cpp
r21808 r21811 65 65 #endif 66 66 67 extern "C" { 68 67 69 //****************************************************************************** 68 70 //****************************************************************************** … … 342 344 //****************************************************************************** 343 345 //****************************************************************************** 346 347 } // extern "C" -
branches/gcc-kmk/src/user32/hook.cpp
r21808 r21811 872 872 //****************************************************************************** 873 873 //****************************************************************************** 874 extern "C" 874 875 LRESULT HOOK_CallOdinHookA(INT code, WPARAM wParam, LPARAM lParam) 875 876 { -
branches/gcc-kmk/src/user32/icon.cpp
r21808 r21811 273 273 return (void *)iconhdr; 274 274 } 275 276 extern "C" { 277 275 278 //****************************************************************************** 276 279 //****************************************************************************** … … 467 470 //****************************************************************************** 468 471 //****************************************************************************** 472 473 } // extern "C" -
branches/gcc-kmk/src/user32/initterm.cpp
r21808 r21811 43 43 #include "dbglocal.h" 44 44 45 extern INT __cdecl wsnprintfA(LPSTR,UINT,LPCSTR,...);45 extern "C" INT __cdecl wsnprintfA(LPSTR,UINT,LPCSTR,...); 46 46 47 47 // Win32 resource table (produced by wrc) -
branches/gcc-kmk/src/user32/oslibkbd.cpp
r9810 r21811 26 26 #include "dbglocal.h" 27 27 28 extern "C" { 29 28 30 SHORT APIENTRY16 WinGetScanState( HWND, USHORT ); 29 31 BOOL APIENTRY16 WinSetScanStateTable(HWND,unsigned char *,BOOL); 32 33 } // extern "C" 30 34 31 35 //****************************************************************************** -
branches/gcc-kmk/src/user32/oslibmsgtranslate.cpp
r21341 r21811 53 53 static MSG doubleClickMsg = {0}; 54 54 55 extern UINT WINAPI GetACP(void); // from winnls.h 55 extern "C" UINT WINAPI GetACP(void); // from winnls.h 56 extern "C" UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat); 56 57 57 58 //For wheel mouse translation … … 1115 1116 case WM_RENDERFMT: 1116 1117 winMsg->message = WINWM_RENDERFORMAT; 1117 extern UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat);1118 1118 winMsg->wParam = (UINT)clipboardPMToOdinFormat((ULONG)os2Msg->mp1); 1119 1119 if (!winMsg->wParam) -
branches/gcc-kmk/src/user32/timer.cpp
r21808 r21811 252 252 } 253 253 254 extern "C" { 255 254 256 /*********************************************************************** 255 257 * SetTimer32 (USER32.511) … … 304 306 } 305 307 308 } // extern "C" -
branches/gcc-kmk/src/user32/user32.def
r21807 r21811 32 32 _OpenClipbrd = PMMERGE.10021 33 33 34 WINSETSCANSTATETABLE= PMMERGE.326635 WINGETSCANSTATE= PMMERGE.313834 _WinSetScanStateTable = PMMERGE.3266 35 _WinGetScanState = PMMERGE.3138 36 36 37 37 ;;;; Present in WGSS50 -
branches/gcc-kmk/src/user32/user32api.h
r10316 r21811 5 5 #define __USER32API_H_ 6 6 7 #ifdef __cplusplus 8 extern "C" { 9 #endif 10 7 11 //Notify that focus has changed (necessary for SetFocus(0) handling) 8 12 void SetFocusChanged(); … … 10 14 extern BOOL fIgnoreKeystrokes; 11 15 16 #ifdef __cplusplus 17 } // extern "C" 12 18 #endif 19 20 #endif -
branches/gcc-kmk/src/user32/user32dbg.def
r21807 r21811 32 32 _OpenClipbrd = PMMERGE.10021 33 33 34 WINSETSCANSTATETABLE= PMMERGE.326635 WINGETSCANSTATE= PMMERGE.313834 _WinSetScanStateTable = PMMERGE.3266 35 _WinGetScanState = PMMERGE.3138 36 36 37 37 ;;;; Present in WGSS50 -
branches/gcc-kmk/src/user32/winevent.cpp
r21808 r21811 43 43 ODINDEBUGCHANNEL(USER32-WINEVENT) 44 44 45 extern "C" { 45 46 46 47 /***************************************************************************** … … 89 90 return 0; 90 91 } 92 93 } // extern "C"
Note:
See TracChangeset
for help on using the changeset viewer.