13#define FILE_INFO_STDIN (1 << 0)
14#define FILE_INFO_STDOUT (1 << 1)
15#define FILE_INFO_BINARY (1 << 5)
16#define FILE_INFO_DEVICE (1 << 7)
21typedef struct _DOS_FILE_DESCRIPTOR_DOS5
38} DOS_FILE_DESCRIPTOR_DOS5, *PDOS_FILE_DESCRIPTOR_DOS5;
40C_ASSERT(
sizeof(DOS_FILE_DESCRIPTOR_DOS5) == 0x3B);
84 BYTE AccessShareModes,
85 WORD CreateActionFlags,
93 DWORD CreationDisposition,
101 BYTE AccessShareModes
WORD DosReadFile(WORD FileHandle, DWORD Buffer, WORD Count, LPWORD BytesRead)
PDOS_FILE_DESCRIPTOR DosGetHandleFileDescriptor(WORD DosHandle)
WORD DosOpenFile(LPWORD Handle, LPCSTR FilePath, BYTE AccessShareModes)
WORD DosCreateFileEx(LPWORD Handle, LPWORD CreationStatus, LPCSTR FilePath, BYTE AccessShareModes, WORD CreateActionFlags, WORD Attributes)
WORD DosCreateFile(LPWORD Handle, LPCSTR FilePath, DWORD CreationDisposition, WORD Attributes)
BYTE DosReadLineBuffered(WORD FileHandle, DWORD Buffer, BYTE MaxSize)
struct _DOS_SFT * PDOS_SFT
BYTE DosFindWin32Descriptor(HANDLE Win32Handle)
struct _DOS_FILE_DESCRIPTOR DOS_FILE_DESCRIPTOR
PDOS_FILE_DESCRIPTOR DosGetFileDescriptor(BYTE Id)
BOOLEAN DosUnlockFile(WORD DosHandle, DWORD Offset, DWORD Size)
BOOL DosFlushFileBuffers(WORD FileHandle)
WORD DosSeekFile(WORD FileHandle, LONG Offset, BYTE Origin, LPDWORD NewOffset)
BOOLEAN DosLockFile(WORD DosHandle, DWORD Offset, DWORD Size)
BYTE DosFindFreeDescriptor(VOID)
WORD DosWriteFile(WORD FileHandle, DWORD Buffer, WORD Count, LPWORD BytesWritten)
BYTE DosFindDeviceDescriptor(DWORD DevicePointer)
BOOLEAN DosDeviceIoControl(WORD FileHandle, BYTE ControlCode, DWORD Buffer, PWORD Length)
struct _DOS_FILE_DESCRIPTOR * PDOS_FILE_DESCRIPTOR
_Must_inspect_result_ _In_opt_ PFLT_INSTANCE _Out_ PHANDLE FileHandle
static PLARGE_INTEGER Time
_In_ ULONG _In_ ULONG Offset
_In_ ULONG _In_ ULONG _In_ ULONG Length
BYTE Padding[0x13 - sizeof(HANDLE)]
DOS_FILE_DESCRIPTOR FileDescriptors[ANYSIZE_ARRAY]
_Must_inspect_result_ _In_ WDFDMAENABLER _In_ _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesWritten
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PLONGLONG _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesRead
_IRQL_requires_same_ typedef _In_ ULONG ControlCode