| 1 | /* $Id: systemfunction.cpp,v 1.1 2001-05-19 11:13:05 sandervl Exp $ */
|
|---|
| 2 | /*
|
|---|
| 3 | * undocumented SystemFunctionXXX functions
|
|---|
| 4 | */
|
|---|
| 5 |
|
|---|
| 6 | #include <os2win.h>
|
|---|
| 7 | #include <stdlib.h>
|
|---|
| 8 | #include <stdarg.h>
|
|---|
| 9 | #include <string.h>
|
|---|
| 10 | #include <odinwrap.h>
|
|---|
| 11 | #include <misc.h>
|
|---|
| 12 |
|
|---|
| 13 | ODINDEBUGCHANNEL(ADVAPI32-SYSFUNC)
|
|---|
| 14 |
|
|---|
| 15 | //******************************************************************************
|
|---|
| 16 | //******************************************************************************
|
|---|
| 17 | DWORD WINAPI SystemFunction001(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 18 | {
|
|---|
| 19 | dprintf(("NOT IMPLEMENTED: SystemFunction001 %x %x %x", arg1, arg2, arg3));
|
|---|
| 20 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 21 | return 0;
|
|---|
| 22 | }
|
|---|
| 23 | //******************************************************************************
|
|---|
| 24 | //******************************************************************************
|
|---|
| 25 | DWORD WINAPI SystemFunction002(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 26 | {
|
|---|
| 27 | dprintf(("NOT IMPLEMENTED: SystemFunction002 %x %x %x", arg1, arg2, arg3));
|
|---|
| 28 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 29 | return 0;
|
|---|
| 30 | }
|
|---|
| 31 | //******************************************************************************
|
|---|
| 32 | //******************************************************************************
|
|---|
| 33 | DWORD WINAPI SystemFunction003(DWORD arg1, DWORD arg2)
|
|---|
| 34 | {
|
|---|
| 35 | dprintf(("NOT IMPLEMENTED: SystemFunction003 %x %x %x", arg1, arg2));
|
|---|
| 36 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 37 | return 0;
|
|---|
| 38 | }
|
|---|
| 39 | //******************************************************************************
|
|---|
| 40 | //******************************************************************************
|
|---|
| 41 | DWORD WINAPI SystemFunction004(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 42 | {
|
|---|
| 43 | dprintf(("NOT IMPLEMENTED: SystemFunction004 %x %x %x", arg1, arg2, arg3));
|
|---|
| 44 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 45 | return 0;
|
|---|
| 46 | }
|
|---|
| 47 | //******************************************************************************
|
|---|
| 48 | //******************************************************************************
|
|---|
| 49 | DWORD WINAPI SystemFunction005(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 50 | {
|
|---|
| 51 | dprintf(("NOT IMPLEMENTED: SystemFunction005 %x %x %x", arg1, arg2, arg3));
|
|---|
| 52 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 53 | return 0;
|
|---|
| 54 | }
|
|---|
| 55 | //******************************************************************************
|
|---|
| 56 | //******************************************************************************
|
|---|
| 57 | DWORD WINAPI SystemFunction006(DWORD arg1, DWORD arg2)
|
|---|
| 58 | {
|
|---|
| 59 | dprintf(("NOT IMPLEMENTED: SystemFunction006 %x %x %x", arg1, arg2));
|
|---|
| 60 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 61 | return 0;
|
|---|
| 62 | }
|
|---|
| 63 | //******************************************************************************
|
|---|
| 64 | //******************************************************************************
|
|---|
| 65 | DWORD WINAPI SystemFunction007(DWORD arg1, DWORD arg2)
|
|---|
| 66 | {
|
|---|
| 67 | dprintf(("NOT IMPLEMENTED: SystemFunction007 %x %x %x", arg1, arg2));
|
|---|
| 68 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 69 | return 0;
|
|---|
| 70 | }
|
|---|
| 71 | //******************************************************************************
|
|---|
| 72 | //******************************************************************************
|
|---|
| 73 | DWORD WINAPI SystemFunction008(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 74 | {
|
|---|
| 75 | dprintf(("NOT IMPLEMENTED: SystemFunction008 %x %x %x", arg1, arg2, arg3));
|
|---|
| 76 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 77 | return 0;
|
|---|
| 78 | }
|
|---|
| 79 | //******************************************************************************
|
|---|
| 80 | //******************************************************************************
|
|---|
| 81 | DWORD WINAPI SystemFunction009(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 82 | {
|
|---|
| 83 | dprintf(("NOT IMPLEMENTED: SystemFunction009 %x %x %x", arg1, arg2, arg3));
|
|---|
| 84 | return SystemFunction008(arg1, arg2, arg3);
|
|---|
| 85 | }
|
|---|
| 86 | //******************************************************************************
|
|---|
| 87 | //******************************************************************************
|
|---|
| 88 | DWORD WINAPI SystemFunction010(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 89 | {
|
|---|
| 90 | dprintf(("NOT IMPLEMENTED: SystemFunction010 %x %x %x", arg1, arg2, arg3));
|
|---|
| 91 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 92 | return 0;
|
|---|
| 93 | }
|
|---|
| 94 | //******************************************************************************
|
|---|
| 95 | //******************************************************************************
|
|---|
| 96 | DWORD WINAPI SystemFunction011(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 97 | {
|
|---|
| 98 | dprintf(("NOT IMPLEMENTED: SystemFunction011 %x %x %x", arg1, arg2, arg3));
|
|---|
| 99 | return SystemFunction010(arg1, arg2, arg3);
|
|---|
| 100 | }
|
|---|
| 101 | //******************************************************************************
|
|---|
| 102 | //******************************************************************************
|
|---|
| 103 | DWORD WINAPI SystemFunction012(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 104 | {
|
|---|
| 105 | dprintf(("NOT IMPLEMENTED: SystemFunction012 %x %x %x", arg1, arg2, arg3));
|
|---|
| 106 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 107 | return 0;
|
|---|
| 108 | }
|
|---|
| 109 | //******************************************************************************
|
|---|
| 110 | //******************************************************************************
|
|---|
| 111 | DWORD WINAPI SystemFunction013(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 112 | {
|
|---|
| 113 | dprintf(("NOT IMPLEMENTED: SystemFunction013 %x %x %x", arg1, arg2, arg3));
|
|---|
| 114 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 115 | return 0;
|
|---|
| 116 | }
|
|---|
| 117 | //******************************************************************************
|
|---|
| 118 | //******************************************************************************
|
|---|
| 119 | DWORD WINAPI SystemFunction014(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 120 | {
|
|---|
| 121 | dprintf(("NOT IMPLEMENTED: SystemFunction014 %x %x %x", arg1, arg2, arg3));
|
|---|
| 122 | return SystemFunction012(arg1, arg2, arg3);
|
|---|
| 123 | }
|
|---|
| 124 | //******************************************************************************
|
|---|
| 125 | //******************************************************************************
|
|---|
| 126 | DWORD WINAPI SystemFunction015(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 127 | {
|
|---|
| 128 | dprintf(("NOT IMPLEMENTED: SystemFunction015 %x %x %x", arg1, arg2, arg3));
|
|---|
| 129 | return SystemFunction013(arg1, arg2, arg3);
|
|---|
| 130 | }
|
|---|
| 131 | //******************************************************************************
|
|---|
| 132 | //******************************************************************************
|
|---|
| 133 | DWORD WINAPI SystemFunction016(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 134 | {
|
|---|
| 135 | dprintf(("NOT IMPLEMENTED: SystemFunction016 %x %x %x", arg1, arg2, arg3));
|
|---|
| 136 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 137 | return 0;
|
|---|
| 138 | }
|
|---|
| 139 | //******************************************************************************
|
|---|
| 140 | //******************************************************************************
|
|---|
| 141 | DWORD WINAPI SystemFunction017(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 142 | {
|
|---|
| 143 | dprintf(("NOT IMPLEMENTED: SystemFunction017 %x %x %x", arg1, arg2, arg3));
|
|---|
| 144 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 145 | return 0;
|
|---|
| 146 | }
|
|---|
| 147 | //******************************************************************************
|
|---|
| 148 | //******************************************************************************
|
|---|
| 149 | DWORD WINAPI SystemFunction018(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 150 | {
|
|---|
| 151 | dprintf(("NOT IMPLEMENTED: SystemFunction018 %x %x %x", arg1, arg2, arg3));
|
|---|
| 152 | return SystemFunction016(arg1, arg2, arg3);
|
|---|
| 153 | }
|
|---|
| 154 | //******************************************************************************
|
|---|
| 155 | //******************************************************************************
|
|---|
| 156 | DWORD WINAPI SystemFunction019(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 157 | {
|
|---|
| 158 | dprintf(("NOT IMPLEMENTED: SystemFunction019 %x %x %x", arg1, arg2, arg3));
|
|---|
| 159 | return SystemFunction017(arg1, arg2, arg3);
|
|---|
| 160 | }
|
|---|
| 161 | //******************************************************************************
|
|---|
| 162 | //******************************************************************************
|
|---|
| 163 | DWORD WINAPI SystemFunction020(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 164 | {
|
|---|
| 165 | dprintf(("NOT IMPLEMENTED: SystemFunction020 %x %x %x", arg1, arg2, arg3));
|
|---|
| 166 | return SystemFunction012(arg1, arg2, arg3);
|
|---|
| 167 | }
|
|---|
| 168 | //******************************************************************************
|
|---|
| 169 | //******************************************************************************
|
|---|
| 170 | DWORD WINAPI SystemFunction021(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 171 | {
|
|---|
| 172 | dprintf(("NOT IMPLEMENTED: SystemFunction021 %x %x %x", arg1, arg2, arg3));
|
|---|
| 173 | return SystemFunction013(arg1, arg2, arg3);
|
|---|
| 174 | }
|
|---|
| 175 | //******************************************************************************
|
|---|
| 176 | //******************************************************************************
|
|---|
| 177 | DWORD WINAPI SystemFunction022(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 178 | {
|
|---|
| 179 | dprintf(("NOT IMPLEMENTED: SystemFunction022 %x %x %x", arg1, arg2, arg3));
|
|---|
| 180 | return SystemFunction020(arg1, arg2, arg3);
|
|---|
| 181 | }
|
|---|
| 182 | //******************************************************************************
|
|---|
| 183 | //******************************************************************************
|
|---|
| 184 | DWORD WINAPI SystemFunction023(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 185 | {
|
|---|
| 186 | dprintf(("NOT IMPLEMENTED: SystemFunction023 %x %x %x", arg1, arg2, arg3));
|
|---|
| 187 | return SystemFunction021(arg1, arg2, arg3);
|
|---|
| 188 | }
|
|---|
| 189 | //******************************************************************************
|
|---|
| 190 | //******************************************************************************
|
|---|
| 191 | DWORD WINAPI SystemFunction024(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 192 | {
|
|---|
| 193 | dprintf(("NOT IMPLEMENTED: SystemFunction024 %x %x %x", arg1, arg2, arg3));
|
|---|
| 194 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 195 | return 0;
|
|---|
| 196 | }
|
|---|
| 197 | //******************************************************************************
|
|---|
| 198 | //******************************************************************************
|
|---|
| 199 | DWORD WINAPI SystemFunction025(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 200 | {
|
|---|
| 201 | dprintf(("NOT IMPLEMENTED: SystemFunction025 %x %x %x", arg1, arg2, arg3));
|
|---|
| 202 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 203 | return 0;
|
|---|
| 204 | }
|
|---|
| 205 | //******************************************************************************
|
|---|
| 206 | //******************************************************************************
|
|---|
| 207 | DWORD WINAPI SystemFunction026(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 208 | {
|
|---|
| 209 | dprintf(("NOT IMPLEMENTED: SystemFunction026 %x %x %x", arg1, arg2, arg3));
|
|---|
| 210 | return SystemFunction024(arg1, arg2, arg3);
|
|---|
| 211 | }
|
|---|
| 212 | //******************************************************************************
|
|---|
| 213 | //******************************************************************************
|
|---|
| 214 | DWORD WINAPI SystemFunction027(DWORD arg1, DWORD arg2, DWORD arg3)
|
|---|
| 215 | {
|
|---|
| 216 | dprintf(("NOT IMPLEMENTED: SystemFunction027 %x %x %x", arg1, arg2, arg3));
|
|---|
| 217 | return SystemFunction025(arg1, arg2, arg3);
|
|---|
| 218 | }
|
|---|
| 219 | //******************************************************************************
|
|---|
| 220 | //******************************************************************************
|
|---|
| 221 | DWORD WINAPI SystemFunction028(DWORD arg1, DWORD arg2)
|
|---|
| 222 | {
|
|---|
| 223 | dprintf(("NOT IMPLEMENTED: SystemFunction028 %x %x", arg1, arg2));
|
|---|
| 224 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 225 | return 0;
|
|---|
| 226 | }
|
|---|
| 227 | //******************************************************************************
|
|---|
| 228 | //******************************************************************************
|
|---|
| 229 | DWORD WINAPI SystemFunction029(DWORD arg1, DWORD arg2)
|
|---|
| 230 | {
|
|---|
| 231 | dprintf(("NOT IMPLEMENTED: SystemFunction029 %x %x", arg1, arg2));
|
|---|
| 232 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 233 | return 0;
|
|---|
| 234 | }
|
|---|
| 235 | //******************************************************************************
|
|---|
| 236 | //calls RtlCompareMemory
|
|---|
| 237 | //******************************************************************************
|
|---|
| 238 | DWORD WINAPI SystemFunction030(DWORD arg1, DWORD arg2)
|
|---|
| 239 | {
|
|---|
| 240 | dprintf(("NOT IMPLEMENTED: SystemFunction030 %x %x", arg1, arg2));
|
|---|
| 241 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 242 | return 0;
|
|---|
| 243 | }
|
|---|
| 244 | //******************************************************************************
|
|---|
| 245 | //looks the same as 030
|
|---|
| 246 | //******************************************************************************
|
|---|
| 247 | DWORD WINAPI SystemFunction031(DWORD arg1, DWORD arg2)
|
|---|
| 248 | {
|
|---|
| 249 | dprintf(("NOT IMPLEMENTED: SystemFunction031 %x %x", arg1, arg2));
|
|---|
| 250 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 251 | return 0;
|
|---|
| 252 | }
|
|---|
| 253 | //******************************************************************************
|
|---|
| 254 | //******************************************************************************
|
|---|
| 255 | DWORD WINAPI SystemFunction032(DWORD arg1, DWORD arg2)
|
|---|
| 256 | {
|
|---|
| 257 | dprintf(("NOT IMPLEMENTED: SystemFunction032 %x %x", arg1, arg2));
|
|---|
| 258 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 259 | return 0;
|
|---|
| 260 | }
|
|---|
| 261 | //******************************************************************************
|
|---|
| 262 | //******************************************************************************
|
|---|
| 263 | DWORD WINAPI SystemFunction033(DWORD arg1, DWORD arg2)
|
|---|
| 264 | {
|
|---|
| 265 | dprintf(("NOT IMPLEMENTED: SystemFunction033 %x %x", arg1, arg2));
|
|---|
| 266 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|---|
| 267 | return 0;
|
|---|
| 268 | }
|
|---|
| 269 | //******************************************************************************
|
|---|
| 270 | //******************************************************************************
|
|---|