Process Hacker
|
Go to the source code of this file.
Macros | |
#define | _PH_IOSUP_PRIVATE |
Functions | |
BOOLEAN | PhIoSupportInitialization (VOID) |
NTSTATUS | PhCreateFileWin32 (_Out_ PHANDLE FileHandle, _In_ PWSTR FileName, _In_ ACCESS_MASK DesiredAccess, _In_opt_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions) |
Creates or opens a file. | |
NTSTATUS | PhCreateFileWin32Ex (_Out_ PHANDLE FileHandle, _In_ PWSTR FileName, _In_ ACCESS_MASK DesiredAccess, _In_opt_ ULONG FileAttributes, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG CreateOptions, _Out_opt_ PULONG CreateStatus) |
Creates or opens a file. | |
NTSTATUS | PhQueryFullAttributesFileWin32 (_In_ PWSTR FileName, _Out_ PFILE_NETWORK_OPEN_INFORMATION FileInformation) |
Queries file attributes. | |
NTSTATUS | PhDeleteFileWin32 (_In_ PWSTR FileName) |
Deletes a file. | |
NTSTATUS | PhListenNamedPipe (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock) |
NTSTATUS | PhDisconnectNamedPipe (_In_ HANDLE FileHandle) |
NTSTATUS | PhPeekNamedPipe (_In_ HANDLE FileHandle, _Out_writes_bytes_opt_(Length) PVOID Buffer, _In_ ULONG Length, _Out_opt_ PULONG NumberOfBytesRead, _Out_opt_ PULONG NumberOfBytesAvailable, _Out_opt_ PULONG NumberOfBytesLeftInMessage) |
NTSTATUS | PhTransceiveNamedPipe (_In_ HANDLE FileHandle, _In_opt_ HANDLE Event, _In_opt_ PIO_APC_ROUTINE ApcRoutine, _In_opt_ PVOID ApcContext, _Out_ PIO_STATUS_BLOCK IoStatusBlock, _In_reads_bytes_(InputBufferLength) PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_writes_bytes_(OutputBufferLength) PVOID OutputBuffer, _In_ ULONG OutputBufferLength) |
NTSTATUS | PhWaitForNamedPipe (_In_opt_ PUNICODE_STRING FileSystemName, _In_ PUNICODE_STRING Name, _In_opt_ PLARGE_INTEGER Timeout, _In_ BOOLEAN UseDefaultTimeout) |
NTSTATUS | PhImpersonateClientOfNamedPipe (_In_ HANDLE FileHandle) |
NTSTATUS | PhCreateFileStream (_Out_ PPH_FILE_STREAM *FileStream, _In_ PWSTR FileName, _In_ ACCESS_MASK DesiredAccess, _In_ ULONG ShareAccess, _In_ ULONG CreateDisposition, _In_ ULONG Flags) |
NTSTATUS | PhCreateFileStream2 (_Out_ PPH_FILE_STREAM *FileStream, _In_ HANDLE FileHandle, _In_ ULONG Flags, _In_ ULONG BufferLength) |
VOID NTAPI | PhpFileStreamDeleteProcedure (_In_ PVOID Object, _In_ ULONG Flags) |
VOID | PhVerifyFileStream (_In_ PPH_FILE_STREAM FileStream) |
Verifies that a file stream's position matches the position held by the file object. | |
NTSTATUS | PhpAllocateBufferFileStream (_Inout_ PPH_FILE_STREAM FileStream) |
NTSTATUS | PhpReadFileStream (_Inout_ PPH_FILE_STREAM FileStream, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_opt_ PULONG ReadLength) |
NTSTATUS | PhReadFileStream (_Inout_ PPH_FILE_STREAM FileStream, _Out_writes_bytes_(Length) PVOID Buffer, _In_ ULONG Length, _Out_opt_ PULONG ReadLength) |
NTSTATUS | PhpWriteFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length) |
NTSTATUS | PhWriteFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_reads_bytes_(Length) PVOID Buffer, _In_ ULONG Length) |
NTSTATUS | PhpFlushReadFileStream (_Inout_ PPH_FILE_STREAM FileStream) |
NTSTATUS | PhpFlushWriteFileStream (_Inout_ PPH_FILE_STREAM FileStream) |
NTSTATUS | PhFlushFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ BOOLEAN Full) |
Flushes the file stream. | |
VOID | PhGetPositionFileStream (_In_ PPH_FILE_STREAM FileStream, _Out_ PLARGE_INTEGER Position) |
NTSTATUS | PhpSeekFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ PLARGE_INTEGER Offset, _In_ PH_SEEK_ORIGIN Origin) |
NTSTATUS | PhSeekFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ PLARGE_INTEGER Offset, _In_ PH_SEEK_ORIGIN Origin) |
NTSTATUS | PhLockFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ PLARGE_INTEGER Position, _In_ PLARGE_INTEGER Length, _In_ BOOLEAN Wait, _In_ BOOLEAN Shared) |
NTSTATUS | PhUnlockFileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ PLARGE_INTEGER Position, _In_ PLARGE_INTEGER Length) |
NTSTATUS | PhWriteStringAsUtf8FileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ PPH_STRINGREF String) |
NTSTATUS | PhWriteStringAsUtf8FileStream2 (_Inout_ PPH_FILE_STREAM FileStream, _In_ PWSTR String) |
NTSTATUS | PhWriteStringAsUtf8FileStreamEx (_Inout_ PPH_FILE_STREAM FileStream, _In_ PWSTR Buffer, _In_ SIZE_T Length) |
NTSTATUS | PhWriteStringFormatAsUtf8FileStream_V (_Inout_ PPH_FILE_STREAM FileStream, _In_ _Printf_format_string_ PWSTR Format, _In_ va_list ArgPtr) |
NTSTATUS | PhWriteStringFormatAsUtf8FileStream (_Inout_ PPH_FILE_STREAM FileStream, _In_ _Printf_format_string_ PWSTR Format,...) |
Variables | |
PPH_OBJECT_TYPE | PhFileStreamType |
NTSTATUS PhCreateFileStream | ( | _Out_ PPH_FILE_STREAM * | FileStream, |
_In_ PWSTR | FileName, | ||
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ ULONG | ShareAccess, | ||
_In_ ULONG | CreateDisposition, | ||
_In_ ULONG | Flags | ||
) |
NTSTATUS PhCreateFileStream2 | ( | _Out_ PPH_FILE_STREAM * | FileStream, |
_In_ HANDLE | FileHandle, | ||
_In_ ULONG | Flags, | ||
_In_ ULONG | BufferLength | ||
) |
NTSTATUS PhCreateFileWin32 | ( | _Out_ PHANDLE | FileHandle, |
_In_ PWSTR | FileName, | ||
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_opt_ ULONG | FileAttributes, | ||
_In_ ULONG | ShareAccess, | ||
_In_ ULONG | CreateDisposition, | ||
_In_ ULONG | CreateOptions | ||
) |
Creates or opens a file.
FileHandle | A variable that receives the file handle. |
FileName | The Win32 file name. |
DesiredAccess | The desired access to the file. |
FileAttributes | File attributes applied if the file is created or overwritten. |
ShareAccess | The file access granted to other threads.
|
CreateDisposition | The action to perform if the file does or does not exist.
|
CreateOptions | The options to apply when the file is opened or created. |
NTSTATUS PhCreateFileWin32Ex | ( | _Out_ PHANDLE | FileHandle, |
_In_ PWSTR | FileName, | ||
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_opt_ ULONG | FileAttributes, | ||
_In_ ULONG | ShareAccess, | ||
_In_ ULONG | CreateDisposition, | ||
_In_ ULONG | CreateOptions, | ||
_Out_opt_ PULONG | CreateStatus | ||
) |
Creates or opens a file.
FileHandle | A variable that receives the file handle. |
FileName | The Win32 file name. |
DesiredAccess | The desired access to the file. |
FileAttributes | File attributes applied if the file is created or overwritten. |
ShareAccess | The file access granted to other threads.
|
CreateDisposition | The action to perform if the file does or does not exist.
|
CreateOptions | The options to apply when the file is opened or created. |
CreateStatus | A variable that receives creation information.
|
NTSTATUS PhDeleteFileWin32 | ( | _In_ PWSTR | FileName | ) |
NTSTATUS PhFlushFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ BOOLEAN | Full | ||
) |
VOID PhGetPositionFileStream | ( | _In_ PPH_FILE_STREAM | FileStream, |
_Out_ PLARGE_INTEGER | Position | ||
) |
NTSTATUS PhImpersonateClientOfNamedPipe | ( | _In_ HANDLE | FileHandle | ) |
NTSTATUS PhListenNamedPipe | ( | _In_ HANDLE | FileHandle, |
_In_opt_ HANDLE | Event, | ||
_In_opt_ PIO_APC_ROUTINE | ApcRoutine, | ||
_In_opt_ PVOID | ApcContext, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock | ||
) |
NTSTATUS PhLockFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PLARGE_INTEGER | Position, | ||
_In_ PLARGE_INTEGER | Length, | ||
_In_ BOOLEAN | Wait, | ||
_In_ BOOLEAN | Shared | ||
) |
NTSTATUS PhpAllocateBufferFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream | ) |
NTSTATUS PhPeekNamedPipe | ( | _In_ HANDLE | FileHandle, |
_Out_writes_bytes_opt_(Length) PVOID | Buffer, | ||
_In_ ULONG | Length, | ||
_Out_opt_ PULONG | NumberOfBytesRead, | ||
_Out_opt_ PULONG | NumberOfBytesAvailable, | ||
_Out_opt_ PULONG | NumberOfBytesLeftInMessage | ||
) |
VOID NTAPI PhpFileStreamDeleteProcedure | ( | _In_ PVOID | Object, |
_In_ ULONG | Flags | ||
) |
NTSTATUS PhpFlushReadFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream | ) |
NTSTATUS PhpFlushWriteFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream | ) |
NTSTATUS PhpReadFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_Out_writes_bytes_(Length) PVOID | Buffer, | ||
_In_ ULONG | Length, | ||
_Out_opt_ PULONG | ReadLength | ||
) |
NTSTATUS PhpSeekFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PLARGE_INTEGER | Offset, | ||
_In_ PH_SEEK_ORIGIN | Origin | ||
) |
NTSTATUS PhpWriteFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_reads_bytes_(Length) PVOID | Buffer, | ||
_In_ ULONG | Length | ||
) |
NTSTATUS PhQueryFullAttributesFileWin32 | ( | _In_ PWSTR | FileName, |
_Out_ PFILE_NETWORK_OPEN_INFORMATION | FileInformation | ||
) |
NTSTATUS PhReadFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_Out_writes_bytes_(Length) PVOID | Buffer, | ||
_In_ ULONG | Length, | ||
_Out_opt_ PULONG | ReadLength | ||
) |
NTSTATUS PhSeekFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PLARGE_INTEGER | Offset, | ||
_In_ PH_SEEK_ORIGIN | Origin | ||
) |
NTSTATUS PhTransceiveNamedPipe | ( | _In_ HANDLE | FileHandle, |
_In_opt_ HANDLE | Event, | ||
_In_opt_ PIO_APC_ROUTINE | ApcRoutine, | ||
_In_opt_ PVOID | ApcContext, | ||
_Out_ PIO_STATUS_BLOCK | IoStatusBlock, | ||
_In_reads_bytes_(InputBufferLength) PVOID | InputBuffer, | ||
_In_ ULONG | InputBufferLength, | ||
_Out_writes_bytes_(OutputBufferLength) PVOID | OutputBuffer, | ||
_In_ ULONG | OutputBufferLength | ||
) |
NTSTATUS PhUnlockFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PLARGE_INTEGER | Position, | ||
_In_ PLARGE_INTEGER | Length | ||
) |
VOID PhVerifyFileStream | ( | _In_ PPH_FILE_STREAM | FileStream | ) |
NTSTATUS PhWaitForNamedPipe | ( | _In_opt_ PUNICODE_STRING | FileSystemName, |
_In_ PUNICODE_STRING | Name, | ||
_In_opt_ PLARGE_INTEGER | Timeout, | ||
_In_ BOOLEAN | UseDefaultTimeout | ||
) |
NTSTATUS PhWriteFileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_reads_bytes_(Length) PVOID | Buffer, | ||
_In_ ULONG | Length | ||
) |
NTSTATUS PhWriteStringAsUtf8FileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PPH_STRINGREF | String | ||
) |
NTSTATUS PhWriteStringAsUtf8FileStream2 | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PWSTR | String | ||
) |
NTSTATUS PhWriteStringAsUtf8FileStreamEx | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ PWSTR | Buffer, | ||
_In_ SIZE_T | Length | ||
) |
NTSTATUS PhWriteStringFormatAsUtf8FileStream | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ _Printf_format_string_ PWSTR | Format, | ||
... | |||
) |
NTSTATUS PhWriteStringFormatAsUtf8FileStream_V | ( | _Inout_ PPH_FILE_STREAM | FileStream, |
_In_ _Printf_format_string_ PWSTR | Format, | ||
_In_ va_list | ArgPtr | ||
) |
PPH_OBJECT_TYPE PhFileStreamType |