source: trunk/src/dciman32/dciman32.cpp@ 10367

Last change on this file since 10367 was 5828, checked in by sandervl, 24 years ago

update

File size: 7.3 KB
Line 
1/* $Id: dciman32.cpp,v 1.2 2001-05-29 20:25:27 sandervl Exp $ */
2/*
3 * DCIMAN32 Stub code
4 *
5 * Copyright 2000 Sander van Leeuwen (sandervl@xs4all.nl)
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10#include <os2win.h>
11#include <stdlib.h>
12#include <stdarg.h>
13#include <string.h>
14#include <odinwrap.h>
15#include <misc.h>
16
17#include <dciman.h>
18
19//******************************************************************************
20//******************************************************************************
21HDC WIN32API DCIOpenProvider()
22{
23 dprintf(("DCIOpenProvider"));
24 return CreateDCA("DISPLAY", 0, 0, 0);
25}
26//******************************************************************************
27//******************************************************************************
28void WIN32API DCICloseProvider(HDC hdc)
29{
30 dprintf(("DCICloseProvide %x", hdc));
31 DeleteDC(hdc);
32}
33//******************************************************************************
34//******************************************************************************
35int WINAPI DCIEnum(HDC hdc, LPRECT lprDst, LPRECT lprSrc, LPVOID lpFnCallback,
36 LPVOID lpContext)
37{
38 dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", hdc, lprDst, lprSrc, lpFnCallback, lpContext));
39 return DCI_FAIL_UNSUPPORTED; //NT returns -4
40}
41//******************************************************************************
42//******************************************************************************
43int WINAPI DCICreatePrimary(HDC hdc, LPDCISURFACEINFO *lplpSurface)
44{
45 dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", hdc, lplpSurface));
46 return DCI_FAIL_UNSUPPORTED;
47}
48//******************************************************************************
49//******************************************************************************
50int 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//******************************************************************************
60int 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//******************************************************************************
68DCIRVAL 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//******************************************************************************
75void WINAPI DCIEndAccess(LPDCISURFACEINFO pdci)
76{
77 dprintf(("DCIEndAccess %x NOT IMPLEMENTED", pdci));
78 return;
79}
80//******************************************************************************
81//******************************************************************************
82void WINAPI DCIDestroy(LPDCISURFACEINFO pdci)
83{
84 dprintf(("DCIDestroy %x NOT IMPLEMENTED", pdci));
85 return;
86}
87//******************************************************************************
88//******************************************************************************
89DCIRVAL WINAPI DCIDraw(LPDCIOFFSCREEN pdci)
90{
91 dprintf(("DCIDraw %x NOT IMPLEMENTED", pdci));
92 return DCI_FAIL_UNSUPPORTED;
93}
94//******************************************************************************
95//******************************************************************************
96DCIRVAL WINAPI DCISetClipList(LPDCIOFFSCREEN pdci, LPRGNDATA prd)
97{
98 dprintf(("DCISetClipList %x %x NOT IMPLEMENTED", pdci, prd));
99 return DCI_FAIL_UNSUPPORTED;
100}
101//******************************************************************************
102//******************************************************************************
103DCIRVAL 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//******************************************************************************
110DCIRVAL 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//******************************************************************************
117HWINWATCH WINAPI WinWatchOpen(HWND hwnd)
118{
119 dprintf(("WinWatchOpen %x NOT IMPLEMENTED", hwnd));
120 return 0;
121}
122//******************************************************************************
123//******************************************************************************
124void WINAPI WinWatchClose(HWINWATCH hWW)
125{
126 dprintf(("WinWatchClose %x NOT IMPLEMENTED", hWW));
127 return;
128}
129//******************************************************************************
130//******************************************************************************
131UINT WINAPI WinWatchGetClipList(HWINWATCH hWW, LPRECT prc, UINT size, LPRGNDATA prd)
132{
133 dprintf(("WinWatchGetClipList %x %x %x %xNOT IMPLEMENTED", hWW, prc, size, prd));
134 return 0;
135}
136//******************************************************************************
137//******************************************************************************
138BOOL WINAPI WinWatchDidStatusChange(HWINWATCH hWW)
139{
140 dprintf(("WinWatchDidStatusChange %x NOT IMPLEMENTED", hWW));
141 return 0;
142}
143//******************************************************************************
144//******************************************************************************
145BOOL WINAPI WinWatchNotify(HWINWATCH hWW, WINWATCHNOTIFYPROC NotifyCallback,
146 LPARAM NotifyParam )
147{
148 dprintf(("WinWatchNotify %x NOT IMPLEMENTED", hWW, NotifyCallback, NotifyParam));
149 return 0;
150}
151//******************************************************************************
152//******************************************************************************
153DWORD WINAPI GetWindowRegionData(HWND hwnd, DWORD size, LPRGNDATA prd)
154{
155 dprintf(("GetWindowRegionData %x %x %x NOT IMPLEMENTED", hwnd, size, prd));
156 return 0;
157}
158//******************************************************************************
159//******************************************************************************
160DWORD WINAPI GetDCRegionData(HDC hdc, DWORD size, LPRGNDATA prd)
161{
162 dprintf(("GetDCRegionData %x %x %x NOT IMPLEMENTED", hdc, size, prd));
163 return 0;
164}
165//******************************************************************************
166//******************************************************************************
167
Note: See TracBrowser for help on using the repository browser.