3
0
mirror of https://github.com/XboxDev/nxdk.git synced 2026-04-03 05:43:26 +00:00
Files
nxdk/lib/winapi/memoryapi.h
2022-03-22 12:46:39 +10:30

24 lines
519 B
C

// SPDX-License-Identifier: MIT
// SPDX-FileCopyrightText: 2019 Stefan Schmidt
#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