Finalize organization of rtlfuncs.h and update FIXME status.

svn path=/trunk/; revision=16293
This commit is contained in:
Alex Ionescu 2005-06-26 16:35:51 +00:00
parent edbcb1e0f4
commit 3562ba1c03
3 changed files with 79 additions and 95 deletions

View file

@ -13,10 +13,10 @@ List:
Priority 1: Priority 1:
- LDR_DATA_TABLE_ENTRY has a ROSSYM Hack (GvG) [ldrtypes.h] - LDR_DATA_TABLE_ENTRY has a ROSSYM Hack (GvG) [ldrtypes.h]
- FIXED: LDR_FLAGS are not correct (Alex) [ldrtypes.h] - FIXED: LDR_FLAGS are not correct (Alex) [ldrtypes.h]
- FIXED: Remove extra Process Info classes from ddk [zwtypes.h] - FIXED: Remove extra Process Info classes from ddk (Alex) [zwtypes.h]
- FIXED: PsEstablishWin32Callouts + Parameters don't match NT (Alex) [obtypes.h] - FIXED: PsEstablishWin32Callouts + Parameters don't match NT (Alex) [obtypes.h]
- PROCESS_SET_PORT was removed, ThomasW did a patch about this? (Thomas) [pstypes.h] - FIXED: PROCESS_SET_PORT was removed, ThomasW did a patch about this? (Thomas) [pstypes.h]
- Some files need cleanup (Alex + Eric) [zwfuncs.h, rtlfuncs.h, rtltypes.h] - FIXED: Some files need cleanup (Alex + Eric) [zwfuncs.h, rtlfuncs.h, rtltypes.h]
Priority 2: Priority 2:
- DEVICE_NODE has 2 fields not part of NT's defintion [iotypes.h] - DEVICE_NODE has 2 fields not part of NT's defintion [iotypes.h]

View file

