Changeset 741 for trunk/src/user32/new/windowword.cpp
- Timestamp:
- Aug 30, 1999, 2:00:12 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/new/windowword.cpp
r314 r741 1 /* $Id: windowword.cpp,v 1. 2 1999-07-16 11:32:10sandervl Exp $ */1 /* $Id: windowword.cpp,v 1.3 1999-08-30 11:59:54 sandervl Exp $ */ 2 2 3 3 /* … … 13 13 #include <misc.h> 14 14 15 #include <win32w nd.h>15 #include <win32wbase.h> 16 16 17 17 //****************************************************************************** … … 19 19 LONG WIN32API SetWindowLongA(HWND hwnd, int nIndex, LONG arg3) 20 20 { 21 Win32 Window *window;21 Win32BaseWindow *window; 22 22 23 window = Win32 Window::GetWindowFromHandle(hwnd);23 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 24 24 if(window) 25 25 { 26 26 return window->SetWindowLongA(nIndex, arg3); 27 27 } 28 28 else 29 29 { 30 30 dprintf(("SetWindowLongA; window %x not found!", hwnd)); 31 31 } 32 32 return 0; … … 36 36 LONG WIN32API SetWindowLongW(HWND hwnd, int nIndex, LONG arg3) 37 37 { 38 Win32 Window *window;38 Win32BaseWindow *window; 39 39 40 window = Win32 Window::GetWindowFromHandle(hwnd);40 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 41 41 if(window) 42 42 { 43 43 return window->SetWindowLongA(nIndex, arg3); 44 44 } 45 45 else 46 46 { 47 47 dprintf(("SetWindowLongW; window %x not found!", hwnd)); 48 48 } 49 49 return 0; … … 53 53 WORD WIN32API GetWindowWord(HWND hwnd, int nIndex) 54 54 { 55 Win32 Window *window;55 Win32BaseWindow *window; 56 56 57 window = Win32 Window::GetWindowFromHandle(hwnd);57 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 58 58 if(window) 59 59 { 60 60 return window->GetWindowWord(nIndex); 61 61 } 62 62 else 63 63 { 64 64 dprintf(("GetWindowWord; window %x not found!", hwnd)); 65 65 } 66 66 return 0; … … 70 70 WORD WIN32API SetWindowWord(HWND hwnd, int nIndex, WORD arg3) 71 71 { 72 Win32 Window *window;72 Win32BaseWindow *window; 73 73 74 window = Win32 Window::GetWindowFromHandle(hwnd);74 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 75 75 if(window) 76 76 { 77 77 return window->SetWindowWord(nIndex, arg3); 78 78 } 79 79 else 80 80 { 81 81 dprintf(("SetWindowWord; window %x not found!", hwnd)); 82 82 } 83 83 return 0; … … 87 87 LONG WIN32API GetWindowLongA(HWND hwnd, int nIndex) 88 88 { 89 Win32 Window *window;89 Win32BaseWindow *window; 90 90 91 window = Win32 Window::GetWindowFromHandle(hwnd);91 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 92 92 if(window) 93 93 { 94 94 return window->GetWindowLongA(nIndex); 95 95 } 96 96 else 97 97 { 98 98 dprintf(("GetWindowLongA; window %x not found!", hwnd)); 99 99 } 100 100 return 0; … … 104 104 LONG WIN32API GetWindowLongW(HWND hwnd, int nIndex) 105 105 { 106 Win32 Window *window;106 Win32BaseWindow *window; 107 107 108 window = Win32 Window::GetWindowFromHandle(hwnd);108 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 109 109 if(window) 110 110 { 111 111 return window->GetWindowLongA(nIndex); 112 112 } 113 113 else 114 114 { 115 115 dprintf(("GetWindowLongW; window %x not found!", hwnd)); 116 116 } 117 117 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.