| 1 | /* $Id: dciman32.cpp,v 1.1 2000-10-23 11:24:38 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 |  | 
|---|
| 18 | //****************************************************************************** | 
|---|
| 19 | //****************************************************************************** | 
|---|
| 20 | HDC WIN32API DCIOpenProvider() | 
|---|
| 21 | { | 
|---|
| 22 | dprintf(("DCIOpenProvider")); | 
|---|
| 23 | return CreateDCA("DISPLAY", 0, 0, 0); | 
|---|
| 24 | } | 
|---|
| 25 | //****************************************************************************** | 
|---|
| 26 | //****************************************************************************** | 
|---|
| 27 | BOOL WIN32API DCICloseProvider(HDC hdc) | 
|---|
| 28 | { | 
|---|
| 29 | dprintf(("DCICloseProvide %x", hdc)); | 
|---|
| 30 | return DeleteDC(hdc); | 
|---|
| 31 | } | 
|---|
| 32 | //****************************************************************************** | 
|---|
| 33 | //****************************************************************************** | 
|---|
| 34 | DWORD WIN32API DCIEnum(DWORD arg1, DWORD arg2, DWORD arg3, DWORD arg4, DWORD arg5) | 
|---|
| 35 | { | 
|---|
| 36 | dprintf(("DCIEnum %x %x %x %x %x NOT IMPLEMENTED", arg1, arg2, arg3, arg4, arg5)); | 
|---|
| 37 | return -4; | 
|---|
| 38 | } | 
|---|
| 39 | //****************************************************************************** | 
|---|
| 40 | //****************************************************************************** | 
|---|
| 41 | DWORD WIN32API DCICreatePrimary(DWORD arg1, DWORD arg2) | 
|---|
| 42 | { | 
|---|
| 43 | dprintf(("DCICreatePrimary %x %x NOT IMPLEMENTED", arg1, arg2)); | 
|---|
| 44 | return 0; | 
|---|
| 45 | } | 
|---|
| 46 | //****************************************************************************** | 
|---|
| 47 | //****************************************************************************** | 
|---|
| 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) | 
|---|
| 50 | { | 
|---|
| 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; | 
|---|
| 53 | } | 
|---|
| 54 | //****************************************************************************** | 
|---|
| 55 | //****************************************************************************** | 
|---|
| 56 | DWORD WIN32API DCICreateOverlay(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 57 | { | 
|---|
| 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)); | 
|---|
| 66 | return 0; | 
|---|
| 67 | } | 
|---|
| 68 | //****************************************************************************** | 
|---|
| 69 | //****************************************************************************** | 
|---|
| 70 | DWORD WIN32API DCIEndAccess(DWORD arg1) | 
|---|
| 71 | { | 
|---|
| 72 | dprintf(("DCIEndAccess %x NOT IMPLEMENTED", arg1)); | 
|---|
| 73 | return 0; | 
|---|
| 74 | } | 
|---|
| 75 | //****************************************************************************** | 
|---|
| 76 | //****************************************************************************** | 
|---|
| 77 | DWORD WIN32API DCIDestroy(DWORD arg1) | 
|---|
| 78 | { | 
|---|
| 79 | dprintf(("DCIDestroy %x NOT IMPLEMENTED", arg1)); | 
|---|
| 80 | return 0; | 
|---|
| 81 | } | 
|---|
| 82 | //****************************************************************************** | 
|---|
| 83 | //****************************************************************************** | 
|---|
| 84 | DWORD WIN32API DCIDraw(DWORD arg1) | 
|---|
| 85 | { | 
|---|
| 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)); | 
|---|
| 115 | return 0; | 
|---|
| 116 | } | 
|---|
| 117 | //****************************************************************************** | 
|---|
| 118 | //****************************************************************************** | 
|---|
| 119 | DWORD WIN32API WinWatchClose(DWORD arg1) | 
|---|
| 120 | { | 
|---|
| 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)); | 
|---|
| 157 | return 0; | 
|---|
| 158 | } | 
|---|
| 159 | //****************************************************************************** | 
|---|
| 160 | //****************************************************************************** | 
|---|
| 161 |  | 
|---|