You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
328 B
25 lines
328 B
#ifndef _MEMORY_H_
|
|
#define _MEMORY_H_
|
|
|
|
//
|
|
// Constant declarations
|
|
//
|
|
#define HEAP_DEFAULT_SIZE 100 * 1024 //20k of initial stack
|
|
|
|
//
|
|
// Structure definitions
|
|
//
|
|
|
|
//
|
|
// Function definitions
|
|
//
|
|
BOOL
|
|
InitializeHeap(VOID);
|
|
|
|
LPVOID
|
|
AllocMem(DWORD dwBytes);
|
|
|
|
BOOL
|
|
FreeMem(LPVOID lpMem);
|
|
|
|
#endif //_MEMORY_H_
|