/reactos/win32ss/printing/base/winspool/ |
H A D | printprocessors.c | 15 UNICODE_STRING NameW, EnvW, PathW, ProcessorW; in AddPrintProcessorA() local 20 AsciiToUnicode(&NameW, pName); in AddPrintProcessorA() 25 Ret = AddPrintProcessorW(NameW.Buffer, EnvW.Buffer, PathW.Buffer, ProcessorW.Buffer); in AddPrintProcessorA() 30 RtlFreeUnicodeString(&NameW); in AddPrintProcessorA() 60 UNICODE_STRING NameW, EnvW, ProcessorW; in DeletePrintProcessorA() local 65 AsciiToUnicode(&NameW, pName); in DeletePrintProcessorA() 69 Ret = DeletePrintProcessorW(NameW.Buffer, EnvW.Buffer, ProcessorW.Buffer); in DeletePrintProcessorA() 73 RtlFreeUnicodeString(&NameW); in DeletePrintProcessorA()
|
H A D | printproviders.c | 123 UNICODE_STRING NameW, EnvW, ProviderW; in DeletePrintProvidorA() local 128 AsciiToUnicode(&NameW, pName); in DeletePrintProvidorA() 132 Ret = DeletePrintProvidorW(NameW.Buffer, EnvW.Buffer, ProviderW.Buffer); in DeletePrintProvidorA() 136 RtlFreeUnicodeString(&NameW); in DeletePrintProvidorA()
|
H A D | ports.c | 957 LPWSTR NameW = NULL; in SetPortA() local 978 NameW = HeapAlloc(GetProcessHeap(), 0, len * sizeof(WCHAR)); in SetPortA() 979 MultiByteToWideChar(CP_ACP, 0, pName, -1, NameW, len); in SetPortA() 999 res = SetPortW( NameW, PortNameW, dwLevel, (PBYTE)&pi3W ); in SetPortA() 1001 if (NameW) HeapFree(GetProcessHeap(), 0, NameW); in SetPortA()
|
H A D | printerdrivers.c | 402 UNICODE_STRING NameW, EnvW, DriverW; in DeletePrinterDriverExA() local 407 AsciiToUnicode(&NameW, pName); in DeletePrinterDriverExA() 411 …ret = DeletePrinterDriverExW(NameW.Buffer, EnvW.Buffer, DriverW.Buffer, dwDeleteFlag, dwVersionFla… in DeletePrinterDriverExA() 417 RtlFreeUnicodeString(&NameW); in DeletePrinterDriverExA()
|
/reactos/drivers/filesystems/udfs/Include/ |
H A D | env_spec_nt.cpp | 307 PWCHAR NameW; in EnvFileOpenA() local 312 NameW = (PWCHAR)MyAllocatePool__(NonPagedPool, (len+1)*sizeof(WCHAR)); in EnvFileOpenA() 313 if(!NameW) in EnvFileOpenA() 316 swprintf(NameW, L"%S", Name); in EnvFileOpenA() 318 Status = EnvFileOpenW(NameW, ph); in EnvFileOpenA() 320 MyFreePool__(NameW); in EnvFileOpenA()
|
/reactos/dll/win32/advapi32/sec/ |
H A D | misc.c | 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() [all …]
|
/reactos/dll/win32/kernel32/wine/ |
H A D | res.c | 1743 UNICODE_STRING NameW; in UpdateResourceA() local 1749 NameW.Buffer = ULongToPtr(LOWORD(lpName)); in UpdateResourceA() 1751 RtlCreateUnicodeStringFromAsciiz(&NameW, lpName); in UpdateResourceA() 1752 ret = UpdateResourceW(hUpdate, TypeW.Buffer, NameW.Buffer, wLanguage, lpData, cbData); in UpdateResourceA() 1754 if(!IS_INTRESOURCE(lpName)) RtlFreeUnicodeString(&NameW); in UpdateResourceA()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | freetype.c | 3467 UNICODE_STRING NameW; in FontFamilyFillInfo() local 3469 RtlInitUnicodeString(&NameW, NULL); in FontFamilyFillInfo()
|