- Timestamp:
- May 3, 2004, 2:09:01 PM (21 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/USER32.DEF
r10584 r10595 1 ; $Id: USER32.DEF,v 1.8 3 2004-04-14 11:04:56sandervl Exp $1 ; $Id: USER32.DEF,v 1.84 2004-05-03 12:08:59 sandervl Exp $ 2 2 3 3 LIBRARY USER32 INITINSTANCE TERMINSTANCE … … 743 743 _OSLibCreateDragStruct@16 @2041 NONAME 744 744 _OSLibFreeDragStruct@4 @2042 NONAME 745 _clipboardPMToOdinFormat@4 @2043 NONAME 746 _clipboardOdinToPMFormat@4 @2044 NONAME -
trunk/src/user32/clipboard.cpp
r10578 r10595 1 /* $Id: clipboard.cpp,v 1.1 8 2004-04-13 14:16:42sandervl Exp $ */1 /* $Id: clipboard.cpp,v 1.19 2004-05-03 12:09:00 sandervl Exp $ */ 2 2 3 3 /* … … 276 276 do { } while(0) 277 277 #endif 278 UINT 279 static ULONG clipboardOdinToPMFormat(UINTuOdinFormat);278 UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat); 279 ULONG WIN32API clipboardOdinToPMFormat(UINT uOdinFormat); 280 280 static ULONG clipboardAddDynFormat(UINT uFormat, const char *pszFormatName); 281 281 static BOOL clipboardIsRWOwner(void); -
trunk/src/user32/initterm.h
r6339 r10595 1 /* $Id: initterm.h,v 1. 5 2001-07-15 14:58:06sandervl Exp $ */1 /* $Id: initterm.h,v 1.6 2004-05-03 12:09:00 sandervl Exp $ */ 2 2 3 3 /* … … 17 17 18 18 //winicon.cpp 19 void RestoreCursor(); 19 void RestoreCursor(void); 20 BOOL WIN32API InitClipboardFormats(void); 20 21 21 22 #endif //__INITTERM_H__ -
trunk/src/user32/inituser32.cpp
r10319 r10595 1 /* $Id: inituser32.cpp,v 1.1 8 2003-11-14 13:44:10sandervl Exp $ */1 /* $Id: inituser32.cpp,v 1.19 2004-05-03 12:09:01 sandervl Exp $ */ 2 2 /* 3 3 * USER32 DLL entry point … … 82 82 char buffer[512]; 83 83 UINT len; 84 84 85 85 if (RegOpenKeyExA(HKEY_LOCAL_MACHINE, REGPATH ,0, KEY_ALL_ACCESS, &hkFonts) == 0) 86 86 { … … 95 95 { 96 96 HDIR hdirFindHandle = HDIR_CREATE; 97 FILEFINDBUF3 FindBuffer = {0}; 97 FILEFINDBUF3 FindBuffer = {0}; 98 98 ULONG ulResultBufLen = sizeof(FILEFINDBUF3); 99 ULONG ulFindCount = 1, ret; 100 APIRET rc = NO_ERROR; 99 ULONG ulFindCount = 1, ret; 100 APIRET rc = NO_ERROR; 101 101 102 102 GetWindowsDirectoryA( buffer, sizeof(buffer) ); … … 104 104 105 105 rc = DosFindFirst( buffer, &hdirFindHandle, FILE_NORMAL,&FindBuffer, ulResultBufLen, &ulFindCount, FIL_STANDARD); 106 //Check that file actaully exist 106 //Check that file actaully exist 107 107 if ( rc == NO_ERROR && !(FindBuffer.attrFile & FILE_DIRECTORY)) 108 108 { … … 121 121 } 122 122 } 123 } 123 } 124 124 DosFindClose(hdirFindHandle); 125 125 } … … 182 182 MigrateWindowsFonts(); 183 183 184 InitClipboardFormats(); 184 185 break; 185 186 -
trunk/src/user32/oslibmsgtranslate.cpp
r10578 r10595 1 /* $Id: oslibmsgtranslate.cpp,v 1.12 3 2004-04-13 14:16:43sandervl Exp $ */1 /* $Id: oslibmsgtranslate.cpp,v 1.124 2004-05-03 12:09:01 sandervl Exp $ */ 2 2 /* 3 3 * Window message translation functions for OS/2 … … 621 621 mousehk.dwExtraInfo = 0; 622 622 623 if(HOOK_CallHooksW( WH_MOUSE_W, (fMsgRemoved == MSG_REMOVE) ? HC_ACTION : HC_NOREMOVE, winMsg->message, (LPARAM)&mousehk)) 623 if(HOOK_CallHooksW( WH_MOUSE_W, (fMsgRemoved == MSG_REMOVE) ? HC_ACTION : HC_NOREMOVE, winMsg->message, (LPARAM)&mousehk)) 624 624 { 625 625 goto dummymessage; //hook swallowed message … … 1012 1012 case WM_RENDERFMT: 1013 1013 winMsg->message = WINWM_RENDERFORMAT; 1014 winMsg->wParam = (UINT) os2Msg->mp1; 1014 extern UINT WIN32API clipboardPMToOdinFormat(ULONG ulPMFormat); 1015 winMsg->wParam = (UINT)clipboardPMToOdinFormat((ULONG)os2Msg->mp1); 1016 if (!winMsg->wParam) 1017 { 1018 dprintf(("WM_RENDERFMT: failed to convert clipboard format (%d)!!!\n", os2Msg->mp1)); 1019 DebugInt3(); 1020 } 1015 1021 break; 1016 1022 … … 1164 1170 { 1165 1171 if(!msg->wParam) 1166 {//TODO: Why is this here???? 1172 {//TODO: Why is this here???? 1167 1173 DebugInt3(); 1168 1174 extramsg.wParam = SHORT2FROMMP(teb->o.odin.os2msg.mp2); -
trunk/src/user32/user32dbg.def
r10584 r10595 1 ; $Id: user32dbg.def,v 1.1 6 2004-04-14 11:04:57sandervl Exp $1 ; $Id: user32dbg.def,v 1.17 2004-05-03 12:09:01 sandervl Exp $ 2 2 3 3 LIBRARY USER32 INITINSTANCE TERMINSTANCE … … 740 740 _OSLibCreateDragStruct@16 @2041 NONAME 741 741 _OSLibFreeDragStruct@4 @2042 NONAME 742 _clipboardPMToOdinFormat@4 @2043 NONAME 743 _clipboardOdinToPMFormat@4 @2044 NONAME
Note:
See TracChangeset
for help on using the changeset viewer.