mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 08:08:38 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
34 lines
833 B
C
34 lines
833 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS kernel
|
|
* FILE: lib/rossym/zwfile.c
|
|
* PURPOSE: File I/O using native functions
|
|
*
|
|
* PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
|
|
*/
|
|
|
|
#define NTOSAPI
|
|
#include <ntddk.h>
|
|
#include <reactos/rossym.h>
|
|
#include "rossympriv.h"
|
|
|
|
#define NDEBUG
|
|
#include <debug.h>
|
|
|
|
NTSTATUS RosSymStatus;
|
|
|
|
BOOLEAN
|
|
RosSymIoReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
|
|
{
|
|
PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
|
|
return OwnContext->ReadFileProc(FileContext, Buffer, Size);
|
|
}
|
|
|
|
BOOLEAN
|
|
RosSymIoSeekFile(PVOID FileContext, ULONG_PTR Position)
|
|
{
|
|
PROSSYM_OWN_FILECONTEXT OwnContext = (PROSSYM_OWN_FILECONTEXT)FileContext;
|
|
return OwnContext->SeekFileProc(FileContext, Position);
|
|
}
|
|
|
|
/* EOF */
|