Lines Matching refs:UnicodeString
143 UNICODE_STRING UnicodeString; in NetpAllocAnsiStrFromWStr() local
149 RtlInitUnicodeString(&UnicodeString, InString); in NetpAllocAnsiStrFromWStr()
151 Size = RtlUnicodeStringToAnsiSize(&UnicodeString); in NetpAllocAnsiStrFromWStr()
158 &UnicodeString, in NetpAllocAnsiStrFromWStr()
175 UNICODE_STRING UnicodeString; in NetpAllocStrFromWStr() local
181 RtlInitUnicodeString(&UnicodeString, InString); in NetpAllocStrFromWStr()
183 Size = RtlUnicodeStringToOemSize(&UnicodeString); in NetpAllocStrFromWStr()
190 &UnicodeString, in NetpAllocStrFromWStr()
208 UNICODE_STRING UnicodeString; in NetpAllocWStrFromAnsiStr() local
217 (PVOID*)&UnicodeString.Buffer); in NetpAllocWStrFromAnsiStr()
221 Status = RtlAnsiStringToUnicodeString(&UnicodeString, in NetpAllocWStrFromAnsiStr()
226 NetApiBufferFree(UnicodeString.Buffer); in NetpAllocWStrFromAnsiStr()
230 return UnicodeString.Buffer; in NetpAllocWStrFromAnsiStr()
240 UNICODE_STRING UnicodeString; in NetpAllocWStrFromStr() local
249 (PVOID*)&UnicodeString.Buffer); in NetpAllocWStrFromStr()
253 Status = RtlOemStringToUnicodeString(&UnicodeString, in NetpAllocWStrFromStr()
258 NetApiBufferFree(UnicodeString.Buffer); in NetpAllocWStrFromStr()
262 return UnicodeString.Buffer; in NetpAllocWStrFromStr()