ReactOS 0.4.16-dev-334-g4d9f67c
|
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <ddk/ntddk.h>
#include "dumpinfo.h"
Go to the source code of this file.
Macros | |
#define | PROTO_LPC |
#define | LPC_CONNECT_FLAG1 0x00000001 |
#define | LPC_CONNECT_FLAG2 0x00000010 |
#define | LPC_CONNECT_FLAG3 0x00000100 |
#define | LPC_CONNECT_FLAG4 0x00001000 |
#define | LPC_CONNECT_FLAG5 0x00010000 |
#define | BUF_SIZE 1024 |
#define | MAXARG 1000000 |
Functions | |
NTSTATUS (WINAPI *ConnectPort)(OUT PHANDLE PortHandle | |
VOID | TryConnectPort (char *port_name) |
main (int argc, char *argv[]) | |
Definition at line 148 of file conport.c.
Definition at line 61 of file conport.c.
Referenced by main().
_In_ ACCESS_MASK _In_ POBJECT_ATTRIBUTES ObjectAttributes |
Definition at line 36 of file conport.c.
Referenced by _IRQL_requires_max_(), _Success_(), AccpOpenNamedObject(), acpi_create_registry_table(), acpi_create_volatile_registry_tables(), AcpiOsExecute(), AcpiRegOpenKey(), AcsHlpSendCommand(), AddCodepageToRegistry(), AddFontsSettingsToRegistry(), AddHotkeySettings(), AddImpersonatePrivilege(), AddKbLayoutsToRegistry(), AddVolumeToList(), AfdCreateSocket(), AllocConsole(), ApplyAccountSettings(), ApplyAuditEvents(), ApplyLockoutSettings(), ApplyPasswordSettings(), BaseComputeProcessDllPath(), BaseFormatObjectAttributes(), BaseGetNamedObjectDirectory(), BaseInitializeStaticServerData(), BasepMapFile(), BasepMoveFileDelayed(), BasepNotifyTrackingService(), BasepOpenFileForMove(), Beep(), BehaviorChecks(), BroadcastOpen(), BuildSidListFromDomainAndName(), BuildWindowStationNameList(), CabinetExtractFile(), CabinetOpen(), CheckDirectorySecurity__(), CheckForGlobalDriveLetter(), CheckKeySecurity__(), ClassPnp(), clean_main(), CmGetSystemDriverList(), CmInitSystem1(), CmpAddToHiveFileList(), CmpCreateControlSet(), CmpCreateEvent(), CmpCreateHardwareProfile(), CmpCreateRegistryRoot(), CmpInitializeHardwareConfiguration(), CmpInitializeMachineDependentConfiguration(), CmpInitializeRegistryNode(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpOpenHiveFiles(), CmpRemoveFromHiveFileList(), CmpSetSystemValues(), CmpSetVersionData(), CommandDumpSector(), CommandPartInfo(), CompBattGetDeviceObjectPointer(), ConDrvInitInputBuffer(), FxDeviceBase::ConfigureConstraints(), FxIoQueue::ConfigureConstraints(), ConvertNtPathToWin32Path(), CreateBaseAcls(), Mx::CreateCallback(), CreateClientPort(), CreateDirectoryExW(), CreateDirectoryW(), CreateFileMappingW(), CreateFileW(), CreateGreenFdo(), CreateHardLinkW(), CreateKeyTest(), CreateMailslotW(), CreateMemoryResourceNotification(), CreateNamedPipeW(), CreateNestedKey(), CreatePartitionList(), CreatePipe(), CreateProcessAsUserCommon(), CreateProcessInternalW(), CreateRegistryFile(), CreateRegKey(), CreateRemoteDatabaseWorker(), CreateRemoteThread(), CreateSymbolicLinkW(), CreateSymLinkKey(), CreateWindowStationW(), CSR_API(), CsrApiPortInitialize(), CsrCreateSessionObjectDirectory(), CsrParseServerCommandLine(), CsrSbApiPortInitialize(), DbgkCreateThread(), DbgkpPostFakeModuleMessages(), DbgkpSectionToFileHandle(), DbgUiConnectToDbg(), DeleteFileW(), DeleteKeyTest(), DeleteSymLinkKey(), DeleteValueTest(), DisconnectRegistry(), DismountVolume(), do_enumeratekey(), DoesPathExist_UStr(), DriverEntry(), DsRolepGetBasicInfo(), DumpDisk(), DumpPartition(), DuplicateTokenAsEffective(), DuplicateTokenEx(), EngLoadModuleEx(), EnumerateKeyTest(), EnumerateValueTest(), ExCreateCallback(), ExpCreateSystemRootLink(), ExpGetCurrentUserUILanguage(), ExpInitializeCallbacks(), ExpSetCurrentUserUILanguage(), ExpUuidLoadSequenceNumber(), ExpUuidSaveSequenceNumber(), Ext2OpenDevice(), FatGetCompatibilityModeValue(), FatIsFujitsuFMR(), FdoCreateRawParallelPdo(), FilterConnectCommunicationPort(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindFirstStreamW(), FindNTOSInstallations(), FindProductName(), FltpOpenFilterServicesKey(), FsRecRegisterFs(), FsRtlGetTunnelParameterValue(), FsRtlInitializeWorkerThread(), FsRtlpIsDfsEnabled(), FsRtlpOpenDev(), GetAccountDomainSid(), GetComputerIdentifier(), GetComputerNameFromRegistry(), GetConnectionHandle(), GetCPFileNameFromRegistry(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDisplayIdentifier(), GetDosDevicesProtection(), GetDriveTypeW(), GetFileAttributesExW(), GetFileAttributesW(), GetFileSecurityW(), GetFileSystem(), GetFileSystemName_UStr(), GetFilterAltitude(), GetObjectType(), GetPhysicalFileSize(), GetRegInt(), GetRegistryValueBuffer(), GetSourcePaths(), GetTimeouts(), GetToken(), GetTokenProcess(), GetVolumeInformationW(), GetVolumeNameForRoot(), HalpDmaAllocateChildAdapter(), HalpGetChipHacks(), HalpGetNMICrashFlag(), HalpOpenRegistryKey(), HalpQueryPciRegistryInfo(), i8042StoreSMBiosTables(), Icmp6CreateFile(), IcmpCreateFile(), ImpersonateLoggedOnUser(), InferFileSystem(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), IniCacheSave(), InitializeFmIfsOnce(), InitializeProvider(), InitializeUserModePnpManager(), InitLogPort(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBuiltinAccounts(), InstallDevice(), InstallDriver(), InstallPrivileges(), InstallSetupInfFile(), IntCopyRegistryKey(), IntCreateDesktop(), IntCreateNewRegistryPath(), IntCreateWindowStation(), IntDesktopObjectParse(), IntGdiAddFontResourceEx(), IntGetCodePageEntry(), IntGetFullFileName(), IntLoadFontsInRegistry(), IntLoadFontSubstList(), IntLoadRegistryParameters(), IntLoadSystemFonts(), IntResolveDesktop(), IntSetupDeviceSettingsKey(), IntVideoPortInbvInitialize(), IoCreateController(), IoCreateDevice(), IoCreateDriver(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoDeleteSymbolicLink(), IoFastQueryNetworkAttributes(), IoGetDeviceInterfaces(), IoOpenDeviceInterfaceRegistryKey(), IoOpenDeviceRegistryKey(), IopBootLog(), IopCreateDeviceKeyPath(), IopCreateEvent(), IopCreateFile(), IopCreateLogFile(), IopCreateRegistryKeyEx(), IopCreateRootDirectories(), IopDetectResourceConflict(), IopEnumerateDetectedDevices(), IopGetDeviceObjectPointer(), IopInstallCriticalDevice(), IopIsFirmwareMapperDisabled(), IopMarkBootPartition(), IopOpenInterfaceKey(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopParseDevice(), IopQueryAttributesFile(), IopQueryBusDescription(), IopQueryDeviceDescription(), IopReassignSystemRoot(), IopSaveBootLogToFile(), IopSetDeviceInstanceData(), IopShouldProcessDevice(), IopStartRamdisk(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateResourceMap(), IopUpdateRootKey(), IopWriteLogFile(), IoQueryDeviceDescription(), IoRegisterDeviceInterface(), IoReportDetectedDevice(), IoReportHalResourceUsage(), IoSetDeviceInterfaceState(), IsAcpiComputer(), IsThisARootDirectory(), IsValidNTOSInstallation(), KdbpCliInit(), KdpDebugLogInit(), KeI386VdmInitialize(), KernelModeTest(), KmtStartThread(), KsCacheMedium(), KsecOpenDevice(), KsiCreateObjectType(), KsMapModuleName(), KspCreateObjectType(), KspEnumerateBusRegistryKeys(), KspInstallInterface(), KspOpenBusRegistryKey(), KspReadMediaCategory(), LdrOpenImageFileOptionsKey(), LdrpCheckForKnownDll(), LdrpCheckForLoadedDll(), LdrpCreateDllSection(), LdrpInitializeProcess(), ListDirectory(), LogfBackupFile(), LogfCreate(), LookupAccountNameW(), LookupAccountSidW(), LookupPrivilegeDisplayNameW(), LookupPrivilegeNameW(), LookupPrivilegeValueW(), LpcpCreatePort(), LsaConnectUntrusted(), LsaOpenPolicy(), LsaOpenPolicySce(), LsapCheckLogonProcess(), LsapCreateDatabaseKeys(), LsapCreateDbObject(), LsapEnumLogonSessions(), LsapGetLogonSessionData(), LsapGetObjectAttribute(), LsapIsDatabaseInstalled(), LsapLogonUser(), LsapOpenDbObject(), LsapOpenServiceKey(), LsapRegCreateKey(), LsapRegDeleteSubKey(), LsapRegOpenKey(), LsapRmInitializeServer(), LsapSetObjectAttribute(), LsaRegisterLogonProcess(), LsarOpenPolicy(), LsarOpenPolicy2(), main(), Main(), MiCreateMemoryEvent(), MmCheckSystemImage(), MmCreateArm3Section(), MmCreateDataFileSection(), MmCreateImageSection(), MmCreateSection(), MmInitBsmThread(), MmLoadSystemImage(), MountMgrMountedDeviceArrival(), MountMgrQuerySymbolicLink(), MountMgrValidateBackPointer(), MountMgrVolumeMountPointChanged(), MoveFileWithProgressW(), MupGetProviderInformation(), MuppIsDfsEnabled(), Mx::MxOpenKey(), my_open(), MyDeleteFile(), ndisBindMiniportsToProtocol(), NdisOpenConfiguration(), NdisOpenFile(), NetLocalGroupGetMembers(), NetpGetJoinInformation(), NetpSetPrimaryDomain(), NetrWkstaGetInfo(), NetWkstaUserGetInfo(), NlsInit(), NotificationCallback(), NpCreatePipeEx(), NpOpenPipeEx(), NpWaitPipe(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateFile(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateKey(), NtCreateMailslotFile(), NtCreateMutant(), NtCreateNamedPipeFile(), NtCreatePagingFile(), NtCreatePort(), NtCreateProcess(), NtCreateProcessEx(), NtCreateProfile(), NtCreateSection(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateThread(), NtCreateTimer(), NtCreateToken(), NtCreateWaitablePort(), NtDeleteFile(), NtDuplicateToken(), NtOpenDirectoryObject(), NtOpenEvent(), NtOpenEventPair(), NtOpenFile(), NtOpenIoCompletion(), NtOpenJobObject(), NtOpenKey(), NtOpenMutant(), NtOpenProcess(), NtOpenSection(), NtOpenSemaphore(), NtOpenSymbolicLinkObject(), NtOpenThread(), NtOpenTimer(), NtQueryAttributesFile(), NtQueryFullAttributesFile(), NtSetDefaultLocale(), NtUserCreateDesktop(), NtUserCreateWindowStation(), NtUserOpenDesktop(), NtUserOpenWindowStation(), ObCreateObject(), ObInitSystem(), ObjectBasicInformationTests(), ObOpenObjectByName(), ObpCaptureObjectCreateInformation(), ObpCreateDosDevicesDirectory(), ObtCreateObjectTypes(), OnlineMountedVolumes(), OpenAndMapFile(), OpenBootStore_UStr(), OpenDesktopW(), OpenDevice(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenFileMappingW(), OpenIniBootLoaderStore(), OpenInputDevice(), OpenKey(), OpenKeyboard(), OpenProcess(), OpenRegistryHandlesFromSymbolicLink(), OpenRemoteDatabase(), OpenThread(), OpenWindowStationW(), PageFileBehaviorChecks(), PciGetBiosConfig(), PciIdeXCreateIdeDirectory(), PciOpenKey(), PciSaveBiosConfig(), PcNewRegistryKey(), Phase1InitializationDiscard(), PnpRootCreateDevice(), PopAddRemoveSysCapsCallback(), pOpenDeviceEx_UStr(), PopFlushVolumes(), PopFlushVolumeWorker(), PopReadShutdownPolicy(), ProbeAndCaptureObjectAttributes(), ProcessDisplayRegistry(), ProcessIdToHandle(), ProcessIdToSessionId(), ProcessLocaleRegistry(), ProcessorSetFriendlyName(), PsCreateSystemProcess(), PsCreateSystemThread(), PsLocateSystemDll(), PspCreateProcess(), PspCreateThread(), PspInitPhase0(), QueryDeviceInformation(), QueryDosDeviceW(), QueryTokenImpersonationTests(), QueryVolumeName(), ReadBlock(), ReadBootCodeFromFile(), ReadIpConfiguration(), ReconcileThisDatabaseWithMasterWorker(), RegCleanupRegistry(), RegCopyTreeW(), RegCreateKeyExW(), RegDeleteKeyExW(), RegInitializeRegistry(), RegisterUncProvider(), registry_callback(), RegistryInitAdapterKey(), RegOpenKey(), RegOpenKeyExW(), RegOpenUserClassesRoot(), RegpCopyTree(), RegRestoreKeyW(), RegSaveKeyW(), RegSetKeyValueA(), RegSetKeyValueW(), RegUnLoadKeyW(), RemoveDirectoryW(), ReplaceFileW(), ResolveArcNameNtSymLink(), RtlAcquirePrivilege(), RtlCreateBootStatusDataFile(), RtlCreateSystemVolumeInformationFolder(), RtlCreateUserProcess(), RtlCreateUserThread(), RtlDoesFileExists_UstrEx(), RtlGetNtProductType(), RtlInitializeRXact(), RtlLockBootStatusData(), RtlOpenCurrentUser(), RtlpGetRegistryHandle(), RtlpMapFile(), RtlpNtCreateKey(), RtlpNtOpenKey(), RtlpSysVolTakeOwnership(), RtlQueryProcessDebugInformation(), RtlQueryRegistryValues(), RtlSetCurrentDirectory_U(), RXactpOpenTargetKey(), RxGetRegistryParameters(), RxReadRegistryParameters(), SamConnect(), SampGetAccountDomainInfo(), SampRegCreateKey(), SampRegDeleteKey(), SampRegOpenKey(), SaveBootSector(), ScmCheckDriver(), ScmConvertToBootPathName(), ScmGetDriverStatus(), ScmSetServicePassword(), ScrInbvInitialize(), SdbpOpenMemMappedFile(), SearchForLegacyDrivers(), SeCopyClientToken(), SeGetLogonIdDeviceMap(), SepCaptureSecurityQualityOfService(), SepCleanupLUIDDeviceMapDirectory(), SepCreateSystemAnonymousLogonToken(), SepCreateSystemAnonymousLogonTokenNoEveryone(), SepCreateSystemProcessToken(), SepCreateToken(), SepDuplicateToken(), SepInitializationPhase1(), SepOpenThreadToken(), SepRegQueryHelper(), SeRmInitPhase1(), SeSubProcessToken(), SetAccountsDomainSid(), SetActiveComputerNameToRegistry(), SetAdministratorPassword(), SetComputerNameToRegistry(), SetDefaultPagefile(), SetFileAttributesW(), SetFileSecurityW(), SetGeoID(), SetMountedDeviceValue(), SetPrimaryDomain(), SetRegistryValue(), SetRosSpecificInfo(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetValueTest1(), SetValueTest2(), SetVolumeLabelW(), ShowFileSystemInfo(), SmpConfigureObjectDirectories(), SmpCreateDynamicEnvironmentVariables(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpExecPgm(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpHandleConnectionRequest(), SmpInit(), SmpInitializeDosDevices(), SmpInitializeKnownDllsInternal(), SmpLoadDataFromRegistry(), SmpProcessFileRenames(), SmpQueryRegistrySosOption(), SmpTranslateSystemPartitionInformation(), SockGetAsyncSelectHelperAfdHandle(), SpeakerInitialize(), SpiCreatePortConfig(), SpiInitOpenKeys(), START_TEST(), StartAuthenticationPort(), SystemProcessTest(), SystemProcessWorker(), TCPSendIoctl(), test1(), test2(), test3(), test5(), test6(), test7(), test8(), test9(), Test_KeyFullInformation(), Test_KeyNameInformation(), TestAllInformation(), TestCreateOpen_(), TestEventConcurrent(), TestIoCreateFile(), TestKM(), TestObRootSecurity(), TestPhysicalMemorySection(), TestProviderInfo(), TestRelativeNames(), TestSharedCacheMap(), TestSymlinks(), TestTcpConnect(), TH32CreateSnapshotSectionInitialize(), TryConnectPort(), TryCreatePort(), UDFDismountDevice(), UnhandledExceptionFilter(), USBAudioRegCreateMediaCategoriesKey(), UserCreateWinstaDirectory(), UserModeTest(), UserpFormatMessages(), VdmpInitialize(), VfatFormat(), VfatSetRenameInformation(), VfatxFormat(), ViCreateDriveLetter(), ViMountImage(), W32kOpenFile(), WahCreateSocketHandle(), WahOpenHandleHelper(), WaitNamedPipeW(), WdmAudOpenSysAudioDevice(), WmipCreateGuidObject(), WmipOpenGuidObjectByName(), WorkerThread(), WritePartitions(), xHalIoAssignDriveLetters(), and xOpenFile().
Definition at line 48 of file conport.c.
Referenced by NtQueryObject(), and NtSetInformationObject().
Definition at line 47 of file conport.c.
Referenced by NtQueryObject(), and NtSetInformationObject().
IN PUNICODE_STRING PortName |
Definition at line 35 of file conport.c.
Referenced by TryConnectPort().
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES IN DWORD Unknown3 |
Definition at line 37 of file conport.c.
Referenced by BaseQueryModuleData(), ClbAddData(), ClbSetColumnWidths(), DllRegisterServer(), NtUserCreateWindowStation(), SetConsoleKeyShortcuts(), and CStartMenuSite::Unknown().
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES IN DWORD IN DWORD Unknown4 |
IN PUNICODE_STRING IN POBJECT_ATTRIBUTES IN DWORD IN DWORD IN DWORD Unknown5 |
Definition at line 39 of file conport.c.
Referenced by DllRegisterServer(), and NtUserCreateWindowStation().
Definition at line 40 of file conport.c.
Referenced by DllRegisterServer(), and NtUserCreateWindowStation().