Win32 API 日本語リファレンス
ホームSystem.ApplicationVerifier › eUserAllocationState

eUserAllocationState

列挙型
基底型i4

メンバー 3

名前10進16進説明
AllocationStateUnknown00x0割り当て状態を特定できません。
AllocationStateBusy10x1割り当て状態は現在使用中です。
AllocationStateFree20x2メモリはスタックから解放されましたが、まだヒープに返却されていません。

公式ドキュメント

アプリケーションの現在のヒープ割り当て状態を指定します。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum eUserAllocationState : int {
    AllocationStateUnknown = 0,
    AllocationStateBusy = 1,
    AllocationStateFree = 2
} eUserAllocationState;
public enum eUserAllocationState : int
{
    AllocationStateUnknown = 0,
    AllocationStateBusy = 1,
    AllocationStateFree = 2,
}
Public Enum eUserAllocationState As Integer
    AllocationStateUnknown = 0
    AllocationStateBusy = 1
    AllocationStateFree = 2
End Enum
import enum

class eUserAllocationState(enum.IntEnum):
    AllocationStateUnknown = 0
    AllocationStateBusy = 1
    AllocationStateFree = 2
// eUserAllocationState
pub const AllocationStateUnknown: i32 = 0;
pub const AllocationStateBusy: i32 = 1;
pub const AllocationStateFree: i32 = 2;
// eUserAllocationState
const (
	AllocationStateUnknown int32 = 0
	AllocationStateBusy int32 = 1
	AllocationStateFree int32 = 2
)
const
  AllocationStateUnknown = 0;
  AllocationStateBusy = 1;
  AllocationStateFree = 2;
// eUserAllocationState
pub const AllocationStateUnknown: i32 = 0;
pub const AllocationStateBusy: i32 = 1;
pub const AllocationStateFree: i32 = 2;
const
  AllocationStateUnknown* = 0
  AllocationStateBusy* = 1
  AllocationStateFree* = 2
enum eUserAllocationState : int {
    AllocationStateUnknown = 0,
    AllocationStateBusy = 1,
    AllocationStateFree = 2,
}
#define global AllocationStateUnknown 0x0
#define global AllocationStateBusy    0x1
#define global AllocationStateFree    0x2