Home
last modified time | relevance | path

Searched refs:UnicodeString (Results 1 – 25 of 73) sorted by relevance

123

/reactos/dll/win32/netapi32/
H A Dmisc.c143 UNICODE_STRING UnicodeString; in NetpAllocAnsiStrFromWStr() local
149 RtlInitUnicodeString(&UnicodeString, InString); in NetpAllocAnsiStrFromWStr()
175 UNICODE_STRING UnicodeString; in NetpAllocStrFromWStr() local
181 RtlInitUnicodeString(&UnicodeString, InString); in NetpAllocStrFromWStr()
183 Size = RtlUnicodeStringToOemSize(&UnicodeString); in NetpAllocStrFromWStr()
208 UNICODE_STRING UnicodeString; in NetpAllocWStrFromAnsiStr() local
226 NetApiBufferFree(UnicodeString.Buffer); in NetpAllocWStrFromAnsiStr()
230 return UnicodeString.Buffer; in NetpAllocWStrFromAnsiStr()
240 UNICODE_STRING UnicodeString; in NetpAllocWStrFromStr() local
258 NetApiBufferFree(UnicodeString.Buffer); in NetpAllocWStrFromStr()
[all …]
H A Dnetlogon.c117 UNICODE_STRING UnicodeString; in DsAddressToSiteNamesA() local
294 UNICODE_STRING UnicodeString; in DsAddressToSiteNamesExA() local
649 UNICODE_STRING UnicodeString; in DsEnumerateDomainTrustsA() local
883 UNICODE_STRING UnicodeString; in DsGetDcNameWithAccountA() local
942 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
946 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
950 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
954 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
990 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
1009 RtlInitUnicodeString(&UnicodeString, in DsGetDcNameWithAccountA()
[all …]
/reactos/sdk/lib/rtl/
H A Dnls.c71 UnicodeString++; in RtlCustomCPToUnicodeN()
273 *UnicodeString++ = Char; in RtlMultiByteToUnicodeN()
398 UnicodeString++; in RtlOemToUnicodeN()
417 *UnicodeString++ = Char; in RtlOemToUnicodeN()
430 *UnicodeString++ = in RtlOemToUnicodeN()
509 UnicodeString++; in RtlUnicodeToCustomCPN()
561 WideChar = *UnicodeString++; in RtlUnicodeToMultiByteN()
646 IN PCWCH UnicodeString, in RtlUnicodeToOemN() argument
761 ++UnicodeString; in RtlUpcaseUnicodeToCustomCPN()
806 UnicodeString++; in RtlUpcaseUnicodeToMultiByteN()
[all …]
/reactos/boot/rtl/
H A Dnlsboot.c63 _Out_ PWCH UnicodeString, in RtlMultiByteToUnicodeN() argument
111 _In_ PCWCH UnicodeString, in RtlUnicodeToMultiByteN() argument
135 UnicodeString++; in RtlUnicodeToMultiByteN()
147 _In_ PCWCH UnicodeString, in RtlUnicodeToMultiByteSize() argument
189 _In_ PCWCH UnicodeString, in RtlUpcaseUnicodeToMultiByteN() argument
221 UnicodeString++; in RtlUpcaseUnicodeToMultiByteN()
267 _In_ PCWCH UnicodeString, in RtlUnicodeToOemN() argument
283 _Out_ PWCHAR UnicodeString, in RtlOemToUnicodeN() argument
289 if (UnicodeString) in RtlOemToUnicodeN()
290 *UnicodeString = UNICODE_NULL; in RtlOemToUnicodeN()
[all …]
/reactos/modules/rostests/rosautotest/
H A Dtools.cpp223 PWSTR UnicodeString; in AsciiToUnicode() local
228 UnicodeString = new WCHAR[Length]; in AsciiToUnicode()
229 MultiByteToWideChar(CP_ACP, 0, AsciiString, -1, UnicodeString, Length); in AsciiToUnicode()
230 ReturnString = UnicodeString; in AsciiToUnicode()
231 delete UnicodeString; in AsciiToUnicode()
261 UnicodeToAscii(PCWSTR UnicodeString) in UnicodeToAscii() argument
267 Length = WideCharToMultiByte(CP_ACP, 0, UnicodeString, -1, NULL, 0, NULL, NULL); in UnicodeToAscii()
270 WideCharToMultiByte(CP_ACP, 0, UnicodeString, -1, AsciiString, Length, NULL, NULL); in UnicodeToAscii()
287 UnicodeToAscii(const wstring& UnicodeString) in UnicodeToAscii() argument
289 return UnicodeToAscii(UnicodeString.c_str()); in UnicodeToAscii()
H A Dprecomp.h80 string UnicodeToAscii(PCWSTR UnicodeString);
81 string UnicodeToAscii(const wstring& UnicodeString);
/reactos/sdk/lib/drivers/wdf/shared/support/
H A Dfxstringapi.cpp41 PCUNICODE_STRING UnicodeString, in __drv_maxIRQL()
84 if (UnicodeString != NULL) { in __drv_maxIRQL()
85 status = FxValidateUnicodeString(pFxDriverGlobals, UnicodeString); in __drv_maxIRQL()
94 if (UnicodeString != NULL) { in __drv_maxIRQL()
95 status = pString->Assign(UnicodeString); in __drv_maxIRQL()
127 PUNICODE_STRING UnicodeString in __drv_maxIRQL()
142 FxPointerNotNull(pFxDriverGlobals, UnicodeString); in __drv_maxIRQL()
149 RtlCopyMemory(UnicodeString, in __drv_maxIRQL()
H A Dfxstring.cpp47 __in const UNICODE_STRING* UnicodeString in Assign() argument
51 UnicodeString, in Assign()
/reactos/drivers/serial/serenum/
H A Dmisc.c25 UNICODE_STRING UnicodeString; in SerenumInitMultiSzString() local
59 UnicodeString.Length = Destination->Length; in SerenumInitMultiSzString()
60 UnicodeString.MaximumLength = Destination->MaximumLength; in SerenumInitMultiSzString()
61 UnicodeString.Buffer = Destination->Buffer; in SerenumInitMultiSzString()
67 Status = RtlAnsiStringToUnicodeString(&UnicodeString, &AnsiString, FALSE); in SerenumInitMultiSzString()
73 Destination->Length += UnicodeString.Length + sizeof(WCHAR); in SerenumInitMultiSzString()
74 UnicodeString.MaximumLength -= UnicodeString.Length + sizeof(WCHAR); in SerenumInitMultiSzString()
75 UnicodeString.Buffer += UnicodeString.Length / sizeof(WCHAR) + 1; in SerenumInitMultiSzString()
76 UnicodeString.Length = 0; in SerenumInitMultiSzString()
/reactos/dll/win32/kernel32/client/
H A Datom.c38 UNICODE_STRING UnicodeString; in InternalAddAtom() local
63 AtomNameString = &UnicodeString; in InternalAddAtom()
76 AtomNameString = &UnicodeString; in InternalAddAtom()
121 if (!(Unicode) && (AtomNameString == &UnicodeString)) in InternalAddAtom()
139 UNICODE_STRING UnicodeString; in InternalFindAtom() local
164 AtomNameString = &UnicodeString; in InternalFindAtom()
177 AtomNameString = &UnicodeString; in InternalFindAtom()
233 if (!(Unicode) && (AtomNameString == &UnicodeString)) in InternalFindAtom()
289 UNICODE_STRING UnicodeString; in InternalGetAtomName() local
392 UnicodeString.Buffer = AtomNameString; in InternalGetAtomName()
[all …]
H A Ddosdev.c552 UNICODE_STRING UnicodeString; in QueryDosDeviceW() local
561 RtlInitUnicodeString(&UnicodeString, L"\\??"); in QueryDosDeviceW()
563 &UnicodeString, in QueryDosDeviceW()
583 RtlInitUnicodeString(&UnicodeString, lpDeviceName); in QueryDosDeviceW()
585 &UnicodeString, in QueryDosDeviceW()
605 UnicodeString.Length = 0; in QueryDosDeviceW()
607 UnicodeString.Buffer = lpTargetPath; in QueryDosDeviceW()
611 &UnicodeString, in QueryDosDeviceW()
621 TRACE("TargetLength: %hu\n", UnicodeString.Length); in QueryDosDeviceW()
622 TRACE("Target: '%wZ'\n", &UnicodeString); in QueryDosDeviceW()
[all …]
/reactos/sdk/include/wdf/kmdf/1.17/
H A Dwdfstring.h64 PCUNICODE_STRING UnicodeString,
77 PCUNICODE_STRING UnicodeString, in _IRQL_requires_max_()
84 …INGCREATE) WdfFunctions[WdfStringCreateTableIndex])(WdfDriverGlobals, UnicodeString, StringAttribu… in _IRQL_requires_max_()
100 PUNICODE_STRING UnicodeString
110 PUNICODE_STRING UnicodeString in _IRQL_requires_max_()
113 …TRING) WdfFunctions[WdfStringGetUnicodeStringTableIndex])(WdfDriverGlobals, String, UnicodeString); in _IRQL_requires_max_()
/reactos/win32ss/user/user32/windows/
H A Dmenu.c682 UNICODE_STRING UnicodeString; in AppendMenuA() local
706 if ( UnicodeString.Buffer ) RtlFreeUnicodeString ( &UnicodeString ); in AppendMenuA()
1179 UNICODE_STRING UnicodeString; in InsertMenuA() local
1202 if ( UnicodeString.Buffer ) RtlFreeUnicodeString ( &UnicodeString ); in InsertMenuA()
1218 UNICODE_STRING UnicodeString; in InsertMenuItemA() local
1245 if ( UnicodeString.Buffer ) RtlFreeUnicodeString ( &UnicodeString ); in InsertMenuItemA()
1423 UNICODE_STRING UnicodeString; in ModifyMenuA() local
1446 if ( UnicodeString.Buffer ) RtlFreeUnicodeString ( &UnicodeString ); in ModifyMenuA()
1550 UNICODE_STRING UnicodeString; in SetMenuItemInfoA() local
1582 if (UnicodeString.Buffer != NULL) RtlFreeUnicodeString(&UnicodeString); in SetMenuItemInfoA()
[all …]
H A Dmessage.c519 UNICODE_STRING UnicodeString; in MsgiAnsiToUnicodeMessage() local
671 cs->szClass = UnicodeString.Buffer; in MsgiAnsiToUnicodeMessage()
675 cs->szTitle = UnicodeString.Buffer; in MsgiAnsiToUnicodeMessage()
711 UNICODE_STRING UnicodeString; in MsgiAnsiToUnicodeCleanup() local
737 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
754 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
768 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
788 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
793 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
803 RtlFreeUnicodeString(&UnicodeString); in MsgiAnsiToUnicodeCleanup()
[all …]
/reactos/sdk/lib/dnslib/
H A Dstring.c31 if (InputType == UnicodeString) in Dns_StringCopy()
72 if (InputType == UnicodeString) in Dns_StringCopy()
87 else if (OutputType == UnicodeString) in Dns_StringCopy()
113 else if (OutputType == UnicodeString) in Dns_StringCopy()
184 if (InputType == UnicodeString) in Dns_GetBufferLengthForStringCopy()
194 if (OutputType == UnicodeString) in Dns_GetBufferLengthForStringCopy()
232 else if (OutputType == UnicodeString) in Dns_GetBufferLengthForStringCopy()
/reactos/dll/win32/ws2_32/src/
H A Dqshelpr.c20 AnsiDupFromUnicode(IN LPCWSTR UnicodeString) in AnsiDupFromUnicode() argument
33 UnicodeString, in AnsiDupFromUnicode()
544 LPWSTR UnicodeString; in CopyQuerySetIndirectW() local
547 UnicodeString = UnicodeSet->lpszServiceInstanceName; in CopyQuerySetIndirectW()
548 if (UnicodeString) in CopyQuerySetIndirectW()
597 UnicodeString = UnicodeSet->lpszComment; in CopyQuerySetIndirectW()
598 if (UnicodeString) in CopyQuerySetIndirectW()
631 UnicodeString = UnicodeSet->lpszContext; in CopyQuerySetIndirectW()
632 if (UnicodeString) in CopyQuerySetIndirectW()
649 UnicodeString = UnicodeSet->lpszQueryString; in CopyQuerySetIndirectW()
[all …]
H A Drnr.c35 LPWSTR UnicodeString; in WSAAddressToStringA() local
49 UnicodeString = HeapAlloc(WsSockHeap, 0, Length * 2); in WSAAddressToStringA()
50 if (!UnicodeString) in WSAAddressToStringA()
95 UnicodeString, in WSAAddressToStringA()
107 HeapFree(WsSockHeap, 0, UnicodeString); in WSAAddressToStringA()
115 HeapFree(WsSockHeap, 0, UnicodeString); in WSAAddressToStringA()
895 LPWSTR UnicodeString; in WSAStringToAddressA() local
909 UnicodeString = HeapAlloc(WsSockHeap, 0, Length * 2); in WSAStringToAddressA()
910 if (!UnicodeString) in WSAStringToAddressA()
956 HeapFree(WsSockHeap, 0, UnicodeString); in WSAStringToAddressA()
[all …]
/reactos/base/system/autochk/
H A Dautochk.c74 UNICODE_STRING UnicodeString; in PrintString() local
82 RtlAnsiStringToUnicodeString(&UnicodeString, in PrintString()
85 NtDisplayString(&UnicodeString); in PrintString()
86 RtlFreeUnicodeString(&UnicodeString); in PrintString()
96 UNICODE_STRING UnicodeString; in EraseLine() local
103 RtlInitUnicodeString(&UnicodeString, L"\r"); in EraseLine()
104 NtDisplayString(&UnicodeString); in EraseLine()
116 UnicodeString.Length = Len * sizeof(WCHAR); in EraseLine()
117 NtDisplayString(&UnicodeString); in EraseLine()
121 RtlInitUnicodeString(&UnicodeString, L"\r"); in EraseLine()
[all …]
/reactos/drivers/usb/usbport/
H A Dioctl.c152 UNICODE_STRING UnicodeString; in USBPORT_UserGetRootHubName() local
166 Status = USBPORT_GetSymbolicName(FdoExtension->RootHubPdo, &UnicodeString); in USBPORT_UserGetRootHubName()
170 ResultLength = UnicodeString.Length; in USBPORT_UserGetRootHubName()
172 if (UnicodeString.Length > Length) in USBPORT_UserGetRootHubName()
174 UnicodeString.Length = Length; in USBPORT_UserGetRootHubName()
178 if (UnicodeString.Length) in USBPORT_UserGetRootHubName()
181 UnicodeString.Buffer, in USBPORT_UserGetRootHubName()
182 UnicodeString.Length); in USBPORT_UserGetRootHubName()
185 RtlFreeUnicodeString(&UnicodeString); in USBPORT_UserGetRootHubName()
/reactos/win32ss/user/user32/misc/
H A Dmisc.c421 DWORD WINAPI WCSToMBEx(WORD CodePage,LPWSTR UnicodeString,LONG UnicodeSize,LPSTR *MBString,LONG MBS… in WCSToMBEx() argument
426 UnicodeSize = wcslen(UnicodeString)+1; in WCSToMBEx()
445 RtlUnicodeToMultiByteN(*MBString,MBSize,&Size,UnicodeString,UnicodeSize); in WCSToMBEx()
449 WideCharToMultiByte(CodePage,0,UnicodeString,UnicodeSize,*MBString,MBSize,0,0); in WCSToMBEx()
457 DWORD WINAPI MBToWCSEx(WORD CodePage,LPSTR MBString,LONG MBSize,LPWSTR *UnicodeString,LONG UnicodeS… in MBToWCSEx() argument
477 *UnicodeString = SafeString; in MBToWCSEx()
482 RtlMultiByteToUnicodeN(*UnicodeString,UnicodeSize,&Size,MBString,MBSize); in MBToWCSEx()
486 Size = MultiByteToWideChar(CodePage,0,MBString,MBSize,*UnicodeString,UnicodeSize); in MBToWCSEx()
/reactos/drivers/filesystems/cdfs/
H A Dcdinit.c93 UNICODE_STRING UnicodeString; in DriverEntry() local
106 RtlInitUnicodeString( &UnicodeString, L"\\Cdfs" ); in DriverEntry()
110 &UnicodeString, in DriverEntry()
125 RtlInitUnicodeString( &UnicodeString, L"\\CdfsHdd" ); in DriverEntry()
129 &UnicodeString, in DriverEntry()
/reactos/boot/environ/lib/misc/
H A Ddebug.c81 UNICODE_STRING UnicodeString; in BlStatusPrint() local
102 RtlInitUnicodeString(&UnicodeString, BlScratchBuffer); in BlStatusPrint()
108 Status = RtlUnicodeStringToAnsiString(&AnsiString, &UnicodeString, FALSE); in BlStatusPrint()
/reactos/base/setup/usetup/spapisup/
H A Dcabinet.c852 UNICODE_STRING UnicodeString; in CabinetFindNext() local
903 UnicodeString.Buffer = FileName; in CabinetFindNext()
904 UnicodeString.Buffer[0] = 0; in CabinetFindNext()
905 UnicodeString.Length = 0; in CabinetFindNext()
906 UnicodeString.MaximumLength = sizeof(FileName); in CabinetFindNext()
982 UNICODE_STRING UnicodeString; in CabinetExtractFile() local
1051 UnicodeString.Buffer = DestName + StringLength; in CabinetExtractFile()
1052 UnicodeString.Length = 0; in CabinetExtractFile()
1053 RtlAnsiStringToUnicodeString(&UnicodeString, &AnsiString, FALSE); in CabinetExtractFile()
1056 RtlInitUnicodeString(&UnicodeString, DestName); in CabinetExtractFile()
[all …]
/reactos/drivers/filesystems/fastfat/
H A Dvolinfo.c1032 UNICODE_STRING UnicodeString; in FatSetFsLabelInfo() local
1043 UnicodeString.Length = (USHORT)Buffer->VolumeLabelLength; in FatSetFsLabelInfo()
1044 UnicodeString.MaximumLength = UnicodeString.Length; in FatSetFsLabelInfo()
1045 UnicodeString.Buffer = (PWSTR) &Buffer->VolumeLabel[0]; in FatSetFsLabelInfo()
1051 if ( UnicodeString.Length > 11*sizeof(WCHAR) ) { in FatSetFsLabelInfo()
1065 &UnicodeString, in FatSetFsLabelInfo()
1129 UpcasedLabel.Length = UnicodeString.Length; in FatSetFsLabelInfo()
/reactos/dll/win32/kernel32/include/
H A Dkernel32.h264 OUT LPWSTR* UnicodeString);
272 Basep8BitStringToDynamicUnicodeString(OUT PUNICODE_STRING UnicodeString,
275 typedef NTSTATUS (NTAPI *PRTL_CONVERT_STRING)(IN PUNICODE_STRING UnicodeString,
279 typedef ULONG (NTAPI *PRTL_COUNT_STRING)(IN PUNICODE_STRING UnicodeString);
282 IN PCUNICODE_STRING UnicodeString,
285 typedef ULONG (NTAPI *PRTL_COUNT_STRINGA)(IN PANSI_STRING UnicodeString);

123