ReactOS  0.4.14-dev-358-gbef841c
rossympriv.h
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/rossympriv.h
5  * PURPOSE: Private header for rossym
6  *
7  * PROGRAMMERS: Ge van Geldorp (gvg@reactos.com)
8  */
9 
10 #pragma once
11 
12 typedef struct _ROSSYM_INFO {
17 } ROSSYM_INFO;
18 
20 
21 #define RosSymAllocMem(Size) (*RosSymCallbacks.AllocMemProc)(Size)
22 #define RosSymFreeMem(Area) (*RosSymCallbacks.FreeMemProc)(Area)
23 #define RosSymReadFile(FileContext, Buffer, Size) (*RosSymCallbacks.ReadFileProc)((FileContext), (Buffer), (Size))
24 #define RosSymSeekFile(FileContext, Position) (*RosSymCallbacks.SeekFileProc)((FileContext), (Position))
25 
28 
29 #define ROSSYM_IS_VALID_DOS_HEADER(DosHeader) (IMAGE_DOS_SIGNATURE == (DosHeader)->e_magic \
30  && 0L != (DosHeader)->e_lfanew)
31 #define ROSSYM_IS_VALID_NT_HEADERS(NtHeaders) (IMAGE_NT_SIGNATURE == (NtHeaders)->Signature \
32  && IMAGE_NT_OPTIONAL_HDR_MAGIC == (NtHeaders)->OptionalHeader.Magic)
33 
34 /* EOF */
signed char * PCHAR
Definition: retypes.h:7
static COORD Position
Definition: mouse.c:34
BOOLEAN RosSymZwReadFile(PVOID FileContext, PVOID Buffer, ULONG Size)
Definition: zwfile.c:16
Definition: rossym.h:26
BOOLEAN RosSymZwSeekFile(PVOID FileContext, ULONG_PTR Position)
Definition: zwfile.c:32
uint32_t ULONG_PTR
Definition: typedefs.h:63
ROSSYM_CALLBACKS RosSymCallbacks
Definition: init.c:14
unsigned char BOOLEAN
struct _ROSSYM_INFO ROSSYM_INFO
Definition: bufpool.h:45
_In_ PFCB _In_ PCD_NAME _In_ BOOLEAN _Inout_ PFILE_ENUM_CONTEXT FileContext
Definition: cdprocs.h:444
PCHAR Strings
Definition: rossympriv.h:15
ULONG StringsLength
Definition: rossympriv.h:16
IN PVOID IN PVOID IN USHORT IN USHORT Size
Definition: pci.h:359
unsigned int ULONG
Definition: retypes.h:1
ULONG SymbolsCount
Definition: rossympriv.h:14
PROSSYM_ENTRY Symbols
Definition: rossympriv.h:13