Changeset 5828 for trunk/src/dciman32/dciman32.cpp
- Timestamp:
- May 29, 2001, 10:25:27 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/dciman32/dciman32.cpp
r4519 r5828 1 /* $Id: dciman32.cpp,v 1. 1 2000-10-23 11:24:38sandervl Exp $ */1 /* $Id: dciman32.cpp,v 1.2 2001-05-29 20:25:27 sandervl Exp $ */ 2 2 /* 3 3 * DCIMAN32 Stub code … … 15 15 #include <misc.h> 16 16 17 #include <dciman.h> 17 18 18 19 //****************************************************************************** … … 25 26 //****************************************************************************** 26 27 //****************************************************************************** 27 BOOLWIN32API DCICloseProvider(HDC hdc)28 void WIN32API DCICloseProvider(HDC hdc) 28 29 { 29 30 dprintf(("DCICloseProvide %x", hdc)); 30 returnDeleteDC(hdc);31 DeleteDC(hdc); 31 32 } 32 33 //****************************************************************************** 33 34 //****************************************************************************** 34 DWORD WIN32API DCIEnum(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5) 35 int WINAPI DCIEnum(HDC hdc, LPRECT lprDst, LPRECT lprSrc, LPVOID lpFnCallback, 36 LPVOID lpContext) 35 37 { 36 dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5));37 return -4;38 dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", hdc, lprDst, lprSrc, lpFnCallback, lpContext)); 39 return DCI_FAIL_UNSUPPORTED; //NT returns -4 38 40 } 39 41 //****************************************************************************** 40 42 //****************************************************************************** 41 DWORD WIN32API DCICreatePrimary(DWORD arg1, DWORD arg2)43 int WINAPI DCICreatePrimary(HDC hdc, LPDCISURFACEINFO *lplpSurface) 42 44 { 43 dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", arg1, arg2)); 45 dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", hdc, lplpSurface)); 46 return DCI_FAIL_UNSUPPORTED; 47 } 48 //****************************************************************************** 49 //****************************************************************************** 50 int WINAPI DCICreateOffscreen(HDC hdc, DWORD dwCompression, DWORD dwRedMask, 51 DWORD dwGreenMask, DWORD dwBlueMask, DWORD dwWidth, 52 DWORD dwHeight, DWORD dwDCICaps, DWORD dwBitCount, 53 LPDCIOFFSCREEN *lplpSurface) 54 { 55 dprintf(("DCICreateOffScreen %x %x %x %x %x %x %x %x %x %x NOT IMPLEMENTED", hdc, dwCompression, dwRedMask, dwGreenMask, dwBlueMask, dwWidth, dwHeight, dwDCICaps, dwBitCount, lplpSurface)); 56 return DCI_FAIL_UNSUPPORTED; 57 } 58 //****************************************************************************** 59 //****************************************************************************** 60 int WINAPI DCICreateOverlay(HDC hdc, LPVOID lpOffscreenSurf, 61 LPDCIOVERLAY *lplpSurface) 62 { 63 dprintf(("DCICreateOverlay %x %x %x NOT IMPLEMENTED", hdc, lpOffscreenSurf, lplpSurface)); 64 return DCI_FAIL_UNSUPPORTED; 65 } 66 //****************************************************************************** 67 //****************************************************************************** 68 DCIRVAL WINAPI DCIBeginAccess(LPDCISURFACEINFO pdci, int x, int y, int dx, int dy) 69 { 70 dprintf(("DCIBeginAccess %x %x %x %x %x NOT IMPLEMENTED", pdci, x, y, dx, dy)); 71 return DCI_FAIL_UNSUPPORTED; 72 } 73 //****************************************************************************** 74 //****************************************************************************** 75 void WINAPI DCIEndAccess(LPDCISURFACEINFO pdci) 76 { 77 dprintf(("DCIEndAccess %x NOT IMPLEMENTED", pdci)); 78 return; 79 } 80 //****************************************************************************** 81 //****************************************************************************** 82 void WINAPI DCIDestroy(LPDCISURFACEINFO pdci) 83 { 84 dprintf(("DCIDestroy %x NOT IMPLEMENTED", pdci)); 85 return; 86 } 87 //****************************************************************************** 88 //****************************************************************************** 89 DCIRVAL WINAPI DCIDraw(LPDCIOFFSCREEN pdci) 90 { 91 dprintf(("DCIDraw %x NOT IMPLEMENTED", pdci)); 92 return DCI_FAIL_UNSUPPORTED; 93 } 94 //****************************************************************************** 95 //****************************************************************************** 96 DCIRVAL WINAPI DCISetClipList(LPDCIOFFSCREEN pdci, LPRGNDATA prd) 97 { 98 dprintf(("DCISetClipList %x %x NOT IMPLEMENTED", pdci, prd)); 99 return DCI_FAIL_UNSUPPORTED; 100 } 101 //****************************************************************************** 102 //****************************************************************************** 103 DCIRVAL WINAPI DCISetDestination(LPDCIOFFSCREEN pdci, LPRECT dst, LPRECT src) 104 { 105 dprintf(("DCISetDestination %x %x %x NOT IMPLEMENTED", pdci, dst, src)); 106 return DCI_FAIL_UNSUPPORTED; 107 } 108 //****************************************************************************** 109 //****************************************************************************** 110 DCIRVAL WINAPI DCISetSrcDestClip(LPDCIOFFSCREEN pdci, LPRECT srcrc, LPRECT destrc, LPRGNDATA prd ) 111 { 112 dprintf(("DCISetSrcDestClip %x %x %x %x NOT IMPLEMENTED", pdci, srcrc, destrc, prd)); 113 return DCI_FAIL_UNSUPPORTED; 114 } 115 //****************************************************************************** 116 //****************************************************************************** 117 HWINWATCH WINAPI WinWatchOpen(HWND hwnd) 118 { 119 dprintf(("WinWatchOpen %x NOT IMPLEMENTED", hwnd)); 44 120 return 0; 45 121 } 46 122 //****************************************************************************** 47 123 //****************************************************************************** 48 DWORD WIN32API DCICreateOffscreen(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5, 49 DWORD arg6, DWORD arg7, DWORD arg8, DWORD arg9, DWORD arg10) 124 void WINAPI WinWatchClose(HWINWATCH hWW) 50 125 { 51 dprintf((" DCICreateOffScreen %x %x %x %x %x %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10));52 return -4;126 dprintf(("WinWatchClose %x NOT IMPLEMENTED", hWW)); 127 return; 53 128 } 54 129 //****************************************************************************** 55 130 //****************************************************************************** 56 DWORD WIN32API DCICreateOverlay(DWORD arg1, DWORD arg2, DWORD arg3)131 UINT WINAPI WinWatchGetClipList(HWINWATCH hWW, LPRECT prc, UINT size, LPRGNDATA prd) 57 132 { 58 dprintf(("DCICreateOverlay %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3)); 59 return -4; 60 } 61 //****************************************************************************** 62 //****************************************************************************** 63 DWORD WIN32API DCIBeginAccess(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5) 64 { 65 dprintf(("DCIBeginAccess %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5)); 133 dprintf(("WinWatchGetClipList %x %x %x %xNOT IMPLEMENTED", hWW, prc, size, prd)); 66 134 return 0; 67 135 } 68 136 //****************************************************************************** 69 137 //****************************************************************************** 70 DWORD WIN32API DCIEndAccess(DWORD arg1)138 BOOL WINAPI WinWatchDidStatusChange(HWINWATCH hWW) 71 139 { 72 dprintf((" DCIEndAccess %x NOT IMPLEMENTED", arg1));140 dprintf(("WinWatchDidStatusChange %x NOT IMPLEMENTED", hWW)); 73 141 return 0; 74 142 } 75 143 //****************************************************************************** 76 144 //****************************************************************************** 77 DWORD WIN32API DCIDestroy(DWORD arg1) 145 BOOL WINAPI WinWatchNotify(HWINWATCH hWW, WINWATCHNOTIFYPROC NotifyCallback, 146 LPARAM NotifyParam ) 78 147 { 79 dprintf((" DCIDestroy %x NOT IMPLEMENTED", arg1));148 dprintf(("WinWatchNotify %x NOT IMPLEMENTED", hWW, NotifyCallback, NotifyParam)); 80 149 return 0; 81 150 } 82 151 //****************************************************************************** 83 152 //****************************************************************************** 84 DWORD WIN 32API DCIDraw(DWORD arg1)153 DWORD WINAPI GetWindowRegionData(HWND hwnd, DWORD size, LPRGNDATA prd) 85 154 { 86 dprintf(("DCIDraw %x NOT IMPLEMENTED", arg1)); 87 return -4; 88 } 89 //****************************************************************************** 90 //****************************************************************************** 91 DWORD WIN32API DCISetClipList(DWORD arg1, DWORD arg2) 92 { 93 dprintf(("DCISetClipList %x %x NOT IMPLEMENTED", arg1, arg2)); 94 return -4; 95 } 96 //****************************************************************************** 97 //****************************************************************************** 98 DWORD WIN32API DCISetDestination(DWORD arg1, DWORD arg2, DWORD arg3) 99 { 100 dprintf(("DCISetDestination %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3)); 101 return -4; 102 } 103 //****************************************************************************** 104 //****************************************************************************** 105 DWORD WIN32API DCISetSrcDestClip(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4) 106 { 107 dprintf(("DCISetSrcDestClip %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4)); 108 return -4; 109 } 110 //****************************************************************************** 111 //****************************************************************************** 112 DWORD WIN32API WinWatchOpen(DWORD arg1) 113 { 114 dprintf(("WinWatchOpen %x NOT IMPLEMENTED", arg1)); 155 dprintf(("GetWindowRegionData %x %x %x NOT IMPLEMENTED", hwnd, size, prd)); 115 156 return 0; 116 157 } 117 158 //****************************************************************************** 118 159 //****************************************************************************** 119 DWORD WIN 32API WinWatchClose(DWORD arg1)160 DWORD WINAPI GetDCRegionData(HDC hdc, DWORD size, LPRGNDATA prd) 120 161 { 121 dprintf(("WinWatchClose %x NOT IMPLEMENTED", arg1)); 122 return 0; 123 } 124 //****************************************************************************** 125 //****************************************************************************** 126 DWORD WIN32API WinWatchGetClipList(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4) 127 { 128 dprintf(("WinWatchGetClipList %x %x %x %xNOT IMPLEMENTED", arg1, arg2, arg3, arg4)); 129 return 0; 130 } 131 //****************************************************************************** 132 //****************************************************************************** 133 DWORD WIN32API WinWatchDidStatusChange(DWORD arg1) 134 { 135 dprintf(("WinWatchDidStatusChange %x NOT IMPLEMENTED", arg1)); 136 return 0; 137 } 138 //****************************************************************************** 139 //****************************************************************************** 140 DWORD WIN32API WinWatchNotify(DWORD arg1, DWORD arg2, DWORD arg3) 141 { 142 dprintf(("WinWatchNotify %x NOT IMPLEMENTED", arg1)); 143 return 0; 144 } 145 //****************************************************************************** 146 //****************************************************************************** 147 DWORD WIN32API GetWindowRegionData(DWORD arg1, DWORD arg2, DWORD arg3) 148 { 149 dprintf(("GetWindowRegionData %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3)); 150 return 0; 151 } 152 //****************************************************************************** 153 //****************************************************************************** 154 DWORD WIN32API GetDCRegionData(DWORD arg1, DWORD arg2, DWORD arg3) 155 { 156 dprintf(("GetDCRegionData %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3)); 162 dprintf(("GetDCRegionData %x %x %x NOT IMPLEMENTED", hdc, size, prd)); 157 163 return 0; 158 164 }
Note:
See TracChangeset
for help on using the changeset viewer.