ReactOS 0.4.15-dev-7788-g1ad9096
ATL::CComAllocator Class Reference

#include <atlbase.h>

Static Public Member Functions

static voidAllocate (_In_ size_t size)
 
static voidReallocate (_In_opt_ void *ptr, _In_ size_t size)
 
static void Free (_In_opt_ void *ptr)
 

Detailed Description

Definition at line 1093 of file atlbase.h.

Member Function Documentation

◆ Allocate()

static void * ATL::CComAllocator::Allocate ( _In_ size_t  size)
inlinestatic

Definition at line 1096 of file atlbase.h.

1097 {
1098 return ::CoTaskMemAlloc(size);
1099 }
GLsizeiptr size
Definition: glext.h:5919

◆ Free()

static void ATL::CComAllocator::Free ( _In_opt_ void ptr)
inlinestatic

Definition at line 1106 of file atlbase.h.

1107 {
1109 }
VOID WINAPI CoTaskMemFree(LPVOID ptr)
Definition: ifs.c:442
static PVOID ptr
Definition: dispmode.c:27

◆ Reallocate()

static void * ATL::CComAllocator::Reallocate ( _In_opt_ void ptr,
_In_ size_t  size 
)
inlinestatic

Definition at line 1101 of file atlbase.h.

1102 {
1103 return ::CoTaskMemRealloc(ptr, size);
1104 }

The documentation for this class was generated from the following file: