ReactOS 0.4.16-dev-257-g6aa11ac
cunknown.cpp File Reference
#include <stdunk.h>
Include dependency graph for cunknown.cpp:

Go to the source code of this file.

Functions

PVOID KCOM_New (size_t size, POOL_TYPE pool_type, ULONG tag)
 
PVOID __cdecl operator new (size_t size, POOL_TYPE pool_type)
 
PVOID __cdecl operator new (size_t size, POOL_TYPE pool_type, ULONG tag)
 
void __cdecl operator delete (PVOID ptr)
 
void __cdecl operator delete (PVOID ptr, UINT_PTR)
 

Function Documentation

◆ KCOM_New()

PVOID KCOM_New ( size_t  size,
POOL_TYPE  pool_type,
ULONG  tag 
)
inline

Definition at line 16 of file cunknown.cpp.

20{
22
23 result = ExAllocatePoolWithTag(pool_type, size, tag);
24
25 if (result)
27
28 return result;
29}
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
GLsizeiptr size
Definition: glext.h:5919
GLuint64EXT * result
Definition: glext.h:11304
Definition: ecma_167.h:138
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262

Referenced by operator new().

◆ operator delete() [1/2]

Definition at line 52 of file cunknown.cpp.

54{
56}
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
static PVOID ptr
Definition: dispmode.c:27

◆ operator delete() [2/2]

Definition at line 60 of file cunknown.cpp.

62{
64}

◆ operator new() [1/2]

PVOID __cdecl operator new ( size_t  size,
POOL_TYPE  pool_type 
)

Definition at line 33 of file cunknown.cpp.

36{
37 return KCOM_New(size, pool_type, 'wNcP');
38}
PVOID KCOM_New(size_t size, POOL_TYPE pool_type, ULONG tag)
Definition: cunknown.cpp:16

◆ operator new() [2/2]

PVOID __cdecl operator new ( size_t  size,
POOL_TYPE  pool_type,
ULONG  tag 
)

Definition at line 42 of file cunknown.cpp.

46{
47 return KCOM_New(size, pool_type, tag);
48}