Changeset 407 for trunk/src/user32/user32.cpp
- Timestamp:
- Aug 3, 1999, 11:22:34 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/user32.cpp
r289 r407 1 /* $Id: user32.cpp,v 1. 19 1999-07-11 21:11:57sandervl Exp $ */1 /* $Id: user32.cpp,v 1.20 1999-08-03 21:22:33 sandervl Exp $ */ 2 2 3 3 /* … … 480 480 //****************************************************************************** 481 481 //****************************************************************************** 482 BOOL WIN32API GetClientRect( HWND arg1, PRECT arg2)483 { 484 #ifdef DEBUG 485 WriteLog("USER32: GetClientRect of %X\n", arg1); 486 #endif 487 488 return O32_GetClientRect(arg1, arg2);482 BOOL WIN32API GetClientRect( HWND hwnd, PRECT pRect) 483 { 484 BOOL rc; 485 486 rc = O32_GetClientRect(hwnd, pRect); 487 dprintf(("USER32: GetClientRect of %X returned (%d,%d) (%d,%d)\n", hwnd, pRect->left, pRect->top, pRect->right, pRect->bottom)); 488 return rc; 489 489 } 490 490 //****************************************************************************** … … 678 678 #ifdef DEBUG 679 679 WriteLog("USER32: DrawTextA %s", arg2); 680 #endif681 return O32_DrawText(arg1, arg2, arg3, arg4, arg5);682 }683 //******************************************************************************684 //******************************************************************************685 int WIN32API DrawTextExA(HDC arg1, LPCSTR arg2, int arg3, PRECT arg4, UINT arg5, LPDRAWTEXTPARAMS lpDTParams)686 {687 #ifdef DEBUG688 WriteLog("USER32: DrawTextExA (not completely implemented) %s", arg2);689 680 #endif 690 681 return O32_DrawText(arg1, arg2, arg3, arg4, arg5); … … 791 782 break; 792 783 } 793 #ifdef DEBUG 794 WriteLog("USER32: GetSystemMetrics %d returned %d\n", arg1, rc); 795 #endif 784 dprintf(("USER32: GetSystemMetrics %d returned %d\n", arg1, rc)); 796 785 return(rc); 797 786 } … … 1721 1710 #ifdef DEBUG 1722 1711 WriteLog("USER32: DrawTextW %s\n", astring); 1723 #endif1724 rc = O32_DrawText(arg1, astring, arg3, arg4, arg5);1725 FreeAsciiString(astring);1726 return(rc);1727 }1728 //******************************************************************************1729 //******************************************************************************1730 int WIN32API DrawTextExW(HDC arg1, LPCWSTR arg2, int arg3, PRECT arg4, UINT arg5, LPDRAWTEXTPARAMS lpDTParams)1731 {1732 char *astring = UnicodeToAsciiString((LPWSTR)arg2);1733 int rc;1734 1735 #ifdef DEBUG1736 WriteLog("USER32: DrawTextExW (not completely supported) %s\n", astring);1737 1712 #endif 1738 1713 rc = O32_DrawText(arg1, astring, arg3, arg4, arg5); … … 3524 3499 //****************************************************************************** 3525 3500 //****************************************************************************** 3526 BOOL WIN32API DrawStateA(HDC hdc, HBRUSH hbc, DRAWSTATEPROC lpOutputFunc,3527 LPARAM lData, WPARAM wData, int x, int y, int cx,3528 int cy, UINT fuFlags)3529 {3530 #ifdef DEBUG3531 WriteLog("USER32: DrawStateA, not implemented\n");3532 #endif3533 return(TRUE);3534 }3535 //******************************************************************************3536 //******************************************************************************3537 3501 //****************************************************************************** 3538 3502 //****************************************************************************** … … 4107 4071 *****************************************************************************/ 4108 4072 4109 BOOL WIN32API DrawStateW(HDC hdc,4110 HBRUSH hBrush,4111 DRAWSTATEPROC lpOutputFunc,4112 LPARAM lParam,4113 WPARAM wParam,4114 int x,4115 int y,4116 int cx,4117 int cy,4118 UINT fuFlags)4119 {4120 dprintf(("USER32:DrawStateW (%08xh,%08xh,%08xh,%08xh,%08xh,%d,%d,%d,%d,%08x) not implemented.\n",4121 hdc,4122 hBrush,4123 lpOutputFunc,4124 lParam,4125 wParam,4126 x,4127 y,4128 cx,4129 cy,4130 fuFlags));4131 4132 return(DrawStateA(hdc,4133 hBrush,4134 lpOutputFunc,4135 lParam,4136 wParam,4137 x,4138 y,4139 cx,4140 cy,4141 fuFlags));4142 }4143 4144 4145 4073 /***************************************************************************** 4146 4074 * Name : BOOL WIN32API EnumDesktopWindows
Note:
See TracChangeset
for help on using the changeset viewer.