mirror of
https://github.com/XboxDev/nxdk.git
synced 2026-02-05 15:45:34 +00:00
20 lines
438 B
C
20 lines
438 B
C
#ifndef __MEMORYAPI_H__
|
|
#define __MEMORYAPI_H__
|
|
|
|
#include <windef.h>
|
|
#include <xboxkrnl/xboxkrnl.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
LPVOID VirtualAlloc (LPVOID lpAddress, SIZE_T dwSize, DWORD flAllocationType, DWORD flProtect);
|
|
BOOL VirtualFree (LPVOID lpAddress, SIZE_T dwSize, DWORD dwFreeType);
|
|
SIZE_T VirtualQuery (LPCVOID lpAddress, PMEMORY_BASIC_INFORMATION lpBuffer, SIZE_T dwLength);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|