Lines Matching refs:NameW
249 UNICODE_STRING NameW; in GetUserNameA() local
255 NameW.MaximumLength = (*lpSize) * sizeof(WCHAR); in GetUserNameA()
256 NameW.Buffer = LocalAlloc(LMEM_FIXED, NameW.MaximumLength); in GetUserNameA()
257 if(NameW.Buffer == NULL) in GetUserNameA()
267 Ret = GetUserNameW(NameW.Buffer, in GetUserNameA()
271 NameW.Length = (*lpSize - 1) * sizeof(WCHAR); in GetUserNameA()
272 RtlUnicodeStringToAnsiString(&NameA, &NameW, FALSE); in GetUserNameA()
277 LocalFree(NameW.Buffer); in GetUserNameA()
413 UNICODE_STRING NameW, ReferencedDomainNameW, SystemNameW; in LookupAccountSidA() local
491 RtlInitUnicodeString(&NameW, NameBuffer); in LookupAccountSidA()
492 RtlUnicodeStringToAnsiString(&NameA, &NameW, FALSE); in LookupAccountSidA()