A couple more fixes to prepare for the final patch

svn path=/trunk/; revision=17689
This commit is contained in:
Alex Ionescu 2005-09-06 06:19:30 +00:00
parent 28ab27fe87
commit 80b6230b45
4 changed files with 17 additions and 8 deletions

View file

@ -12,7 +12,9 @@
/* DEPENDENCIES **************************************************************/ /* DEPENDENCIES **************************************************************/
#include "ldrtypes.h" #include "ldrtypes.h"
/* FIXME: this needs be implemented in the w32api ddk */ /* FIXME: this needs be implemented in the w32api ddk */
//#include "ntimage.h" #ifdef _MSC_VER
#include "ntimage.h"
#endif
/* FUNCTION TYPES ************************************************************/ /* FUNCTION TYPES ************************************************************/

View file

@ -240,8 +240,10 @@ RemoveTailList(
#define RTL_ATOM_IS_PINNED 0x1 #define RTL_ATOM_IS_PINNED 0x1
/* EXPORTED DATA *************************************************************/ /* EXPORTED DATA *************************************************************/
#ifdef NTOS_MODE_USER
extern BOOLEAN NTSYSAPI NLS_MB_CODE_PAGE_TAG; extern BOOLEAN NTSYSAPI NLS_MB_CODE_PAGE_TAG;
extern BOOLEAN NTSYSAPI NLS_MB_OEM_CODE_PAGE_TAG; extern BOOLEAN NTSYSAPI NLS_MB_OEM_CODE_PAGE_TAG;
#endif
/* ENUMERATIONS **************************************************************/ /* ENUMERATIONS **************************************************************/

View file

@ -2282,9 +2282,9 @@ RtlxOemStringToUnicodeSize(IN POEM_STRING OemString)
* @implemented * @implemented
*/ */
ULONG STDCALL ULONG STDCALL
RtlxUnicodeStringToAnsiSize(IN PUNICODE_STRING UnicodeString) RtlxUnicodeStringToAnsiSize(IN PCUNICODE_STRING UnicodeString)
{ {
return RtlUnicodeStringToAnsiSize(UnicodeString); return RtlUnicodeStringToAnsiSize((PUNICODE_STRING)UnicodeString);
} }

View file

@ -5207,11 +5207,16 @@ RtlCompareUnicodeString(
IN PCUNICODE_STRING String2, IN PCUNICODE_STRING String2,
IN BOOLEAN CaseInSensitive); IN BOOLEAN CaseInSensitive);
NTOSAPI static __inline
LARGE_INTEGER LARGE_INTEGER
DDKAPI NTAPI_INLINE
RtlConvertLongToLargeInteger( RtlConvertLongToLargeInteger(LONG SignedInteger)
IN LONG SignedInteger); {
LARGE_INTEGER Result;
Result.QuadPart = SignedInteger;
return Result;
}
NTOSAPI NTOSAPI
LUID LUID
@ -5822,7 +5827,7 @@ NTOSAPI
ULONG ULONG
DDKAPI DDKAPI
RtlxUnicodeStringToAnsiSize( RtlxUnicodeStringToAnsiSize(
IN PUNICODE_STRING UnicodeString); IN PCUNICODE_STRING UnicodeString);
/* /*
* VOID * VOID