| 1 | /* $Id: unknown.cpp,v 1.2 1999-08-05 23:28:33 phaller Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 5 | * Win32 NT Runtime / NTDLL for OS/2
|
|---|
| 6 | * Copyright 1998, 1999 Patrick Haller (phaller@gmx.net)
|
|---|
| 7 | * NT basis DLL
|
|---|
| 8 | */
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 | /*****************************************************************************
|
|---|
| 12 | * Includes *
|
|---|
| 13 | *****************************************************************************/
|
|---|
| 14 |
|
|---|
| 15 | #include <os2win.h>
|
|---|
| 16 | #include <winnt.h>
|
|---|
| 17 | #include <ntdef.h>
|
|---|
| 18 | #include <builtin.h>
|
|---|
| 19 | #include <stdlib.h>
|
|---|
| 20 | #include <string.h>
|
|---|
| 21 | #include <ctype.h>
|
|---|
| 22 | #include "misc.h"
|
|---|
| 23 | #include "unicode.h"
|
|---|
| 24 | #include "ntdll.h"
|
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 | /*****************************************************************************
|
|---|
| 28 | * Types & Defines *
|
|---|
| 29 | *****************************************************************************/
|
|---|
| 30 |
|
|---|
| 31 |
|
|---|
| 32 | /*****************************************************************************
|
|---|
| 33 | * Name : NTSTATUS NtAllocateUuids
|
|---|
| 34 | * Purpose : unknown
|
|---|
| 35 | * Parameters: unknown, probably wrong
|
|---|
| 36 | * Variables :
|
|---|
| 37 | * Result :
|
|---|
| 38 | * Remark : NTDLL.59
|
|---|
| 39 | * Status : UNTESTED STUB
|
|---|
| 40 | *
|
|---|
| 41 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
|---|
| 42 | *****************************************************************************/
|
|---|
| 43 |
|
|---|
| 44 | NTSTATUS WIN32API NtAllocateUuids(DWORD x1,
|
|---|
| 45 | DWORD x2,
|
|---|
| 46 | DWORD x3,
|
|---|
| 47 | DWORD x4)
|
|---|
| 48 | {
|
|---|
| 49 | dprintf(("NTDLL: NtAllocateUuids(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
|
|---|
| 50 | x1,
|
|---|
| 51 | x2,
|
|---|
| 52 | x3,
|
|---|
| 53 | x4));
|
|---|
| 54 |
|
|---|
| 55 | return 0;
|
|---|
| 56 | }
|
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 | /*****************************************************************************
|
|---|
| 60 | * Name : _alldiv
|
|---|
| 61 | * Purpose : unknown
|
|---|
| 62 | * Parameters: unknown, probably wrong
|
|---|
| 63 | * Variables :
|
|---|
| 64 | * Result :
|
|---|
| 65 | * Remark : NTDLL.?
|
|---|
| 66 | * Status : UNTESTED STUB
|
|---|
| 67 | *
|
|---|
| 68 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
|---|
| 69 | *****************************************************************************/
|
|---|
| 70 |
|
|---|
| 71 | DWORD CDECL OS2_alldiv(DWORD x1,
|
|---|
| 72 | DWORD x2)
|
|---|
| 73 | {
|
|---|
| 74 | dprintf(("NTDLL: _alldiv(%08xh,%08xh) not implemented.\n",
|
|---|
| 75 | x1,
|
|---|
| 76 | x2));
|
|---|
| 77 |
|
|---|
| 78 | return (x1 / x2);
|
|---|
| 79 | }
|
|---|
| 80 |
|
|---|
| 81 |
|
|---|
| 82 | /*****************************************************************************
|
|---|
| 83 | * Name : _allmul
|
|---|
| 84 | * Purpose : unknown
|
|---|
| 85 | * Parameters: unknown, probably wrong
|
|---|
| 86 | * Variables :
|
|---|
| 87 | * Result :
|
|---|
| 88 | * Remark : NTDLL.?
|
|---|
| 89 | * Status : UNTESTED STUB
|
|---|
| 90 | *
|
|---|
| 91 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
|---|
| 92 | *****************************************************************************/
|
|---|
| 93 |
|
|---|
| 94 | DWORD CDECL OS2_allmul(DWORD x1,
|
|---|
| 95 | DWORD x2)
|
|---|
| 96 | {
|
|---|
| 97 | dprintf(("NTDLL: _allmul(%08xh,%08xh) not implemented.\n",
|
|---|
| 98 | x1,
|
|---|
| 99 | x2));
|
|---|
| 100 |
|
|---|
| 101 | return (x1 * x2);
|
|---|
| 102 | }
|
|---|
| 103 |
|
|---|
| 104 |
|
|---|
| 105 | /*****************************************************************************
|
|---|
| 106 | * Name : _chkstk
|
|---|
| 107 | * Purpose : unknown
|
|---|
| 108 | * Parameters: unknown, probably wrong
|
|---|
| 109 | * Variables :
|
|---|
| 110 | * Result :
|
|---|
| 111 | * Remark : NTDLL.?
|
|---|
| 112 | * Status : UNTESTED STUB
|
|---|
| 113 | *
|
|---|
| 114 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
|---|
| 115 | *****************************************************************************/
|
|---|
| 116 |
|
|---|
| 117 | void CDECL OS2_chkstk(void)
|
|---|
| 118 | {
|
|---|
| 119 | dprintf(("NTDLL: _chkstk(%08xh,%08xh) not implemented.\n"));
|
|---|
| 120 | }
|
|---|
| 121 |
|
|---|
| 122 |
|
|---|
| 123 | /*****************************************************************************
|
|---|
| 124 | * Name : RtlLargeIntegerToChar
|
|---|
| 125 | * Purpose : unknown
|
|---|
| 126 | * Parameters: unknown, probably wrong
|
|---|
| 127 | * Variables :
|
|---|
| 128 | * Result :
|
|---|
| 129 | * Remark : NTDLL.?
|
|---|
| 130 | * Status : UNTESTED STUB
|
|---|
| 131 | *
|
|---|
| 132 | * Author : Patrick Haller [Tue, 1999/06/01 09:00]
|
|---|
| 133 | *****************************************************************************/
|
|---|
| 134 |
|
|---|
| 135 | DWORD WIN32API RtlLargeIntegerToChar(LARGE_INTEGER li,
|
|---|
| 136 | LPWSTR retstr,
|
|---|
| 137 | DWORD retlen)
|
|---|
| 138 | {
|
|---|
| 139 | dprintf(("NTDLL: RtlLargeIntegerToChar(%08xh,%08xh,%08xh) not implemented.\n",
|
|---|
| 140 | li,
|
|---|
| 141 | retstr,
|
|---|
| 142 | retlen));
|
|---|
| 143 |
|
|---|
| 144 | return 0;
|
|---|
| 145 | }
|
|---|
| 146 |
|
|---|
| 147 |
|
|---|
| 148 |
|
|---|
| 149 |
|
|---|
| 150 |
|
|---|