source: trunk/src/NTDLL/unknown.c@ 9986

Last change on this file since 9986 was 9986, checked in by sandervl, 22 years ago

PF: NTDLL update for GCC 3.2.1 + resync with Wine

File size: 9.3 KB
Line 
1/* $Id: unknown.c,v 1.2 2003-04-07 18:40:52 sandervl 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 <windows.h>
16#include <dbglog.h>
17#include "winternl.h"
18#include "wine/port.h"
19
20/*****************************************************************************
21 * Types & Defines *
22 *****************************************************************************/
23
24
25/*****************************************************************************
26 * Name : NTSTATUS NtAllocateUuids
27 * Purpose : unknown
28 * Parameters: unknown, probably wrong
29 * Variables :
30 * Result :
31 * Remark : NTDLL.59
32 * Status : UNTESTED STUB
33 *
34 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
35 *****************************************************************************/
36
37NTSTATUS WIN32API NtAllocateUuids(DWORD x1,
38 DWORD x2,
39 DWORD x3,
40 DWORD x4)
41{
42 dprintf(("NTDLL: NtAllocateUuids(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
43 x1,
44 x2,
45 x3,
46 x4));
47
48 return 0;
49}
50
51/*****************************************************************************
52 * Name : NtAlertThread
53 * Purpose : unknown
54 * Parameters: unknown, probably wrong
55 * Variables :
56 * Result :
57 * Remark : NTDLL.?
58 * Status : UNTESTED STUB
59 *
60 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
61 *****************************************************************************/
62
63DWORD WIN32API NtAlertThread(DWORD x1,
64 DWORD x2)
65{
66 dprintf(("NTDLL: NtAlertThread(%08xh,%08xh) not implemented.\n",
67 x1,
68 x2));
69
70 return 0;
71}
72
73
74/*****************************************************************************
75 * Name : NtTestAlert
76 * Purpose : unknown
77 * Parameters: unknown, probably wrong
78 * Variables :
79 * Result :
80 * Remark : NTDLL.?
81 * Status : UNTESTED STUB
82 *
83 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
84 *****************************************************************************/
85
86DWORD WIN32API NtTestAlert(DWORD x1,
87 DWORD x2)
88{
89 dprintf(("NTDLL: NtTestAlert(%08xh,%08xh) not implemented.\n",
90 x1,
91 x2));
92
93 return 0;
94}
95
96
97
98/*****************************************************************************
99 * Name : NtWriteRequestData
100 * Purpose : unknown
101 * Parameters: unknown, probably wrong
102 * Variables :
103 * Result :
104 * Remark : NTDLL.?
105 * Status : UNTESTED STUB
106 *
107 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
108 *****************************************************************************/
109
110DWORD WIN32API NtWriteRequestData(DWORD x1,
111 DWORD x2,
112 DWORD x3,
113 DWORD x4,
114 DWORD x5)
115{
116 dprintf(("NTDLL: NtWriteRequestData(%08xh,%08xh,%08xh,%08xh,%08xh) not implemented.\n",
117 x1,
118 x2,
119 x3,
120 x4,
121 x5));
122
123 return 0;
124}
125
126
127/*****************************************************************************
128 * Name : NtImpersonateClientOfPort
129 * Purpose : unknown
130 * Parameters: unknown, probably wrong
131 * Variables :
132 * Result :
133 * Remark : NTDLL.?
134 * Status : UNTESTED STUB
135 *
136 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
137 *****************************************************************************/
138
139DWORD WIN32API NtImpersonateClientOfPort(DWORD x1,
140 DWORD x2,
141 DWORD x3,
142 DWORD x4)
143{
144 dprintf(("NTDLL: NtImpersonateClientOfPort(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
145 x1,
146 x2,
147 x3,
148 x4));
149
150 return 0;
151}
152
153
154/*****************************************************************************
155 * Name : NtReplyWaitReplyPort
156 * Purpose : unknown
157 * Parameters: unknown, probably wrong
158 * Variables :
159 * Result :
160 * Remark : NTDLL.?
161 * Status : UNTESTED STUB
162 *
163 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
164 *****************************************************************************/
165
166DWORD WIN32API NtReplyWaitReplyPort(DWORD x1,
167 DWORD x2,
168 DWORD x3,
169 DWORD x4)
170{
171 dprintf(("NTDLL: NtReplyWaitReplyPort(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
172 x1,
173 x2,
174 x3,
175 x4));
176
177 return 0;
178}
179
180
181/*****************************************************************************
182 * Name : NtReadRequestData
183 * Purpose : unknown
184 * Parameters: unknown, probably wrong
185 * Variables :
186 * Result :
187 * Remark : NTDLL.?
188 * Status : UNTESTED STUB
189 *
190 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
191 *****************************************************************************/
192
193DWORD WIN32API NtReadRequestData(DWORD x1,
194 DWORD x2,
195 DWORD x3,
196 DWORD x4,
197 DWORD x5)
198{
199 dprintf(("NTDLL: NtReadRequestData(%08xh,%08xh,%08xh,%08xh,%08xh) not implemented.\n",
200 x1,
201 x2,
202 x3,
203 x4,
204 x5));
205
206 return 0;
207}
208
209
210/*****************************************************************************
211 * Name : NtRequestPort
212 * Purpose : unknown
213 * Parameters: unknown, probably wrong
214 * Variables :
215 * Result :
216 * Remark : NTDLL.?
217 * Status : UNTESTED STUB
218 *
219 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
220 *****************************************************************************/
221
222DWORD WIN32API NtRequestPort(DWORD x1,
223 DWORD x2,
224 DWORD x3,
225 DWORD x4)
226{
227 dprintf(("NTDLL: NtRequestPort(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
228 x1,
229 x2,
230 x3,
231 x4));
232
233 return 0;
234}
235
236
237/*****************************************************************************
238 * Name : NtReplyPort
239 * Purpose : unknown
240 * Parameters: unknown, probably wrong
241 * Variables :
242 * Result :
243 * Remark : NTDLL.?
244 * Status : UNTESTED STUB
245 *
246 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
247 *****************************************************************************/
248
249DWORD WIN32API NtReplyPort(DWORD x1,
250 DWORD x2,
251 DWORD x3,
252 DWORD x4)
253{
254 dprintf(("NTDLL: NtReplyPort(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
255 x1,
256 x2,
257 x3,
258 x4));
259
260 return 0;
261}
262
263
264
265/**************************************************************************
266 * NTDLL_chkstk [NTDLL.862]
267 * NTDLL_alloca_probe [NTDLL.861]
268 * Glorified "enter xxxx".
269 */
270extern void CDECL _chkstk(DWORD x1);
271extern void CDECL _alloca_probe(DWORD x1);
272
273
274/*****************************************************************************
275 * Name : RtlConvertSidToUnicodeString
276 * Purpose : unknown
277 * Parameters: unknown, probably wrong
278 * Variables :
279 * Result :
280 * Remark : NTDLL.?
281 * Status : UNTESTED STUB
282 *
283 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
284 *****************************************************************************/
285
286DWORD WIN32API RtlConvertSidToUnicodeString(DWORD x1,
287 DWORD x2,
288 DWORD x3)
289{
290 dprintf(("NTDLL: RtlConvertSidToUnicodeString(%08xh,%08xh,%08xh) not implemented.\n",
291 x1,
292 x2,
293 x3));
294
295 return 0;
296}
297
298
299/*****************************************************************************
300 * Name : RtlRandom
301 * Purpose : unknown
302 * Parameters: unknown, probably wrong
303 * Variables :
304 * Result :
305 * Remark : NTDLL.466
306 * Status : UNTESTED STUB
307 *
308 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
309 *****************************************************************************/
310
311DWORD WIN32API RtlRandom(DWORD x1)
312{
313 dprintf(("NTDLL: RtlRandom(%08xh) not implemented.\n",
314 x1));
315
316 return rand();
317}
318
319
320/**
321 * Opens a thread...
322 * @returns Error code?
323 * @param pThreadHandle
324 * @param dwFlags
325 * @param pvAttribs Pointer to some attribute structure.
326 * @param padwOpenThreadParam Pointer to array of dword it seems. 2 entries?
327 * @status stub
328 * @author knut st. osmundsen (knut.stange.osmundsen@mynd.no)
329 * @remark http://www.windowsitlibrary.com/Content/356/08/6.html
330 * Used by TaskMgr.exe.
331 */
332DWORD WIN32API NtOpenThread(PHANDLE phThreadHandle, DWORD dwFlags,
333 POBJECT_ATTRIBUTES pAttribs, PDWORD padwOpenThreadParam)
334{
335 dprintf(("NTDLL: RtlRandom(%08xh,%08xh,%08xh,%08xh) not implemented.\n",
336 phThreadHandle, dwFlags, pAttribs, padwOpenThreadParam));
337
338 return ERROR_NOT_SUPPORTED;
339}
340
Note: See TracBrowser for help on using the repository browser.