/reactos/modules/rostests/tests/lpctst/ |
H A D | conport.c | 35 IN PUNICODE_STRING PortName, 66 UNICODE_STRING PortName; in TryConnectPort() local 76 PortName.Length = 0; in TryConnectPort() 78 && (PortName.Length < BUF_SIZE) in TryConnectPort() 82 Name[PortName.Length++] = (WORD) *port_name++; in TryConnectPort() 84 Name[PortName.Length] = 0; in TryConnectPort() 86 PortName.Length = PortName.Length * sizeof (WORD); in TryConnectPort() 87 PortName.MaximumLength = PortName.Length + sizeof (WORD); in TryConnectPort() 88 PortName.Buffer = (PWSTR) Name; in TryConnectPort() 110 & PortName, /* & PortName */ in TryConnectPort()
|
H A D | creport.c | 56 UNICODE_STRING PortName; in TryCreatePort() local 66 PortName.Length = 0; in TryCreatePort() 68 && (PortName.Length < BUF_SIZE) in TryCreatePort() 72 Name[PortName.Length++] = (WORD) *port_name++; in TryCreatePort() 74 Name[PortName.Length] = 0; in TryCreatePort() 76 PortName.Length = PortName.Length * sizeof (WORD); in TryCreatePort() 77 PortName.MaximumLength = PortName.Length + sizeof (WORD); in TryCreatePort() 78 PortName.Buffer = (PWSTR) Name; in TryCreatePort() 87 & PortName; in TryCreatePort()
|
H A D | lpcclt.c | 33 UNICODE_STRING PortName = ROS_STRING_INITIALIZER(TEST_PORT_NAME_U); in main() local 47 &PortName, in main()
|
H A D | lpcsrv.c | 34 UNICODE_STRING PortName = ROS_STRING_INITIALIZER(TEST_PORT_NAME_U); in main() local 44 &PortName, in main()
|
/reactos/dll/win32/fltlib/ |
H A D | message.c | 36 UNICODE_STRING PortName; in FilterConnectCommunicationPort() local 68 RtlInitUnicodeString(&PortName, lpPortName); in FilterConnectCommunicationPort() 69 PortData->PortName.Buffer = (PWCH)Ptr; in FilterConnectCommunicationPort() 70 PortData->PortName.MaximumLength = PortNameSize; in FilterConnectCommunicationPort() 71 RtlCopyUnicodeString(&PortData->PortName, &PortName); in FilterConnectCommunicationPort() 72 Ptr += PortData->PortName.Length; in FilterConnectCommunicationPort()
|
/reactos/subsystems/csr/csrlib/ |
H A D | connect.c | 48 UNICODE_STRING PortName; in CsrpConnectToServer() local 71 PortName.Length = 0; in CsrpConnectToServer() 72 PortName.MaximumLength = (USHORT)PortNameLength; in CsrpConnectToServer() 75 PortName.Buffer = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, PortNameLength); in CsrpConnectToServer() 76 if (PortName.Buffer == NULL) in CsrpConnectToServer() 82 RtlAppendUnicodeToString(&PortName, ObjectDirectory); in CsrpConnectToServer() 83 RtlAppendUnicodeToString(&PortName, L"\\"); in CsrpConnectToServer() 84 RtlAppendUnicodeToString(&PortName, CSR_PORT_NAME); in CsrpConnectToServer() 142 &PortName, in CsrpConnectToServer()
|
/reactos/dll/win32/ws2_32/src/ |
H A D | getxbyxx.c | 438 PCHAR PortName; in getservbyport() local 456 PortName = HeapAlloc(WsSockHeap, 0, strlen(proto) + 1 + 1 + 5); in getservbyport() 457 if (!PortName) in getservbyport() 465 sprintf(PortName, "%d/%s", (ntohs(port) & 0xffff), proto); in getservbyport() 468 Blob = getxyDataEnt(&Results, RNR_BUFFER_SIZE, PortName, &IANAGuid, 0); in getservbyport() 471 HeapFree(WsSockHeap, 0, PortName); in getservbyport() 507 PCHAR PortName; in getservbyname() local 526 if (!PortName) in getservbyname() 534 sprintf(PortName, "%s/%s", name, proto); in getservbyname() 537 Blob = getxyDataEnt(&Results, RNR_BUFFER_SIZE, PortName, &IANAGuid, 0); in getservbyname() [all …]
|
/reactos/boot/freeldr/fdebug/ |
H A D | rs232.c | 34 TCHAR PortName[MAX_PATH]; in Rs232OpenPortWin32() local 45 _stprintf(PortName, TEXT("\\\\.\\%s"), CommPort); in Rs232OpenPortWin32() 47 hPortHandle = CreateFile(PortName, in Rs232OpenPortWin32() 60 _tprintf(TEXT("CreateFile(\"%s\") failed. GetLastError() = %lu.\n"), PortName, ErrorCode); in Rs232OpenPortWin32()
|
/reactos/dll/win32/secur32/ |
H A D | lsalpc.c | 54 UNICODE_STRING PortName; in LsapOpenLsaPort() local 65 RtlInitUnicodeString(&PortName, in LsapOpenLsaPort() 81 &PortName, in LsapOpenLsaPort() 115 UNICODE_STRING PortName; in LsaConnectUntrusted() local 166 RtlInitUnicodeString(&PortName, in LsaConnectUntrusted() 181 &PortName, in LsaConnectUntrusted()
|
/reactos/win32ss/printing/monitors/localmon/ |
H A D | xcv.c | 18 PWSTR PortName = (PWSTR)pInputData; in _HandleAddPort() local 20 FIXME("LcmXcvAddPort : %s\n", debugstr_w( (LPWSTR) PortName ) ); in _HandleAddPort() 47 if ( DoesPortExist( PortName ) ) in _HandleAddPort() 55 cbPortName = (wcslen( PortName ) + 1) * sizeof(WCHAR); in _HandleAddPort() 69 pPort->pwszPortName = wcscpy( (PWSTR)(pPort+1), PortName ); in _HandleAddPort() 74 res = RegSetValueExW(hroot, PortName, 0, REG_SZ, (const BYTE *) L"", sizeof(L"")); in _HandleAddPort()
|
H A D | ports.c | 1143 WCHAR PortName[MAX_PATH] = {0}; // Need to use a Dialog to get name. in LocalmonAddPort() local 1150 if ( DoesPortExist( PortName ) ) in LocalmonAddPort() 1158 cbPortName = (wcslen( PortName ) + 1) * sizeof(WCHAR); in LocalmonAddPort() 1172 pPort->pwszPortName = wcscpy( (PWSTR)(pPort+1), PortName ); in LocalmonAddPort() 1177 res = RegSetValueExW(hroot, PortName, 0, REG_SZ, (const BYTE *) L"", sizeof(L"")); in LocalmonAddPort()
|
/reactos/modules/rostests/apitests/ntdll/ |
H A D | NtAcceptConnectPort.c | 26 static UNICODE_STRING PortName = RTL_CONSTANT_STRING(L"\\NtdllApitestNtAcceptConnectPortTestPort"); variable 154 &PortName, in ClientThread() 168 &PortName, in ClientThread() 204 &PortName, in START_TEST()
|
/reactos/ntoskrnl/lpc/ |
H A D | connect.c | 81 IN PUNICODE_STRING PortName, in NtSecureConnectPort() argument 233 ProbeAndCaptureUnicodeString(&CapturedPortName, PreviousMode, PortName); in NtSecureConnectPort() 245 Status = ObReferenceObjectByName(PortName, in NtSecureConnectPort() 778 IN PUNICODE_STRING PortName, in NtConnectPort() argument 788 PortName, in NtConnectPort()
|
/reactos/sdk/lib/smlib/ |
H A D | smclient.c | 65 UNICODE_STRING PortName; in SmConnectToSm() local 75 RtlInitUnicodeString(&PortName, L"\\SmApiPort"); // SM_API_PORT_NAME in SmConnectToSm() 106 &PortName, in SmConnectToSm()
|
/reactos/sdk/include/ndk/ |
H A D | lpcfuncs.h | 76 _In_ PUNICODE_STRING PortName, 211 _In_ PUNICODE_STRING PortName, 257 _In_ PUNICODE_STRING PortName, 386 _In_ PUNICODE_STRING PortName,
|
/reactos/dll/win32/lsasrv/ |
H A D | authport.c | 330 UNICODE_STRING PortName; in StartAuthenticationPort() local 341 RtlInitUnicodeString(&PortName, in StartAuthenticationPort() 345 &PortName, in StartAuthenticationPort()
|
/reactos/sdk/lib/lsalib/ |
H A D | lsa.c | 256 UNICODE_STRING PortName; in LsaRegisterLogonProcess() local 306 RtlInitUnicodeString(&PortName, in LsaRegisterLogonProcess() 322 &PortName, in LsaRegisterLogonProcess()
|
/reactos/base/services/eventlog/ |
H A D | logport.c | 50 UNICODE_STRING PortName = RTL_CONSTANT_STRING(ELF_PORT_NAME); in InitLogPort() local 57 InitializeObjectAttributes(&ObjectAttributes, &PortName, 0, NULL, NULL); in InitLogPort()
|
/reactos/drivers/input/mouclass/ |
H A D | mouclass.c | 982 UNICODE_STRING PortName; in SearchForLegacyDrivers() local 986 PortName.Length = PortName.MaximumLength = (USHORT)KeyValueInformation->NameLength; in SearchForLegacyDrivers() 987 PortName.Buffer = KeyValueInformation->Name; in SearchForLegacyDrivers() 990 …Status = IoGetDeviceObjectPointer(&PortName, FILE_READ_ATTRIBUTES, &FileObject, &PortDeviceObject); in SearchForLegacyDrivers() 993 …WARN_(CLASS_NAME, "IoGetDeviceObjectPointer(%wZ) failed with status 0x%08lx\n", &PortName, Status); in SearchForLegacyDrivers()
|
/reactos/drivers/input/kbdclass/ |
H A D | kbdclass.c | 1015 UNICODE_STRING PortName; in SearchForLegacyDrivers() local 1019 PortName.Length = PortName.MaximumLength = (USHORT)KeyValueInformation->NameLength; in SearchForLegacyDrivers() 1020 PortName.Buffer = KeyValueInformation->Name; in SearchForLegacyDrivers() 1023 …Status = IoGetDeviceObjectPointer(&PortName, FILE_READ_ATTRIBUTES, &FileObject, &PortDeviceObject); in SearchForLegacyDrivers() 1026 …WARN_(CLASS_NAME, "IoGetDeviceObjectPointer(%wZ) failed with status 0x%08lx\n", &PortName, Status); in SearchForLegacyDrivers()
|
/reactos/sdk/include/reactos/drivers/fltmgr/ |
H A D | fltmgr_shared.h | 28 UNICODE_STRING PortName; member
|
/reactos/ntoskrnl/io/iomgr/ |
H A D | error.c | 113 UNICODE_STRING PortName = RTL_CONSTANT_STRING(ELF_PORT_NAME); in IopConnectLogPort() local 127 &PortName, in IopConnectLogPort()
|
/reactos/ntoskrnl/se/ |
H A D | srm.c | 1079 UNICODE_STRING PortName; in SepRmCommandServerThreadInit() local 1171 RtlInitUnicodeString(&PortName, L"\\SeLsaCommandPort"); in SepRmCommandServerThreadInit() 1173 &PortName, in SepRmCommandServerThreadInit()
|
/reactos/dll/win32/comdlg32/ |
H A D | printdlg.c | 801 char* PortName, in PRINTDLG_SetUpPaperComboBoxA() argument 814 TRACE(" Printer: %s, Port: %s, ComboID: %d\n",PrinterName,PortName,nIDComboBox); in PRINTDLG_SetUpPaperComboBoxA() 844 NrOfEntries = DeviceCapabilitiesA(PrinterName, PortName, in PRINTDLG_SetUpPaperComboBoxA() 851 if(DeviceCapabilitiesA(PrinterName, PortName, fwCapability_Words, NULL, dm) in PRINTDLG_SetUpPaperComboBoxA() 859 DeviceCapabilitiesA(PrinterName, PortName, fwCapability_Names, Names, dm); in PRINTDLG_SetUpPaperComboBoxA() 860 NrOfEntries = DeviceCapabilitiesA(PrinterName, PortName, in PRINTDLG_SetUpPaperComboBoxA() 910 const WCHAR* PortName, in PRINTDLG_SetUpPaperComboBoxW() argument 954 NrOfEntries = DeviceCapabilitiesW(PrinterName, PortName, in PRINTDLG_SetUpPaperComboBoxW() 961 if(DeviceCapabilitiesW(PrinterName, PortName, fwCapability_Words, NULL, dm) in PRINTDLG_SetUpPaperComboBoxW() 969 DeviceCapabilitiesW(PrinterName, PortName, fwCapability_Names, Names, dm); in PRINTDLG_SetUpPaperComboBoxW() [all …]
|
/reactos/sdk/include/ddk/ |
H A D | parallel.h | 133 PWSTR PortName; member
|