Lines Matching refs:Name
56 _Out_ PUNICODE_STRING Name in GetNameFromPath() argument
90 RtlZeroMemory(Name, sizeof(UNICODE_STRING)); in GetNameFromPath()
99 Name->Buffer = WDF_PTR_ADD_OFFSET_TYPE(Path->Buffer, in GetNameFromPath()
102 Name->Length = sizeof(WCHAR); in GetNameFromPath()
105 while (Name->Buffer >= Path->Buffer) { in GetNameFromPath()
106 if (*Name->Buffer == L'\\') { in GetNameFromPath()
112 Name->Buffer++; in GetNameFromPath()
113 Name->Length -= sizeof(WCHAR); in GetNameFromPath()
120 Name->Buffer--; in GetNameFromPath()
121 Name->Length += sizeof(WCHAR); in GetNameFromPath()
124 if (foundSlash && Name->Length == 0) { in GetNameFromPath()
128 Name->Buffer = NULL; in GetNameFromPath()
135 Name->Length -= sizeof(WCHAR); in GetNameFromPath()
136 Name->Buffer++; in GetNameFromPath()
143 Name->MaximumLength = Name->Length; in GetNameFromPath()