ReactOS 0.4.15-dev-7788-g1ad9096
shimeng.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ARRAY
 
struct  tagHOOKAPIEX
 
struct  _INEXCLUDE
 
struct  _SHIMINFO
 
struct  _SHIMMODULE
 
struct  _HOOKMODULEINFO
 
struct  _FLAGINFO
 

Macros

#define SeiAlloc(size)   SdbpAlloc(size)
 
#define SeiReAlloc(mem, size, oldSize)   SdbpReAlloc(mem, size, oldSize)
 
#define SeiFree(mem)   SdbpFree(mem)
 

Typedefs

typedef struct _ARRAY ARRAY
 
typedef struct _ARRAYPARRAY
 
typedef struct _SHIMINFOPSHIMINFO
 
typedef struct _SHIMMODULEPSHIMMODULE
 
typedef struct tagHOOKAPIEXPHOOKAPIEX
 
typedef struct tagHOOKAPIEX HOOKAPIEX
 
typedef struct _INEXCLUDE INEXCLUDE
 
typedef struct _INEXCLUDEPINEXCLUDE
 
typedef struct _SHIMINFO SHIMINFO
 
typedef struct _SHIMMODULE SHIMMODULE
 
typedef struct _HOOKMODULEINFO HOOKMODULEINFO
 
typedef struct _HOOKMODULEINFOPHOOKMODULEINFO
 
typedef struct _FLAGINFO FLAGINFO
 
typedef struct _FLAGINFOPFLAGINFO
 

Functions

 C_ASSERT (sizeof(HOOKAPIEX)==sizeof(HOOKAPI))
 
 C_ASSERT (offsetof(HOOKAPIEX, pShimInfo)==offsetof(HOOKAPI, Reserved))
 
LPVOID SdbpAlloc (SIZE_T size)
 
LPVOID SdbpReAlloc (LPVOID mem, SIZE_T size, SIZE_T oldSize)
 
VOID SdbpFree (LPVOID mem)
 

Macro Definition Documentation

◆ SeiAlloc

#define SeiAlloc (   size)    SdbpAlloc(size)

Definition at line 101 of file shimeng.h.

◆ SeiFree

#define SeiFree (   mem)    SdbpFree(mem)

Definition at line 103 of file shimeng.h.

◆ SeiReAlloc

#define SeiReAlloc (   mem,
  size,
  oldSize 
)    SdbpReAlloc(mem, size, oldSize)

Definition at line 102 of file shimeng.h.

Typedef Documentation

◆ ARRAY

typedef struct _ARRAY ARRAY

◆ FLAGINFO

◆ HOOKAPIEX

◆ HOOKMODULEINFO

◆ INEXCLUDE

◆ PARRAY

typedef struct _ARRAY * PARRAY

◆ PFLAGINFO

◆ PHOOKAPIEX

Definition at line 26 of file shimeng.h.

◆ PHOOKMODULEINFO

◆ PINEXCLUDE

◆ PSHIMINFO

Definition at line 23 of file shimeng.h.

◆ PSHIMMODULE

Definition at line 24 of file shimeng.h.

◆ SHIMINFO

◆ SHIMMODULE

Function Documentation

◆ C_ASSERT() [1/2]

C_ASSERT ( offsetof(HOOKAPIEX, pShimInfo)  = =offsetof(HOOKAPIReserved))

◆ C_ASSERT() [2/2]

C_ASSERT ( sizeof(HOOKAPIEX = =sizeof(HOOKAPI))

◆ SdbpAlloc()

LPVOID SdbpAlloc ( SIZE_T  size)

Definition at line 55 of file sdbapi.c.

60{
62#if SDBAPI_DEBUG_ALLOC
63 SdbpInsertAllocation(mem, size, line, file);
64#endif
65 return mem;
66}
PVOID NTAPI RtlAllocateHeap(IN PVOID HeapHandle, IN ULONG Flags, IN SIZE_T Size)
Definition: heap.c:590
#define HEAP_ZERO_MEMORY
Definition: compat.h:134
GLsizeiptr size
Definition: glext.h:5919
static HANDLE SdbpHeap(void)
Definition: sdbapi.c:50
Definition: fci.c:127
Definition: parser.c:49
Definition: mem.c:156

Referenced by SeiInitPaths().

◆ SdbpFree()

VOID SdbpFree ( LPVOID  mem)

Definition at line 81 of file sdbapi.c.

86{
87#if SDBAPI_DEBUG_ALLOC
88 SdbpRemoveAllocation(mem, line, file);
89#endif
91}
BOOLEAN NTAPI RtlFreeHeap(IN PVOID HeapHandle, IN ULONG Flags, IN PVOID HeapBase)
Definition: heap.c:608

◆ SdbpReAlloc()

LPVOID SdbpReAlloc ( LPVOID  mem,
SIZE_T  size,
SIZE_T  oldSize 
)

Definition at line 68 of file sdbapi.c.

73{
75#if SDBAPI_DEBUG_ALLOC
76 SdbpUpdateAllocation(mem, newmem, size, line, file);
77#endif
78 return newmem;
79}
NTSYSAPI PVOID WINAPI RtlReAllocateHeap(HANDLE, ULONG, PVOID, SIZE_T)
Definition: heap.c:2667