ReactOS 0.4.15-dev-7677-g8209aa5
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
22{
23 PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
24 return OwnContext->ReadFileProc(FileContext, Buffer, Size);
25}
26
29{
30 PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
31 return OwnContext->SeekFileProc(FileContext, Position);
32}
33
34/* 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:18
BOOLEAN RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: iofile.c:21
BOOLEAN RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: iofile.c:28
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