mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Move internal rtlp functions out of ntos and into internal rosrtl header
svn path=/trunk/; revision=16120
This commit is contained in:
parent
1754d20379
commit
aec8d2f143
2 changed files with 105 additions and 102 deletions
|
@ -4,6 +4,9 @@
|
|||
#ifndef __DDK_RTL_H
|
||||
#define __DDK_RTL_H
|
||||
|
||||
/* RTLP Functions */
|
||||
#include <rosrtl/string.h>
|
||||
|
||||
#if defined(__NTOSKRNL__) || defined(__NTDRIVER__) || defined(__NTHAL__) || defined(__NTDLL__) || defined (__NTAPP__)
|
||||
|
||||
#include <stddef.h>
|
||||
|
@ -2760,108 +2763,6 @@ STDCALL
|
|||
RtlxUnicodeStringToOemSize (
|
||||
IN PUNICODE_STRING UnicodeString
|
||||
);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpOemStringToCountedUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN POEM_STRING OemSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PCUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToAnsiString(
|
||||
IN OUT PANSI_STRING AnsiDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToCountedOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToOemString (
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpDowncaseUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpAnsiStringToUnicodeString(
|
||||
IN OUT PUNICODE_STRING DestinationString,
|
||||
IN PANSI_STRING SourceString,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToAnsiString(
|
||||
IN OUT PANSI_STRING AnsiDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpOemStringToUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN POEM_STRING OemSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
BOOLEAN
|
||||
FASTCALL
|
||||
RtlpCreateUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PCWSTR Source,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToCountedOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS STDCALL
|
||||
RtlpDuplicateUnicodeString(
|
||||
INT AddNull,
|
||||
IN PUNICODE_STRING SourceString,
|
||||
PUNICODE_STRING DestinationString,
|
||||
POOL_TYPE PoolType);
|
||||
|
||||
/* Register io functions */
|
||||
|
||||
|
|
|
@ -42,6 +42,108 @@ extern "C"
|
|||
|
||||
#define ROS_EMPTY_STRING {0, 0, NULL}
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpOemStringToCountedUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN POEM_STRING OemSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PCUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToAnsiString(
|
||||
IN OUT PANSI_STRING AnsiDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToCountedOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUpcaseUnicodeStringToOemString (
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpDowncaseUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpAnsiStringToUnicodeString(
|
||||
IN OUT PUNICODE_STRING DestinationString,
|
||||
IN PANSI_STRING SourceString,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToAnsiString(
|
||||
IN OUT PANSI_STRING AnsiDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpOemStringToUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN POEM_STRING OemSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
BOOLEAN
|
||||
FASTCALL
|
||||
RtlpCreateUnicodeString(
|
||||
IN OUT PUNICODE_STRING UniDest,
|
||||
IN PCWSTR Source,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS
|
||||
FASTCALL
|
||||
RtlpUnicodeStringToCountedOemString(
|
||||
IN OUT POEM_STRING OemDest,
|
||||
IN PUNICODE_STRING UniSource,
|
||||
IN BOOLEAN AllocateDestinationString,
|
||||
IN POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS STDCALL
|
||||
RtlpDuplicateUnicodeString(
|
||||
INT AddNull,
|
||||
IN PUNICODE_STRING SourceString,
|
||||
PUNICODE_STRING DestinationString,
|
||||
POOL_TYPE PoolType);
|
||||
|
||||
NTSTATUS NTAPI RosAppendUnicodeString( PUNICODE_STRING ResultFirst,
|
||||
PUNICODE_STRING Second,
|
||||
BOOL Deallocate );
|
||||
|
|
Loading…
Reference in a new issue