- Timestamp:
- Aug 18, 1999, 9:35:43 PM (26 years ago)
- Location:
- trunk/src/NTDLL
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/NTDLL/makefile
r510 r555 1 # $Id: makefile,v 1. 7 1999-08-16 16:28:01 sandervlExp $1 # $Id: makefile,v 1.8 1999-08-18 19:35:30 phaller Exp $ 2 2 3 3 # … … 21 21 OBJS = NTDLL.obj\ 22 22 file.obj\ 23 exception.obj\ 23 24 nt.obj\ 24 25 om.obj\ … … 76 77 unknown.obj: .\unknown.cpp .\ntdll.h 77 78 79 exception.obj: .\exception.cpp .\ntdll.h 80 81 78 82 clean: 79 83 $(RM) *.obj *.lib *.dll *~ *.map *.pch -
trunk/src/NTDLL/ntdll.def
r554 r555 1 ; $Id: ntdll.def,v 1.1 1 1999-08-18 18:49:18phaller Exp $1 ; $Id: ntdll.def,v 1.12 1999-08-18 19:35:30 phaller Exp $ 2 2 3 3 ;Created by BLAST for IBM's compiler … … 263 263 ; DbgPrint = _DbgPrint@8 264 264 265 ; NtRaiseException = _NtRaiseException@16 266 ; ZwRaiseException = _NtRaiseException@16 267 ; RtlRaiseException = _RtlRaiseException@4 265 NtRaiseException = ___regs_NtRaiseException@16 266 ZwRaiseException = ___regs_NtRaiseException@16 267 RtlRaiseException = ___regs_RtlRaiseException@8 268 DebugBreak = ___regs_DebugBreak@4 269 RtlRaiseStatus = _RtlRaiseStatus@4 270 268 271 RtlAcquirePebLock = _RtlAcquirePebLock@0 269 272 RtlReleasePebLock = _RtlReleasePebLock@0 … … 285 288 RtlQueryEnvironmentVariable_U = _RtlQueryEnvironmentVariable_U@12 286 289 287 RtlSystemTimeToLocalTime = _RtlSystemTimeToLocalTime@8 288 RtlTimeToSecondsSince1980 = _RtlTimeToSecondsSince1980@8 289 RtlTimeToSecondsSince1970 = _RtlTimeToSecondsSince1970@8 290 RtlSecondsSince1970ToTime = _RtlSecondsSince1970ToTime@8 290 RtlSystemTimeToLocalTime = _RtlSystemTimeToLocalTime@8 @500 291 RtlTimeToSecondsSince1970 = _RtlTimeToSecondsSince1970@8 @503 292 RtlTimeToSecondsSince1980 = _RtlTimeToSecondsSince1980@8 @504 293 RtlSecondsSince1970ToTime = _RtlSecondsSince1970ToTime@8 @476 294 RtlSecondsSince1980ToTime = _RtlSecondsSince1980ToTime@8 @477 295 RtlQueryTimeZoneInformation = _RtlQueryTimeZoneInformation@12 @463 291 296 292 297 RtlTimeToElapsedTimeFields = _RtlTimeToElapsedTimeFields@8 -
trunk/src/NTDLL/ntdll.h
r554 r555 1 /* $Id: ntdll.h,v 1. 5 1999-08-18 18:49:18phaller Exp $ */1 /* $Id: ntdll.h,v 1.6 1999-08-18 19:35:30 phaller Exp $ */ 2 2 3 3 /* … … 20 20 #endif 21 21 22 /****************** 23 * asynchronous I/O 24 */ 25 # undef Status /* conflict with X11-includes*/22 23 /* Win32 register functions */ 24 // @@@PH what does GCC with this ? 25 #define REGS_FUNC(name) __regs_##name 26 26 27 27 … … 571 571 LPDWORD timeret); 572 572 573 BOOLEAN WINAPI RtlSecondsSince1970ToTime(LP SYSTEMTIME st,574 LPDWORDtimeret);573 BOOLEAN WINAPI RtlSecondsSince1970ToTime(LPFILETIME ft, LPDWORD timeret); 574 BOOLEAN WINAPI RtlSecondsSince1980ToTime(LPFILETIME ft, LPDWORD timeret); 575 575 576 576 … … 611 611 */ 612 612 void __cdecl DbgPrint(LPCSTR fmt,LPVOID args); 613 DWORD NtRaiseException ( DWORD dwExceptionCode, DWORD dwExceptionFlags, DWORD nNumberOfArguments,CONST ULONG_PTR *lpArguments); 614 DWORD RtlRaiseException ( DWORD x); 613 void WINAPI REGS_FUNC(DebugBreak)( CONTEXT *context ); 614 void WINAPI RtlRaiseStatus( NTSTATUS status ); 615 void WINAPI REGS_FUNC(NtRaiseException)( EXCEPTION_RECORD *rec, CONTEXT *ctx, BOOL first, CONTEXT *context ); 616 //void WINAPI REGS_FUNC(RtlUnwind)( PEXCEPTION_FRAME pEndFrame, LPVOID unusedEip, PEXCEPTION_RECORD pRecord, DWORD returnEax, CONTEXT *context ); 617 void WINAPI REGS_FUNC(RtlRaiseException)( EXCEPTION_RECORD *rec, CONTEXT *context ); 618 615 619 VOID WINAPI RtlAcquirePebLock(void); 616 620 VOID WINAPI RtlReleasePebLock(void); -
trunk/src/NTDLL/time.cpp
r554 r555 1 /* $Id: time.cpp,v 1. 3 1999-08-18 18:49:18phaller Exp $ */1 /* $Id: time.cpp,v 1.4 1999-08-18 19:35:30 phaller Exp $ */ 2 2 3 3 /* … … 212 212 } 213 213 214 215 /****************************************************************************** 216 * RtlSecondsSince1980ToTime [NTDLL.477] 217 */ 218 BOOLEAN WINAPI RtlSecondsSince1980ToTime(LPFILETIME ft, 219 LPDWORD timeret) 220 { 221 dprintf(("NTDLL: RtlSecondsSince1980ToTime(%08xh,%08xh) not implemented.\n", 222 ft, 223 timeret)); 224 225 //*timeret = DOSFS_UnixTimeToFileTime(st,NULL); 226 return 1; 227 } 228 229 214 230 /****************************************************************************** 215 231 * RtlToTimeInSecondsSince1970 [NTDLL] … … 228 244 229 245 /****************************************************************************** 230 * RtlSecondsSince1970ToTime [NTDLL ]231 */ 232 BOOLEAN WINAPI RtlSecondsSince1970ToTime(LP SYSTEMTIME st,233 LPDWORD 246 * RtlSecondsSince1970ToTime [NTDLL.476] 247 */ 248 BOOLEAN WINAPI RtlSecondsSince1970ToTime(LPFILETIME ft, 249 LPDWORD timeret) 234 250 { 235 251 dprintf(("NTDLL: RtlSecondsSince1970ToTime(%08xh,%08xh) not implemented.\n", 236 st,252 ft, 237 253 timeret)); 238 254 -
trunk/src/NTDLL/unknown.cpp
r430 r555 1 /* $Id: unknown.cpp,v 1. 2 1999-08-05 23:28:33phaller Exp $ */1 /* $Id: unknown.cpp,v 1.3 1999-08-18 19:35:31 phaller Exp $ */ 2 2 3 3 /* … … 146 146 147 147 148 /***************************************************************************** 149 * Name : RtlQueryTimeZoneInformation 150 * Purpose : unknown 151 * Parameters: unknown, probably wrong 152 * Variables : 153 * Result : 154 * Remark : NTDLL.? 155 * Status : UNTESTED STUB 156 * 157 * Author : Patrick Haller [Tue, 1999/06/01 09:00] 158 *****************************************************************************/ 159 160 DWORD WIN32API RtlQueryTimeZoneInformation(DWORD x1, 161 DWORD x2, 162 DWORD x3) 163 { 164 dprintf(("NTDLL: RtlQueryTimeZoneInformation(%08xh,%08xh,%08xh) not implemented.\n", 165 x1, 166 x2, 167 x3)); 168 169 return 0; 170 } 148 171 149 172 150 173 174 175 176 177
Note:
See TracChangeset
for help on using the changeset viewer.