| 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 SystemFunction011(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 18 | { | 
|---|
| 19 | dprintf(("NOT IMPLEMENTED: SystemFunction011 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 20 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 21 | return 0; | 
|---|
| 22 | } | 
|---|
| 23 | //****************************************************************************** | 
|---|
| 24 | //****************************************************************************** | 
|---|
| 25 | DWORD WINAPI SystemFunction014(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 26 | { | 
|---|
| 27 | dprintf(("NOT IMPLEMENTED: SystemFunction014 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 28 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 29 | return 0; | 
|---|
| 30 | } | 
|---|
| 31 | //****************************************************************************** | 
|---|
| 32 | //****************************************************************************** | 
|---|
| 33 | DWORD WINAPI SystemFunction015(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 34 | { | 
|---|
| 35 | dprintf(("NOT IMPLEMENTED: SystemFunction015 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 36 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 37 | return 0; | 
|---|
| 38 | } | 
|---|
| 39 | //****************************************************************************** | 
|---|
| 40 | //****************************************************************************** | 
|---|
| 41 | DWORD WINAPI SystemFunction016(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 42 | { | 
|---|
| 43 | dprintf(("NOT IMPLEMENTED: SystemFunction016 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 44 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 45 | return 0; | 
|---|
| 46 | } | 
|---|
| 47 | //****************************************************************************** | 
|---|
| 48 | //****************************************************************************** | 
|---|
| 49 | DWORD WINAPI SystemFunction017(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 50 | { | 
|---|
| 51 | dprintf(("NOT IMPLEMENTED: SystemFunction017 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 52 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 53 | return 0; | 
|---|
| 54 | } | 
|---|
| 55 | //****************************************************************************** | 
|---|
| 56 | //****************************************************************************** | 
|---|
| 57 | DWORD WINAPI SystemFunction018(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 58 | { | 
|---|
| 59 | dprintf(("NOT IMPLEMENTED: SystemFunction018 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 60 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 61 | return 0; | 
|---|
| 62 | } | 
|---|
| 63 | //****************************************************************************** | 
|---|
| 64 | //****************************************************************************** | 
|---|
| 65 | DWORD WINAPI SystemFunction019(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 66 | { | 
|---|
| 67 | dprintf(("NOT IMPLEMENTED: SystemFunction019 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 68 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 69 | return 0; | 
|---|
| 70 | } | 
|---|
| 71 | //****************************************************************************** | 
|---|
| 72 | //****************************************************************************** | 
|---|
| 73 | DWORD WINAPI SystemFunction020(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 74 | { | 
|---|
| 75 | dprintf(("NOT IMPLEMENTED: SystemFunction020 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 76 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 77 | return 0; | 
|---|
| 78 | } | 
|---|
| 79 | //****************************************************************************** | 
|---|
| 80 | //****************************************************************************** | 
|---|
| 81 | DWORD WINAPI SystemFunction021(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 82 | { | 
|---|
| 83 | dprintf(("NOT IMPLEMENTED: SystemFunction021 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 84 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 85 | return 0; | 
|---|
| 86 | } | 
|---|
| 87 | //****************************************************************************** | 
|---|
| 88 | //****************************************************************************** | 
|---|
| 89 | DWORD WINAPI SystemFunction022(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 90 | { | 
|---|
| 91 | dprintf(("NOT IMPLEMENTED: SystemFunction022 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 92 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 93 | return 0; | 
|---|
| 94 | } | 
|---|
| 95 | //****************************************************************************** | 
|---|
| 96 | //****************************************************************************** | 
|---|
| 97 | DWORD WINAPI SystemFunction023(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 98 | { | 
|---|
| 99 | dprintf(("NOT IMPLEMENTED: SystemFunction023 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 100 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 101 | return 0; | 
|---|
| 102 | } | 
|---|
| 103 | //****************************************************************************** | 
|---|
| 104 | //****************************************************************************** | 
|---|
| 105 | DWORD WINAPI SystemFunction026(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 106 | { | 
|---|
| 107 | dprintf(("NOT IMPLEMENTED: SystemFunction026 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 108 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 109 | return 0; | 
|---|
| 110 | } | 
|---|
| 111 | //****************************************************************************** | 
|---|
| 112 | //****************************************************************************** | 
|---|
| 113 | DWORD WINAPI SystemFunction027(DWORD arg1, DWORD arg2, DWORD arg3) | 
|---|
| 114 | { | 
|---|
| 115 | dprintf(("NOT IMPLEMENTED: SystemFunction027 %x %x %x", arg1, arg2, arg3)); | 
|---|
| 116 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 117 | return 0; | 
|---|
| 118 | } | 
|---|
| 119 | //****************************************************************************** | 
|---|
| 120 | //****************************************************************************** | 
|---|
| 121 | DWORD WINAPI SystemFunction028(DWORD arg1, DWORD arg2) | 
|---|
| 122 | { | 
|---|
| 123 | dprintf(("NOT IMPLEMENTED: SystemFunction028 %x %x", arg1, arg2)); | 
|---|
| 124 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 125 | return 0; | 
|---|
| 126 | } | 
|---|
| 127 | //****************************************************************************** | 
|---|
| 128 | //****************************************************************************** | 
|---|
| 129 | DWORD WINAPI SystemFunction029(DWORD arg1, DWORD arg2) | 
|---|
| 130 | { | 
|---|
| 131 | dprintf(("NOT IMPLEMENTED: SystemFunction029 %x %x", arg1, arg2)); | 
|---|
| 132 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 133 | return 0; | 
|---|
| 134 | } | 
|---|
| 135 | //****************************************************************************** | 
|---|
| 136 | //looks the same as 030 | 
|---|
| 137 | //****************************************************************************** | 
|---|
| 138 | DWORD WINAPI SystemFunction031(DWORD arg1, DWORD arg2) | 
|---|
| 139 | { | 
|---|
| 140 | dprintf(("NOT IMPLEMENTED: SystemFunction031 %x %x", arg1, arg2)); | 
|---|
| 141 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 142 | return 0; | 
|---|
| 143 | } | 
|---|
| 144 | //****************************************************************************** | 
|---|
| 145 | //****************************************************************************** | 
|---|
| 146 | DWORD WINAPI SystemFunction033(DWORD arg1, DWORD arg2) | 
|---|
| 147 | { | 
|---|
| 148 | dprintf(("NOT IMPLEMENTED: SystemFunction033 %x %x", arg1, arg2)); | 
|---|
| 149 | SetLastError(ERROR_CALL_NOT_IMPLEMENTED); | 
|---|
| 150 | return 0; | 
|---|
| 151 | } | 
|---|
| 152 | //****************************************************************************** | 
|---|
| 153 | //****************************************************************************** | 
|---|