#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ FsRtlAreNamesEqual()
Definition at line 45 of file name.c.
49{
56
57
59
60
62 {
63
66
67
70 {
73 }
74
75 Name1 = &UpcaseName1;
77
78
81 }
82
83
85 {
86
89 Name1->Length);
90
91
93 {
94
97 }
98
99
100 return StringsAreEqual;
101 }
102 else
103 {
104
105 for (
i = 0;
i < Name1->Length /
sizeof(
WCHAR);
i++)
106 {
107
109 {
110
112 }
113 }
114
115
117 }
118}
static _In_ PUNICODE_STRING _In_ BOOLEAN _In_opt_ PWCH UpcaseTable
#define NT_SUCCESS(StatCode)
NTSTATUS RtlUpcaseUnicodeString(PUNICODE_STRING dst, PUNICODE_STRING src, BOOLEAN Alloc)
_Must_inspect_result_ _In_ PCUNICODE_STRING Name2
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define RtlEqualMemory(dst, src, len)
DECLSPEC_NORETURN NTSYSAPI VOID NTAPI RtlRaiseStatus(_In_ NTSTATUS Status)
NTSYSAPI VOID NTAPI RtlFreeUnicodeString(PUNICODE_STRING UnicodeString)
_Out_ PSECURITY_DESCRIPTOR _Out_ PBOOLEAN MemoryAllocated
Referenced by Ext2SetLinkInfo(), Ext2SetRenameInfo(), FatSetRenameInfo(), file_create(), FindFile(), registry_load_volume_options(), registry_mark_volume_unmounted_path(), and VfatSetRenameInformation().
◆ FsRtlDissectName()
Definition at line 147 of file name.c.
150{
152 USHORT SkipFirstSlash = 0;
154
155
158
159
160 if (!
Name.Length)
return;
161
162
163 FirstPosition =
Name.Length /
sizeof(
WCHAR) ;
165 {
166
167 if (
Name.Buffer[
i] ==
L'\\')
168 {
169
171 {
172 SkipFirstSlash = 1;
173 }
174 else
175 {
176
178 break;
179 }
180 }
181 }
182
183
187
188
189 if (FirstPosition < (
Name.Length /
sizeof(
WCHAR)))
190 {
194 }
195}
_Out_ PANSI_STRING _Out_ PANSI_STRING RemainingPart
_Out_ PANSI_STRING FirstPart
#define RtlZeroMemory(Destination, Length)
Referenced by AddFileName(), Ext2CreateFile(), NtfsLookupFileAt(), and START_TEST().
◆ FsRtlDoesNameContainWildCards()
Definition at line 213 of file name.c.
214{
217
218
220 {
223 {
224
227 }
228 }
229
230
232}
#define FsRtlIsUnicodeCharacterWild(C)
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
Referenced by CdInitializeEnumeration(), Ext2CreateFile(), Ext2FillEntry(), Ext2QueryDirectory(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), FindFile(), query_directory(), RxCanonicalizeNameAndObtainNetRoot(), RxQueryDirectory(), and UDFQueryDirectory().