- Timestamp:
- Jan 31, 2012, 10:16:33 PM (14 years ago)
- Location:
- trunk/src
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/dbgwrap.cpp
r21916 r21953 18 18 #include <dbgwrap.h> 19 19 20 extern "C" {21 22 20 BOOL WINAPI TryEnterCriticalSection( CRITICAL_SECTION *crit ); 23 21 void WINAPI ReinitializeCriticalSection( CRITICAL_SECTION *crit ); … … 26 24 BOOL WINAPI CloseProfileUserMapping(void); 27 25 BOOL WINAPI OpenProfileUserMapping(void); 26 27 HANDLE WIN32API OpenThread(DWORD dwDesiredAccess, 28 BOOL bInheritHandle, 29 DWORD dwThreadId); 28 30 29 31 LPVOID WIN32API CreateFiber( DWORD dwStackSize, … … 687 689 DEBUGWRAP28(CreateRemoteThread); 688 690 DEBUGWRAP24(CreateThread); 691 DEBUGWRAP12(OpenThread); 689 692 DEBUGWRAP4(ExitThread); 690 693 DEBUGWRAP_LVL2_0(GetCurrentThread); … … 702 705 DEBUGWRAP8(SetThreadPriority); 703 706 DEBUGWRAP8(SetThreadPriorityBoost); 707 DEBUGWRAP12(QueueUserAPC); 704 708 DEBUGWRAP4(SuspendThread); 705 709 DEBUGWRAP8(TerminateThread); … … 951 955 DEBUGWRAP_LVL2_12(OemToCharBuffW) 952 956 DEBUGWRAP_LVL2_8(OemToCharW) 953 954 } // extern "C" -
trunk/src/kernel32/kernel32.def
r21919 r21953 257 257 CreateTapePartition = "_CreateTapePartition@16" @177 258 258 CreateThread = "_CreateThread@24" @178 259 OpenThread = "_OpenThread@12" @1049 259 260 ;;;; CreateToolhelp32Snapshot = _CreateToolhelp32Snapshot@8 @179 ;W95 260 261 ; CreateVirtualBuffer = _CreateVirtualBuffer@?? @68 ;NT … … 701 702 QueryPerformanceFrequency = "_QueryPerformanceFrequency@4" @565 702 703 ; QueryWin31IniFilesMappedToRegistry = _QueryWin31IniFilesMappedToRegistry@?? ;NT 703 ; QueueUserAPC = _QueueUserAPC@??@566704 QueueUserAPC = "_QueueUserAPC@12" @566 704 705 RaiseException = "_RaiseException@16" @567 705 706 ReadConsoleA = "_ReadConsoleA@20" @568 -
trunk/src/kernel32/kernel32dbg.def
r21916 r21953 257 257 CreateTapePartition = "_DbgCreateTapePartition@16" @177 258 258 CreateThread = "_DbgCreateThread@24" @178 259 OpenThread = "_DbgOpenThread@12" @1049 259 260 ;;;; CreateToolhelp32Snapshot = _DbgCreateToolhelp32Snapshot@8 @179 ;W95 260 261 ; CreateVirtualBuffer = _DbgCreateVirtualBuffer@?? @68 ;NT … … 701 702 QueryPerformanceFrequency = "_DbgQueryPerformanceFrequency@4" @565 702 703 ; QueryWin31IniFilesMappedToRegistry = _DbgQueryWin31IniFilesMappedToRegistry@?? ;NT 703 ; QueueUserAPC = _DbgQueueUserAPC@??@566704 QueueUserAPC = "_DbgQueueUserAPC@12" @566 704 705 RaiseException = "_DbgRaiseException@16" @567 705 706 ReadConsoleA = "_DbgReadConsoleA@20" @568 -
trunk/src/kernel32/thread.cpp
r21932 r21953 53 53 54 54 // borrowed from ntddk.h 55 extern "C"56 55 void WINAPI RtlUnwind( 57 56 PEXCEPTION_FRAME, … … 61 60 //****************************************************************************** 62 61 //****************************************************************************** 63 extern "C"64 62 HANDLE WIN32API CreateThread(LPSECURITY_ATTRIBUTES lpsa, 65 63 DWORD cbStack, … … 116 114 return pHandle->hmHandleData.hWin32Handle; 117 115 } 118 119 extern "C" { 120 116 /***************************************************************************** 117 *****************************************************************************/ 118 HANDLE WIN32API OpenThread(DWORD dwDesiredAccess, BOOL bInheritHandle, DWORD dwThreadId) 119 { 120 dprintf(("KERNEL32: OpenThread(%08xh, %08xh, %08xh) not implemented\n", 121 dwDesiredAccess, bInheritHandle, dwThreadId)); 122 return NULL; 123 } 121 124 /***************************************************************************** 122 125 * Name : HMGetThreadPriority … … 375 378 } 376 379 377 } // extern "C"378 379 380 /***************************************************************************** 380 381 * Name : HMSetThreadTerminated … … 404 405 return (lpResult); /* deliver return code */ 405 406 } 406 407 extern "C" {408 407 409 408 //****************************************************************************** … … 664 663 return FALSE; 665 664 } 666 667 } // extern "C" 665 //****************************************************************************** 666 //****************************************************************************** 667 DWORD WIN32API QueueUserAPC(PAPCFUNC func, HANDLE hthread, ULONG_PTR data) 668 { 669 dprintf(("KERNEL32: QueueUserAPC(%08xh, %08xh, %08xh) not implemented\n", 670 func, hthread, data)); 671 return 0; 672 } 668 673 669 674 //****************************************************************************** -
trunk/src/user32/dbgwrap.cpp
r21916 r21953 146 146 LRESULT WINAPI EditWndProcA( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); 147 147 148 BOOL WIN32API UpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst,SIZE *psize, 149 HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, 150 DWORD dwFlags); 151 148 152 149 153 DEBUGWRAP12(AttachThreadInput) … … 258 262 DEBUGWRAP4(WINNLSGetIMEHotkey) 259 263 264 DEBUGWRAP36(UpdateLayeredWindow) 260 265 261 266 -
trunk/src/user32/user32.def
r21949 r21953 767 767 "_GetOS2Icon@4" @2045 NONAME 768 768 769 ; used for Flash plugin770 769 GetWindowInfo = "_GetWindowInfo@8" @2046 771 770 _HPSToHDC @2047 … … 773 772 "_RunOnAuxThread@20" @2048 NONAME 774 773 "_RunOnAuxThreadAndWait@24" @2049 NONAME 774 775 UpdateLayeredWindow = "_UpdateLayeredWindow@36" @2050 -
trunk/src/user32/user32dbg.def
r21949 r21953 763 763 "_GetOS2Icon@4" @2045 NONAME 764 764 765 ; used for Flash plugin766 765 GetWindowInfo = "_GetWindowInfo@8" @2046 767 766 _HPSToHDC @2047 … … 769 768 "_RunOnAuxThread@20" @2048 NONAME 770 769 "_RunOnAuxThreadAndWait@24" @2049 NONAME 770 771 UpdateLayeredWindow = "_DbgUpdateLayeredWindow@36" @2050 772 -
trunk/src/user32/window.cpp
r21916 r21953 467 467 468 468 return TRUE; 469 } 470 /***************************************************************************** 471 * UpdateLayeredWindow (USER32.@) 472 */ 473 BOOL WIN32API UpdateLayeredWindow(HWND hwnd, HDC hdcDst, POINT *pptDst,SIZE *psize, 474 HDC hdcSrc, POINT *pptSrc, COLORREF crKey, BLENDFUNCTION *pblend, 475 DWORD dwFlags) 476 { 477 dprintf(("USER32: UpdateLayeredWindow(%08xh, %08xh, %08xh, %08xh, %08xh, " 478 "%08xh, %08xh, %08xh, %08xh) not implemented\n", 479 hwnd, hdcDst, pptDst, psize, hdcSrc, pptSrc, crKey, pblend, dwFlags)); 480 return FALSE; 469 481 } 470 482
Note:
See TracChangeset
for help on using the changeset viewer.