mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
e1d334794a
This was a MinGW-specific, non-MS-DDK/WDK-compatible define, that was used to mark NTOS kernel/hal exports, instead of NTSYSAPI etc. We have since fixed that, and changed the way Freeldr (and rossym) manages these, see commits:186c8b72d
(r16028),51f0dfd30
(r17651) and526efd2ee
(r24359)
33 lines
817 B
C
33 lines
817 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)
|
|
*/
|
|
|
|
#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 */
|