ReactOS 0.4.16-dev-424-ge4748fe
|
#include <stdio.h>
#include <stdarg.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
#include "winreg.h"
#include "winnls.h"
#include "wine/test.h"
#include "winternl.h"
#include "winioctl.h"
Go to the source code of this file.
Classes | |
struct | FILE_PIPE_INFORMATION |
struct | FILE_PIPE_LOCAL_INFORMATION |
Macros | |
#define | WIN32_NO_STATUS |
#define | FILE_SYNCHRONOUS_IO_ALERT 0x10 |
#define | FILE_SYNCHRONOUS_IO_NONALERT 0x20 |
#define | FSCTL_PIPE_LISTEN CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) |
#define | loadfunc(name) |
#define | check_pipe_handle_state(handle, r, c) _check_pipe_handle_state(__LINE__, handle, r, c) |
#define | PIPENAME "\\\\.\\pipe\\ntdll_tests_pipe.c" |
#define | test_file_name_fail(a, b) _test_file_name_fail(__LINE__,a,b) |
#define | test_file_name(a) _test_file_name(__LINE__,a) |
#define | test_group(a, b, c) _test_group(__LINE__,a,b,c) |
#define FSCTL_PIPE_LISTEN CTL_CODE(FILE_DEVICE_NAMED_PIPE, 2, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
static |
Definition at line 612 of file pipe.c.
Definition at line 1225 of file pipe.c.
Definition at line 1360 of file pipe.c.
|
static |
Definition at line 121 of file pipe.c.
Referenced by test_alertable(), test_cancelio(), test_completion(), test_create(), test_nonalertable(), and test_overlapped().
|
static |
Definition at line 831 of file pipe.c.
Referenced by read_pipe_test(), test_file_info(), and test_volume_info().
|
static |
Definition at line 1324 of file pipe.c.
Referenced by test_security_info().
|
static |
Definition at line 1301 of file pipe.c.
Referenced by test_security_info().
|
static |
Definition at line 1279 of file pipe.c.
Referenced by _test_group().
Definition at line 86 of file pipe.c.
Referenced by START_TEST().
|
static |
Definition at line 146 of file pipe.c.
Referenced by listen_pipe().
Definition at line 111 of file pipe.c.
Referenced by read_pipe_test(), test_overlapped(), and test_peek().
|
static |
Definition at line 151 of file pipe.c.
Referenced by test_alertable(), test_cancelio(), test_completion(), test_create(), test_nonalertable(), and test_overlapped().
Definition at line 863 of file pipe.c.
Referenced by START_TEST().
START_TEST | ( | pipe | ) |
Definition at line 1492 of file pipe.c.
Definition at line 441 of file pipe.c.
Referenced by START_TEST().
Definition at line 556 of file pipe.c.
Referenced by START_TEST().
Definition at line 339 of file pipe.c.
Referenced by START_TEST().
Definition at line 220 of file pipe.c.
Referenced by START_TEST().
Definition at line 160 of file pipe.c.
Referenced by START_TEST().
Definition at line 1262 of file pipe.c.
Referenced by START_TEST(), and test_actctx().
Definition at line 630 of file pipe.c.
Referenced by START_TEST().
Definition at line 511 of file pipe.c.
Referenced by START_TEST().
Definition at line 282 of file pipe.c.
Definition at line 805 of file pipe.c.
Referenced by read_pipe_test().
Definition at line 1379 of file pipe.c.
Referenced by START_TEST().
Definition at line 1179 of file pipe.c.
Referenced by START_TEST().
Definition at line 407 of file pipe.c.
Referenced by test_alertable(), test_nonalertable(), and thread().
|
static |
Definition at line 1347 of file pipe.c.
Referenced by test_security_info().
Definition at line 68 of file pipe.c.
Referenced by test_create().
Definition at line 67 of file pipe.c.
Referenced by read_pipe_test().
HANDLE PIO_APC_ROUTINE PVOID apc_context |
Definition at line 69 of file pipe.c.
Referenced by create_pipe(), test_create_invalid(), and test_filepipeinfo().
BOOL bInheritHandle |
Definition at line 82 of file pipe.c.
Referenced by DuplicateConsoleHandle(), DuplicateHandle(), ATL::CEvent::Open(), ATL::CMutex::Open(), ATL::CSemaphore::Open(), OpenConsoleW(), OpenEventA(), OpenEventW(), OpenFileMappingA(), OpenFileMappingW(), OpenJobObjectA(), OpenJobObjectW(), OpenMutexA(), OpenMutexW(), OpenProcess(), OpenSemaphoreA(), OpenSemaphoreW(), OpenThread(), OpenWaitableTimerA(), OpenWaitableTimerW(), test_pack_REMSECURITY_ATTRIBUTES(), and test_pack_SECURITY_ATTRIBUTES().
ULONG POBJECT_ATTRIBUTES PIO_STATUS_BLOCK ULONG ULONG ULONG ULONG ULONG ULONG completion_mode |
OUT PIO_STATUS_BLOCK OUT PVOID FileInformation |
Definition at line 75 of file pipe.c.
Referenced by CmpOpenHiveFiles(), EngLoadModuleEx(), FatMount(), FileInformationCheck(), GetFileAttributesExW(), GetFileAttributesW(), ImgpGetFileSize(), IniFileInitialize(), IopQueryAttributesFile(), IoQueryFileInformation(), IoSetInformation(), KsQueryInformationFile(), KsSetInformationFile(), MountDisk(), MyDeleteFile(), NtQueryAttributesFile(), NtQueryDirectoryFile(), NtQueryFullAttributesFile(), NtQueryInformationFile(), NtSetInformationFile(), SetFileAttributesW(), SetFileCompletionNotificationModes(), and SetupDeleteFile().
_In_opt_ HANDLE _In_opt_ PIO_APC_ROUTINE _In_opt_ PVOID _Out_ PIO_STATUS_BLOCK _In_ ULONG _In_ FILE_INFORMATION_CLASS FileInformationClass |
Definition at line 75 of file pipe.c.
Referenced by DoQuery(), Ext2GetInfoLength(), Ext2ProcessEntry(), Ext2QueryFileInformation(), Ext2SetFileInformation(), IopQueryAttributesFile(), IoQueryFileInformation(), IoSetInformation(), KsecQueryFileInformation(), KsQueryInformationFile(), KsSetInformationFile(), MsfsQueryInformation(), MsfsSetInformation(), NtfsQueryDirectory(), NtfsQueryInformation(), NtfsSetInformation(), NtQueryDirectoryFile(), NtQueryInformationFile(), NtSetInformationFile(), NullDispatch(), QueryFileInfo(), SetFileInformationByHandle(), UDFQueryDirectory(), VfatQueryInformation(), and VfatSetInformation().
HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK ULONG PVOID in_buffer |
PIO_STATUS_BLOCK void ULONG FS_INFORMATION_CLASS info_class |
Definition at line 76 of file pipe.c.
Referenced by check_nfs41_getacl_args(), check_nfs41_setacl_args(), disk_create_notify(), disk_query_directory(), disk_query_information(), disk_query_volume_information(), disk_set_information(), nfs41_QuerySecurityInformation(), and nfs41_SetSecurityInformation().
IO_STATUS_BLOCK IO_STATUS_BLOCK* io_status |
|
static |
Definition at line 145 of file pipe.c.
Referenced by ioapc(), listen_pipe(), test_alertable(), test_cancelio(), test_nonalertable(), and test_overlapped().
IO_STATUS_BLOCK* iosb |
Definition at line 69 of file pipe.c.
Referenced by _check_pipe_handle_state(), _test_file_name(), _test_file_name_fail(), create_pipe(), listen_pipe(), read_pipe_test(), test_alertable(), test_cancelio(), test_completion(), test_create(), test_create_invalid(), test_filepipeinfo(), test_nonalertable(), test_overlapped(), test_peek(), and test_volume_info().
_Out_ PIO_STATUS_BLOCK IoStatusBlock |
Definition at line 75 of file pipe.c.
Referenced by _IRQL_requires_(), AccpOpenNamedObject(), AcsHlpSendCommand(), AddRemoteDatabaseEntry(), AfdAPC(), AfdInfoAPC(), AllocConsole(), ApcRoutine(), ApphelpCacheQueryInfo(), BaseMarkFileForDelete(), BasepCopyFileExW(), BasepDoTapeOperation(), BasepIoCompletion(), BasepIoCompletionSimple(), BasepMapFile(), BasepNotifyTrackingService(), BasepOpenFileForMove(), BatteryIoctl(), Beep(), BroadcastOpen(), CabinetExtractFile(), CabinetOpen(), CallCacheControl(), CancelIo(), clean_main(), CmBattSendDownStreamIrp(), CmBattWaitWakeLoop(), CmpFileFlush(), CmpFileRead(), CmpFileSetSize(), CmpFileWrite(), CmpInitializeHive(), CmpOpenHiveFiles(), CommandDumpSector(), CommandPartInfo(), CommitWaveBufferApc(), CompareFileContents(), CompBattGetDeviceObjectPointer(), CopyLoop(), CreateDirectoryExW(), CreateDirectoryW(), CreateFileW(), CreateHardLinkW(), CreateIoCompletionPort(), CreateProcessInternalW(), CreateRegistryFile(), CreateRemoteDatabaseWorker(), CreateSymbolicLinkW(), DbgkCreateThread(), DbgkpPostFakeModuleMessages(), DbgkpSectionToFileHandle(), DeleteFileW(), DeleteRemoteDatabaseEntry(), DismountVolume(), DoesPathExist_UStr(), EngLoadModuleEx(), Fat12WriteBootSector(), Fat12WriteFAT(), Fat12WriteRootDirectory(), Fat16WriteBootSector(), Fat16WriteFAT(), Fat16WriteRootDirectory(), Fat32WriteBootSector(), Fat32WriteFAT(), Fat32WriteFsInfo(), Fat32WriteRootDirectory(), FatWipeSectors(), Fatx16WriteFAT(), Fatx32WriteFAT(), FatxWriteBootSector(), FatxWriteRootDirectory(), FdoSendInquiry(), FillConsoleOutputAttribute(), FillConsoleOutputCharacterA(), FilterConnectCommunicationPort(), FindFirstChangeNotificationW(), FindFirstFileExW(), FindFirstStreamW(), FindNextFileW(), FindNTOSInstallations(), FlushConsoleInputBuffer(), FlushFileBuffers(), FlushViewOfFile(), FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRecReadBlock(), FsRtlBalanceReads(), FsRtlpOpenDev(), FsRtlpRegisterProviderWithMUP(), FsRtlProcessFileLock(), FstubGetDiskGeometry(), FstubReadSector(), FstubWriteSector(), GetCompressedFileSizeW(), GetConnectionHandle(), GetConsoleScreenBufferInfo(), GetDeviceInfo_UStr(), GetDiskFreeSpaceExW(), GetDiskFreeSpaceW(), GetDriveTypeAndCharacteristics(), GetDriveTypeW(), GetFileAttributesByHandle(), GetFileInformationByHandle(), GetFileSize(), GetFileSizeEx(), GetFileSystem(), GetFileSystemName_UStr(), GetFileSystemNameWorker(), GetFileTime(), GetPhysicalFileSize(), GetRemoteDatabaseEntry(), GetRemoteDatabaseSize(), GetSourcePaths(), GetVolumeInformationW(), GetVolumeNameForRoot(), GetVolumeType(), HalpDeleteMountLetter(), HalpEnableAutomaticDriveLetterAssignment(), HalpGetFullGeometry(), HalpIsOldStyleFloppy(), HalpNextMountLetter(), HalpQueryPartitionType(), HalpSetMountLetter(), HidClass_DeviceControl(), HidClass_Write(), HidUsb_ResetPort(), HvpQueryHiveSize(), Icmp6CreateFile(), Icmp6SendEcho2(), IcmpCreateFile(), IcmpSendEcho(), IcmpSendEcho2(), InferFileSystem(), InferFileSystemWorker(), InfOpenFile(), InfWriteFile(), IniCacheLoad(), IniCacheLoadByHandle(), IniCacheSave(), IniCacheSaveByHandle(), InstallBootCodeToDisk(), InstallBootCodeToFile(), InstallBootManagerAndBootEntries(), InstallBtrfsBootCode(), InstallFat32BootCode(), InstallFatBootCode(), InstallMbrBootCode(), InstallNtfsBootCode(), InstallSetupInfFile(), IntAgpGetInterface(), IntGetFullFileName(), IntUpdateControlKeyState(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IoBuildSynchronousFsdRequest(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IoGetBootDiskInformation(), IoGetDmaAdapter(), IopCancelPrepareDeviceForRemoval(), IopCloseFile(), IopComputeHarddiskDerangements(), IopCreateArcNamesCd(), IopCreateArcNamesDisk(), IopCreateDeviceInstancePath(), IopCreateFile(), IopCreateLogFile(), IopDeviceFsIoControl(), IopFilterResourceRequirements(), IopFinalizeAsynchronousIo(), IopGetBasicInformationFile(), IopGetDeviceProperty(), IopGetDeviceRelations(), IopGetFileInformation(), IopGetSetSecurityObject(), IopInitiatePnpIrp(), IopLoadFileSystemDriver(), IopMarkBootPartition(), IopMountVolume(), IopOpenLinkOrRenameTarget(), IopParseDevice(), IopPrepareDeviceForRemoval(), IopQueryCompatibleIds(), IopQueryDeviceInformation(), IopQueryHardwareIds(), IopStartRamdisk(), IopSynchronousCall(), IopWriteLogFile(), IoRequestDeviceEject(), IoSetInformation(), IoVerifyVolume(), IoVolumeDeviceToDosName(), IssueSyncIoControlRequest(), IsThisARootDirectory(), IsValidNTOSInstallation(), KernelModeTest(), KmtInitTestFiles(), KsecDeviceIoControl(), KsecOpenDevice(), KsiCreateObjectType(), KspCreateObjectType(), KspSynchronousIoControlDeviceCompletion(), KsQueryInformationFile(), KsReadFile(), KsStreamIo(), KsSynchronousIoControlDevice(), KsWriteFile(), LdrpCreateDllSection(), LdrVerifyImageMatchesChecksum(), LockFile(), LogfBackupFile(), LogfCreate(), LogfpFlushFile(), LogfpReadFile(), LogfpSetFileSize(), LogfpWriteFile(), main(), MakeBeep(), MapFile(), MmCheckSystemImage(), MmLoadSystemImage(), MountMgrNotifyNameChange(), MountMgrValidateBackPointer(), MountMgrVolumeMountPointChanged(), MountVolume(), MoveFileWithProgressW(), MyDeleteFile(), NdisOpenFile(), NpCheckClientPipe_(), NpCheckServerPipe_(), NpControlPipe(), NpCreatePipeEx(), NpOpenPipeEx(), NpQueryPipe_(), NpReadPipe(), NpWaitPipe(), NpWritePipe(), nt_mailslot_test(), NtCancelIoFile(), NtCreateFile(), NtCreateMailslotFile(), NtCreateNamedPipeFile(), NtDeviceIoControlFile(), NtFlushBuffersFile(), NtFlushVirtualMemory(), NtFsControlFile(), NtLockFile(), NtNotifyChangeDirectoryFile(), NtNotifyChangeKey(), NtOpenFile(), NtQueryDirectoryFile(), NtQueryInformationFile(), NtQueryVolumeInformationFile(), NtReadFile(), NtRemoveIoCompletion(), NtSetInformationFile(), NtSetVolumeInformationFile(), NtUnlockFile(), NtWriteFile(), OnlineMountedVolumes(), OpenAndMapFile(), OpenBootStore_UStr(), OpenDevice(), OpenDirectoryByHandleOrPath(), OpenFile(), OpenIniBootLoaderStore(), OpenKeyboard(), OpenRemoteDatabase(), PciGetDeviceCapabilities(), PciQueryForPciBusInterface(), PciSendIoctl(), PiInitializeDevNode(), PopAddRemoveSysCapsCallback(), pOpenDeviceEx_UStr(), PopFlushVolumeWorker(), PopSendQuerySystemPowerState(), PopSendSetSystemPowerState(), PortSendInquiry(), PrivMoveFileIdentityW(), ProtectFile(), PsLocateSystemDll(), QueryFileInfo(), QueryVolumeName(), RawQueryFsSizeInfo(), ReadBlock(), ReadBootCodeByHandle(), ReadBootCodeFromFile(), ReadDirectoryChangesW(), ReconcileThisDatabaseWithMasterWorker(), RegisterUncProvider(), RegNotifyChangeKeyValue(), RegRestoreKeyW(), RegSaveKeyW(), RemoveDirectoryW(), ReplaceFileW(), RosSymZwReadFile(), RosSymZwSeekFile(), RtlCreateBootStatusDataFile(), RtlCreateSystemVolumeInformationFolder(), RtlGetSetBootStatusData(), RtlLockBootStatusData(), RtlpMapFile(), RtlpSysVolTakeOwnership(), RtlpWorkerThreadProc(), RtlSetCurrentDirectory_U(), RtlSetIoCompletionCallback(), RtlUnlockBootStatusData(), SaveBootSector(), SdbpOpenMemMappedFile(), SendIoctl(), SetAttributesOnFile(), SetConsoleCursorInfo(), SetConsoleCursorPosition(), SetConsoleOutputCP(), SetConsoleTextAttribute(), SetEndOfFile(), SetFileAttributesByHandle(), SetFileAttributesW(), SetFileCompletionNotificationModes(), SetFileInformationByHandle(), SetFilePointer(), SetFilePointerEx(), SetFileShortNameW(), SetFileTime(), SetFileValidData(), SetLastWriteTime(), SetupCopyFile(), SetupCreateSingleDirectory(), SetupDeleteFile(), SetupMoveFile(), SetVolumeLabelW(), ShowFileSystemInfo(), SimpleErrorChecks(), SmpCreateVolumeDescriptors(), SmpDeletePagingFile(), SmpGetPagingFileSize(), SmpGetVolumeFreeSpace(), SmpInitializeKnownDllsInternal(), SmpProcessFileRenames(), SockAsyncSelectCompletionRoutine(), SpeakerInitialize(), START_TEST(), StreamClassRWCompletion(), TCPSendIoctl(), TdiCall(), Test_ImageSection(), Test_ImageSection2(), TestFileFsAttributeInformation(), TestFileFsDeviceInformation(), TestFileFsVolumeInformation(), TestFileInfo(), TestIoCreateFile(), TestKM(), TestSymlinks(), TestVolumeInfo(), TruncateRemoteDatabase(), USBH_EnableParentPort(), USBH_GetPortStatus(), USBH_SyncGetDeviceHandle(), USBH_SyncGetHubCount(), USBH_SyncGetRootHubPdo(), USBH_SyncSubmitUrb(), USBPORT_IsCompanionController(), USBPORT_QueryPciBusInterface(), UserModeTest(), VfatFlushVolume(), VfatSetRenameInformation(), VideoPortCheckForDeviceExistence(), ViReadFile(), W32kOpenFile(), WahCreateSocketHandle(), WahOpenHandleHelper(), WaitForKeyboard(), WaitNamedPipeW(), WdmAudOpenSysAudioDevice(), WriteConsole(), WriteConsoleOutputCharacterA(), WriteConsoleOutputCharacterW(), WriteRemoteDatabaseEntry(), WSPCloseSocket(), xHalExamineMBR(), xHalGetPartialGeometry(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), xHalIoWritePartitionTable(), and xOpenFile().
Definition at line 76 of file pipe.c.
Referenced by test_security_info().
|
static |
Definition at line 412 of file pipe.c.
Referenced by test_alertable(), test_nonalertable(), and thread().
HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK ULONG PVOID ULONG PVOID out_buffer |
HANDLE PIO_APC_ROUTINE PVOID PIO_STATUS_BLOCK ULONG PVOID ULONG PVOID ULONG out_size |
ULONG POBJECT_ATTRIBUTES PIO_STATUS_BLOCK ULONG ULONG ULONG ULONG pipe_type |
Definition at line 71 of file pipe.c.
Referenced by read_pipe_test().
ULONG POBJECT_ATTRIBUTES PIO_STATUS_BLOCK ULONG ULONG ULONG ULONG ULONG read_mode |
Definition at line 71 of file pipe.c.
Referenced by create_overlapped_pipe(), create_pipe_pair(), and create_test_file().
ULONG POBJECT_ATTRIBUTES PIO_STATUS_BLOCK ULONG sharing |
Definition at line 70 of file pipe.c.
Referenced by _wsopen_s(), can_open(), check_access(), check_sharing(), create_pipe(), msi_create_file(), OpenColorProfileA(), OpenColorProfileW(), sc_cb_open(), test_create(), WcsOpenColorProfileA(), and WcsOpenColorProfileW().
Definition at line 116 of file pipe.c.
Referenced by test_completion(), test_create(), test_filepipeinfo(), test_overlapped(), and thread().
Definition at line 118 of file pipe.c.
Referenced by create_pipe(), test_create_invalid(), and test_filepipeinfo().
ULONG POBJECT_ATTRIBUTES PIO_STATUS_BLOCK ULONG ULONG ULONG ULONG ULONG ULONG ULONG ULONG ULONG PLARGE_INTEGER timeout |
Definition at line 74 of file pipe.c.
Referenced by create_pipe(), test_create_invalid(), and test_filepipeinfo().
|
static |
Definition at line 406 of file pipe.c.
Referenced by test_alertable(), test_nonalertable(), thread(), and userapc().