mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:33:00 +00:00
Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys.
This commit is contained in:
parent
b94e2d8ca0
commit
c2c66aff7d
24198 changed files with 0 additions and 37285 deletions
34
sdk/lib/rossym_new/iofile.c
Normal file
34
sdk/lib/rossym_new/iofile.c
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*
|
||||
* 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 */
|
Loading…
Add table
Add a link
Reference in a new issue