ReactOS 0.4.16-dev-92-g0c2cdca
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}
#define PAGED_CODE()
#define FALSE
Definition: types.h:117
#define ASSERT(a)
Definition: mode.c:44
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1922
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1921
NTSYSAPI NTSTATUS NTAPI RtlAnsiStringToUnicodeString(PUNICODE_STRING DestinationString, PANSI_STRING SourceString, BOOLEAN AllocateDestinationString)
int NDIS_STATUS
Definition: ntddndis.h:475

◆ 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);
66
70}
_In_ const STRING * String2
Definition: rtlfuncs.h:2369
_In_ const STRING _In_ BOOLEAN CaseInsensitive
Definition: rtlfuncs.h:2371
NTSYSAPI BOOLEAN NTAPI RtlEqualUnicodeString(PUNICODE_STRING String1, PUNICODE_STRING String2, BOOLEAN CaseInSensitive)

◆ NdisInitAnsiString()

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

Definition at line 78 of file string.c.

89{
92
94}
NTSYSAPI VOID NTAPI RtlInitString(PSTRING DestinationString, PCSZ SourceString)
CONST char * PCSZ
Definition: umtypes.h:125

◆ 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}
#define TRUE
Definition: types.h:120
@ AnsiString
Definition: dnslib.h:19
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)

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}
NTSYSAPI VOID NTAPI RtlInitUnicodeString(PUNICODE_STRING DestinationString, PCWSTR SourceString)

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

◆ 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}
NTSYSAPI NTSTATUS NTAPI RtlUnicodeStringToAnsiString(PANSI_STRING DestinationString, PUNICODE_STRING SourceString, BOOLEAN AllocateDestinationString)

◆ 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