ReactOS  0.4.15-dev-499-g1f31905
string.c File Reference
#include "ndissys.h"
Include dependency graph for string.c:

Go to the source code of this file.

Functions

NDIS_STATUS EXPORT NdisAnsiStringToUnicodeString (IN OUT PNDIS_STRING DestinationString, IN PANSI_STRING SourceString)
 
BOOLEAN EXPORT NdisEqualString (IN PNDIS_STRING String1, IN PNDIS_STRING String2, IN BOOLEAN CaseInsensitive)
 
VOID EXPORT NdisInitAnsiString (IN OUT PANSI_STRING DestinationString, IN PCSTR SourceString)
 
VOID EXPORT NdisInitializeString (IN OUT PNDIS_STRING DestinationString, IN PUCHAR SourceString)
 
VOID EXPORT NdisInitUnicodeString (IN OUT PNDIS_STRING DestinationString, IN PCWSTR SourceString)
 
NDIS_STATUS EXPORT NdisUnicodeStringToAnsiString (IN OUT PANSI_STRING DestinationString, IN PNDIS_STRING SourceString)
 
NTSTATUS EXPORT NdisUpcaseUnicodeString (OUT PUNICODE_STRING DestinationString, IN PUNICODE_STRING SourceString)
 

Function Documentation

◆ NdisAnsiStringToUnicodeString()

NDIS_STATUS EXPORT NdisAnsiStringToUnicodeString ( IN OUT PNDIS_STRING  DestinationString,
IN PANSI_STRING  SourceString 
)

Definition at line 21 of file string.c.

32 {
33  PAGED_CODE();
36 
40 }
int NDIS_STATUS
Definition: ntddndis.h:471
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
#define PAGED_CODE()

◆ NdisEqualString()

BOOLEAN EXPORT NdisEqualString ( IN PNDIS_STRING  String1,
IN PNDIS_STRING  String2,
IN BOOLEAN  CaseInsensitive 
)

Definition at line 49 of file string.c.

62 {
63  PAGED_CODE();
64  ASSERT(String1);
65  ASSERT(String2);
66 
67  return RtlEqualUnicodeString((PUNICODE_STRING)String1,
70 }
_In_ const STRING _In_ BOOLEAN CaseInsensitive
Definition: rtlfuncs.h:2291
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_In_ const STRING * String2
Definition: rtlfuncs.h:2291
NTSYSAPI BOOLEAN NTAPI RtlEqualUnicodeString(PUNICODE_STRING String1, PUNICODE_STRING String2, BOOLEAN CaseInSensitive)
#define PAGED_CODE()

◆ NdisInitAnsiString()

VOID EXPORT NdisInitAnsiString ( IN OUT PANSI_STRING  DestinationString,
IN PCSTR  SourceString 
)

Definition at line 78 of file string.c.

89 {
92 
94 }
CONST char * PCSZ
Definition: umtypes.h:125
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
NTSYSAPI VOID NTAPI RtlInitString(PSTRING DestinationString, PCSZ SourceString)

◆ NdisInitializeString()

VOID EXPORT NdisInitializeString ( IN OUT PNDIS_STRING  DestinationString,
IN PUCHAR  SourceString 
)

Definition at line 101 of file string.c.

112 {
114 
115  PAGED_CODE();
118 
120 
122 }
CONST char * PCSZ
Definition: umtypes.h:125
#define TRUE
Definition: types.h:120
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
#define PAGED_CODE()

Referenced by GetConfigurationEntry().

◆ NdisInitUnicodeString()

VOID EXPORT NdisInitUnicodeString ( IN OUT PNDIS_STRING  DestinationString,
IN PCWSTR  SourceString 
)

Definition at line 130 of file string.c.

141 {
144 
146 }
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)

Referenced by MiniportInitialize(), NdisIPnPStartDevice(), NdisReadNetworkAddress(), and ParaNdis_DebugInitialize().

◆ NdisUnicodeStringToAnsiString()

NDIS_STATUS EXPORT NdisUnicodeStringToAnsiString ( IN OUT PANSI_STRING  DestinationString,
IN PNDIS_STRING  SourceString 
)

Definition at line 154 of file string.c.

165 {
166  PAGED_CODE();
169 
173  FALSE);
174 }
int NDIS_STATUS
Definition: ntddndis.h:471
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToAnsiString(PANSI_STRING DestinationString, PUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
#define PAGED_CODE()

◆ NdisUpcaseUnicodeString()

NTSTATUS EXPORT NdisUpcaseUnicodeString ( OUT PUNICODE_STRING  DestinationString,
IN PUNICODE_STRING  SourceString 
)

Definition at line 182 of file string.c.

194 {
195  PAGED_CODE();
198 
200 }
NTSTATUS RtlUpcaseUnicodeString(PUNICODE_STRING dst, PUNICODE_STRING src, BOOLEAN Alloc)
Definition: string_lib.cpp:46
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1868
ASSERT((InvokeOnSuccess||InvokeOnError||InvokeOnCancel) ?(CompletionRoutine !=NULL) :TRUE)
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1868
#define PAGED_CODE()