📄 memory.cs
字号:
using System;
using System.Runtime.InteropServices;
namespace NiceTracker.Libraries
{
/// <summary>
/// Contains methods for allocating and freeing memory.
/// </summary>
public class Memory
{
/// <summary>
/// Allocates fixed memory. The return value is a pointer to the memory object.
/// </summary>
public const uint LMEM_FIXED = 0x0000;
/// <summary>
/// Initializes memory contents to zero.
/// </summary>
public const uint LMEM_ZEROINIT = 0x0040;
/// <summary>
/// Enables the memory allocation to move if it cannot be allocated in place.
/// </summary>
public const uint LMEM_MOVEABLE = 0x0002;
/// <summary>
/// Allows modification of the attributes of the memory object.
/// </summary>
public const uint LMEM_MODIFY = 0x0080;
/// <summary>
/// This function allocates the specified number of bytes from the heap. In
/// the linear Microsoft
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -