ReactOS  0.4.14-dev-49-gfb4591c
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 #define NTOSAPI
11 #include <ntddk.h>
12 #include <reactos/rossym.h>
13 #include "rossympriv.h"
14 
15 #define NDEBUG
16 #include <debug.h>
17 
19 
20 BOOLEAN
22 {
23  PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
24  return OwnContext->ReadFileProc(FileContext, Buffer, Size);
25 }
26 
27 BOOLEAN
29 {
30  PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
31  return OwnContext->SeekFileProc(FileContext, Position);
32 }
33 
34 /* EOF */
static COORD Position
Definition: mouse.c:34
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:28
LONG NTSTATUS
Definition: precomp.h:26
uint32_t ULONG_PTR
Definition: typedefs.h:63
BOOLEAN RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:21
unsigned char BOOLEAN
Definition: bufpool.h:45
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _Inout_ PFILE_ENUM_CONTEXT FileContext
Definition: cdprocs.h:444
NTSTATUS RosSymStatus
Definition: iofile.c:18
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
unsigned int ULONG
Definition: retypes.h:1