ReactOS 0.4.16-dev-257-g6aa11ac
iofile.c
Go to the documentation of this file.
1/*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: lib/rossym/zwfile.c
5 * PURPOSE: File I/O using native functions
6 *
7 * PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
8 */
9
10#include <ntddk.h>
11#include <reactos/rossym.h>
12#include "rossympriv.h"
13
14#define NDEBUG
15#include <debug.h>
16
18
21{
22 PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
23 return OwnContext->ReadFileProc(FileContext, Buffer, Size);
24}
25
28{
29 PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
30 return OwnContext->SeekFileProc(FileContext, Position);
31}
32
33/* EOF */
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _Inout_ PFILE_ENUM_CONTEXT FileContext
Definition: cdprocs.h:442
Definition: bufpool.h:45
NTSTATUS RosSymStatus
Definition: iofile.c:17
BOOLEAN RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:20
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:27
static COORD Position
Definition: mouse.c:34
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533