dll: Major refactoring: WIP

This commit is contained in:
Bill Zissimopoulos
2015-12-23 12:08:50 -08:00
parent 7033cc6095
commit 42762d49ea
5 changed files with 116 additions and 9 deletions

View File

@ -26,14 +26,6 @@ static inline PVOID MemAlloc(SIZE_T Size)
extern HANDLE ProcessHeap;
return HeapAlloc(ProcessHeap, 0, Size);
}
static inline PVOID MemAllocSLE(SIZE_T Size)
{
extern HANDLE ProcessHeap;
PVOID Pointer = HeapAlloc(ProcessHeap, 0, Size);
if (0 == Pointer)
SetLastError(ERROR_NO_SYSTEM_RESOURCES);
return Pointer;
}
static inline VOID MemFree(PVOID Pointer)
{
extern HANDLE ProcessHeap;