memory.cs
来自「取得GSM基站信息的程序NiceTrack以及源代码」· CS 代码 · 共 30 行
CS
30 行
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 + =
减小字号Ctrl + -
显示快捷键?