@ -16,8 +16,6 @@
/* PROTOTYPES ****************************************************************/ /* PROTOTYPES ****************************************************************/
/* FIXME: FILE NEEDS SOME ALPHABETIZING AND REGROUP */
/* /*
* Error and Exception Functions * Error and Exception Functions
*/ */
@ -60,10 +58,10 @@ RtlRaiseStatus(NTSTATUS Status);
VOID VOID
STDCALL STDCALL
RtlUnwind( RtlUnwind(
PEXCEPTION_REGISTRATION RegistrationFrame, PEXCEPTION_REGISTRATION RegistrationFrame,
PVOID ReturnAddress, PVOID ReturnAddress,
PEXCEPTION_RECORD ExceptionRecord, PEXCEPTION_RECORD ExceptionRecord,
DWORD EaxValue DWORD EaxValue
); );
/* /*
@ -758,10 +756,6 @@ RtlOemToUnicodeN(
ULONG BytesInOemString ULONG BytesInOemString
); );
/*
* Ansi->Multibyte String Functions
*/
/* /*
* Ansi->Unicode String Functions * Ansi->Unicode String Functions
*/ */
@ -843,6 +837,14 @@ RtlInitUnicodeString(
IN OUT PUNICODE_STRING DestinationString, IN OUT PUNICODE_STRING DestinationString,
IN PCWSTR SourceString); IN PCWSTR SourceString);
ULONG
STDCALL
RtlIsTextUnicode(
PVOID Buffer,
ULONG Length,
ULONG *Flags
);
BOOLEAN BOOLEAN
STDCALL STDCALL
RtlPrefixUnicodeString( RtlPrefixUnicodeString(
@ -979,8 +981,6 @@ RtlFillMemoryUlong(
/* /*
* Process Management Functions * Process Management Functions
*/ */
/* FIXME: Some of these will be split up into enviro/path functions */
VOID VOID
STDCALL STDCALL
RtlAcquirePebLock(VOID); RtlAcquirePebLock(VOID);
@ -1015,21 +1015,6 @@ RtlCreateUserProcess(
OUT PRTL_PROCESS_INFO ProcessInfo OUT PRTL_PROCESS_INFO ProcessInfo
); );
NTSTATUS
STDCALL
RtlDestroyProcessParameters(IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters);
VOID
STDCALL
RtlReleasePebLock(VOID);
NTSTATUS
STDCALL
RtlCreateEnvironment(
BOOLEAN Inherit,
PWSTR *Environment
);
NTSTATUS NTSTATUS
STDCALL STDCALL
RtlCreateUserThread( RtlCreateUserThread(
@ -1047,24 +1032,33 @@ RtlCreateUserThread(
PRTL_USER_PROCESS_PARAMETERS PRTL_USER_PROCESS_PARAMETERS
STDCALL STDCALL
RtlDeNormalizeProcessParams( RtlDeNormalizeProcessParams(IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters);
IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters
NTSTATUS
STDCALL
RtlDestroyProcessParameters(IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters);
PRTL_USER_PROCESS_PARAMETERS
STDCALL
RtlNormalizeProcessParams(IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters);
VOID
STDCALL
RtlReleasePebLock(VOID);
/*
* Environment/Path Functions
*/
NTSTATUS
STDCALL
RtlCreateEnvironment(
BOOLEAN Inherit,
PWSTR *Environment
); );
VOID VOID
STDCALL STDCALL
RtlDestroyEnvironment( RtlDestroyEnvironment(PWSTR Environment);
PWSTR Environment
);
NTSTATUS
STDCALL
RtlExpandEnvironmentStrings_U(
PWSTR Environment,
PUNICODE_STRING Source,
PUNICODE_STRING Destination,
PULONG Length
);
BOOLEAN BOOLEAN
STDCALL STDCALL
@ -1085,6 +1079,24 @@ RtlDosSearchPath_U(
WCHAR **shortname WCHAR **shortname
); );
BOOLEAN
STDCALL
RtlDosPathNameToNtPathName_U(
PWSTR DosName,
PUNICODE_STRING NtName,
PWSTR *ShortName,
PCURDIR CurrentDirectory
);
NTSTATUS
STDCALL
RtlExpandEnvironmentStrings_U(
PWSTR Environment,
PUNICODE_STRING Source,
PUNICODE_STRING Destination,
PULONG Length
);
ULONG ULONG
STDCALL STDCALL
RtlGetCurrentDirectory_U( RtlGetCurrentDirectory_U(
@ -1101,10 +1113,12 @@ RtlGetFullPathName_U(
WCHAR **shortname WCHAR **shortname
); );
PRTL_USER_PROCESS_PARAMETERS BOOLEAN
STDCALL STDCALL
RtlNormalizeProcessParams( RtlIsNameLegalDOS8Dot3(
IN PRTL_USER_PROCESS_PARAMETERS ProcessParameters IN PUNICODE_STRING UnicodeName,
IN PANSI_STRING AnsiName,
PBOOLEAN Unknown
); );
NTSTATUS NTSTATUS
@ -1211,7 +1225,6 @@ RtlReleaseResource(
IN PRTL_RESOURCE Resource IN PRTL_RESOURCE Resource
); );
/* /*
* Compression Functions * Compression Functions
*/ */
@ -1394,43 +1407,43 @@ DbgBreakPoint(VOID);
*/ */
PRTL_HANDLE_TABLE_ENTRY PRTL_HANDLE_TABLE_ENTRY
STDCALL STDCALL
RtlAllocateHandle ( RtlAllocateHandle(
IN PRTL_HANDLE_TABLE HandleTable, IN PRTL_HANDLE_TABLE HandleTable,
IN OUT PULONG Index IN OUT PULONG Index
); );
VOID VOID
STDCALL STDCALL
RtlDestroyHandleTable (IN PRTL_HANDLE_TABLE HandleTable); RtlDestroyHandleTable(IN PRTL_HANDLE_TABLE HandleTable);
BOOLEAN BOOLEAN
STDCALL STDCALL
RtlFreeHandle ( RtlFreeHandle(
IN PRTL_HANDLE_TABLE HandleTable, IN PRTL_HANDLE_TABLE HandleTable,
IN PRTL_HANDLE_TABLE_ENTRY Handle IN PRTL_HANDLE_TABLE_ENTRY Handle
); );
VOID VOID
STDCALL STDCALL
RtlInitializeHandleTable ( RtlInitializeHandleTable(
IN ULONG TableSize, IN ULONG TableSize,
IN ULONG HandleSize, IN ULONG HandleSize,
IN PRTL_HANDLE_TABLE HandleTable IN PRTL_HANDLE_TABLE HandleTable
); );
BOOLEAN BOOLEAN
STDCALL STDCALL
RtlIsValidHandle ( RtlIsValidHandle(
IN PRTL_HANDLE_TABLE HandleTable, IN PRTL_HANDLE_TABLE HandleTable,
IN PRTL_HANDLE_TABLE_ENTRY Handle IN PRTL_HANDLE_TABLE_ENTRY Handle
); );
BOOLEAN BOOLEAN
STDCALL STDCALL
RtlIsValidIndexHandle ( RtlIsValidIndexHandle(
IN PRTL_HANDLE_TABLE HandleTable, IN PRTL_HANDLE_TABLE HandleTable,
IN OUT PRTL_HANDLE_TABLE_ENTRY *Handle, IN OUT PRTL_HANDLE_TABLE_ENTRY *Handle,
IN ULONG Index IN ULONG Index
); );
/* /*
@ -1554,34 +1567,6 @@ VOID
STDCALL STDCALL
RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable); RtlResetRtlTranslations(IN PNLSTABLEINFO NlsTable);
/*
* Misc String Functions
*/
BOOLEAN
STDCALL
RtlDosPathNameToNtPathName_U(
PWSTR DosName,
PUNICODE_STRING NtName,
PWSTR *ShortName,
PCURDIR CurrentDirectory
);
BOOLEAN
STDCALL
RtlIsNameLegalDOS8Dot3(
IN PUNICODE_STRING UnicodeName,
IN PANSI_STRING AnsiName,
PBOOLEAN Unknown
);
ULONG
STDCALL
RtlIsTextUnicode(
PVOID Buffer,
ULONG Length,
ULONG *Flags
);
/* /*
* Misc conversion functions * Misc conversion functions
*/ */

View file

@ -19,7 +19,6 @@
/* PROTOTYPES ****************************************************************/ /* PROTOTYPES ****************************************************************/
/* FIXME: FILE NEEDS CLEANUP */
NTSTATUS NTSTATUS
STDCALL STDCALL
NtAcceptConnectPort( NtAcceptConnectPort(