Author: hbelusca
Date: Sat Jul 11 00:18:30 2015
New Revision: 68386
URL:
http://svn.reactos.org/svn/reactos?rev=68386&view=rev
Log:
[NDK][KERNEL32][LIBCNTPR]
Add RtlAnsiCharToUnicodeChar prototype inside NDK.
[NDK][NTVDM]
Add few missing RTL bitmap prototypes.
Modified:
trunk/reactos/dll/win32/kernel32/include/kernel32.h
trunk/reactos/include/ndk/rtlfuncs.h
trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c
trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c
Modified: trunk/reactos/dll/win32/kernel32/include/kernel32.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/include…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/include/kernel32.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/kernel32/include/kernel32.h [iso-8859-1] Sat Jul 11 00:18:30
2015
@@ -357,9 +357,6 @@
WINAPI
BaseSetLastNTError(IN NTSTATUS Status);
-/* FIXME */
-WCHAR WINAPI RtlAnsiCharToUnicodeChar(LPSTR *);
-
VOID
NTAPI
BasepLocateExeLdrEntry(IN PLDR_DATA_TABLE_ENTRY Entry,
Modified: trunk/reactos/include/ndk/rtlfuncs.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
==============================================================================
--- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original)
+++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Sat Jul 11 00:18:30 2015
@@ -1927,12 +1927,12 @@
//
// Ansi->Unicode String Functions
//
-NTSYSAPI
-ULONG
-NTAPI
-RtlxAnsiStringToUnicodeSize(
- PCANSI_STRING AnsiString
-);
+_IRQL_requires_max_(APC_LEVEL)
+NTSYSAPI
+WCHAR
+NTAPI
+RtlAnsiCharToUnicodeChar(
+ _Inout_ PUCHAR *SourceCharacter);
NTSYSAPI
NTSTATUS
@@ -1941,6 +1941,13 @@
PUNICODE_STRING DestinationString,
PCANSI_STRING SourceString,
BOOLEAN AllocateDestinationString
+);
+
+NTSYSAPI
+ULONG
+NTAPI
+RtlxAnsiStringToUnicodeSize(
+ PCANSI_STRING AnsiString
);
#ifdef NTOS_MODE_USER
@@ -3077,6 +3084,33 @@
_In_ PRTL_BITMAP BitMapHeader,
_In_ ULONG NumberToFind,
_In_ ULONG HintIndex
+);
+
+NTSYSAPI
+ULONG
+NTAPI
+RtlFindFirstRunClear(
+ _In_ PRTL_BITMAP BitMapHeader,
+ _Out_ PULONG StartingIndex
+);
+
+NTSYSAPI
+ULONG
+NTAPI
+RtlFindClearRuns(
+ _In_ PRTL_BITMAP BitMapHeader,
+ _Out_writes_to_(SizeOfRunArray, return) PRTL_BITMAP_RUN RunArray,
+ _In_range_(>, 0) ULONG SizeOfRunArray,
+ _In_ BOOLEAN LocateLongestRuns
+);
+
+NTSYSAPI
+ULONG
+NTAPI
+RtlFindLastBackwardRunClear(
+ _In_ PRTL_BITMAP BitMapHeader,
+ _In_ ULONG FromIndex,
+ _Out_ PULONG StartingRunIndex
);
NTSYSAPI
Modified: trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/string/mbstowc…
==============================================================================
--- trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/string/mbstowcs_nt.c [iso-8859-1] Sat Jul 11 00:18:30 2015
@@ -2,7 +2,6 @@
#include <ndk/rtlfuncs.h>
#include <string.h>
-WCHAR NTAPI RtlAnsiCharToUnicodeChar(IN OUT PUCHAR *AnsiChar);
#undef MB_CUR_MAX
#define MB_CUR_MAX 2
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/himem.c [iso-8859-1] Sat Jul 11
00:18:30 2015
@@ -27,15 +27,6 @@
/* BOP Identifiers */
#define BOP_XMS 0x52
-
-ULONG
-NTAPI
-RtlFindLastBackwardRunClear
-(
- IN PRTL_BITMAP BitMapHeader,
- IN ULONG FromIndex,
- OUT PULONG StartingRunIndex
-);
/* PRIVATE VARIABLES **********************************************************/