Home
last modified time | relevance | path

Searched refs:PortName (Results 1 – 25 of 27) sorted by relevance

12

/reactos/modules/rostests/tests/lpctst/
H A Dconport.c35 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 Dcreport.c56 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 Dlpcclt.c33 UNICODE_STRING PortName = ROS_STRING_INITIALIZER(TEST_PORT_NAME_U); in main() local
47 &PortName, in main()
H A Dlpcsrv.c34 UNICODE_STRING PortName = ROS_STRING_INITIALIZER(TEST_PORT_NAME_U); in main() local
44 &PortName, in main()
/reactos/dll/win32/fltlib/
H A Dmessage.c36 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 Dconnect.c48 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 Dgetxbyxx.c438 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 Drs232.c34 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 Dlsalpc.c54 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 Dxcv.c18 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 Dports.c1143 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 DNtAcceptConnectPort.c26 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 Dconnect.c81 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 Dsmclient.c65 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 Dlpcfuncs.h76 _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 Dauthport.c330 UNICODE_STRING PortName; in StartAuthenticationPort() local
341 RtlInitUnicodeString(&PortName, in StartAuthenticationPort()
345 &PortName, in StartAuthenticationPort()
/reactos/sdk/lib/lsalib/
H A Dlsa.c256 UNICODE_STRING PortName; in LsaRegisterLogonProcess() local
306 RtlInitUnicodeString(&PortName, in LsaRegisterLogonProcess()
322 &PortName, in LsaRegisterLogonProcess()
/reactos/base/services/eventlog/
H A Dlogport.c50 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 Dmouclass.c982 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 Dkbdclass.c1015 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 Dfltmgr_shared.h28 UNICODE_STRING PortName; member
/reactos/ntoskrnl/io/iomgr/
H A Derror.c113 UNICODE_STRING PortName = RTL_CONSTANT_STRING(ELF_PORT_NAME); in IopConnectLogPort() local
127 &PortName, in IopConnectLogPort()
/reactos/ntoskrnl/se/
H A Dsrm.c1079 UNICODE_STRING PortName; in SepRmCommandServerThreadInit() local
1171 RtlInitUnicodeString(&PortName, L"\\SeLsaCommandPort"); in SepRmCommandServerThreadInit()
1173 &PortName, in SepRmCommandServerThreadInit()
/reactos/dll/win32/comdlg32/
H A Dprintdlg.c801 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 Dparallel.h133 PWSTR PortName; member

12