IMAGE_LOAD_CONFIG_DIRECTORY32 構造体 (winnt.h)

イメージの読み込み構成データを格納します。

構文

typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY32 {
  DWORD                            Size;
  DWORD                            TimeDateStamp;
  WORD                             MajorVersion;
  WORD                             MinorVersion;
  DWORD                            GlobalFlagsClear;
  DWORD                            GlobalFlagsSet;
  DWORD                            CriticalSectionDefaultTimeout;
  DWORD                            DeCommitFreeBlockThreshold;
  DWORD                            DeCommitTotalFreeThreshold;
  DWORD                            LockPrefixTable;
  DWORD                            MaximumAllocationSize;
  DWORD                            VirtualMemoryThreshold;
  DWORD                            ProcessHeapFlags;
  DWORD                            ProcessAffinityMask;
  WORD                             CSDVersion;
  WORD                             DependentLoadFlags;
  DWORD                            EditList;
  DWORD                            SecurityCookie;
  DWORD                            SEHandlerTable;
  DWORD                            SEHandlerCount;
  DWORD                            GuardCFCheckFunctionPointer;
  DWORD                            GuardCFDispatchFunctionPointer;
  DWORD                            GuardCFFunctionTable;
  DWORD                            GuardCFFunctionCount;
  DWORD                            GuardFlags;
  IMAGE_LOAD_CONFIG_CODE_INTEGRITY CodeIntegrity;
  DWORD                            GuardAddressTakenIatEntryTable;
  DWORD                            GuardAddressTakenIatEntryCount;
  DWORD                            GuardLongJumpTargetTable;
  DWORD                            GuardLongJumpTargetCount;
  DWORD                            DynamicValueRelocTable;
  DWORD                            CHPEMetadataPointer;
  DWORD                            GuardRFFailureRoutine;
  DWORD                            GuardRFFailureRoutineFunctionPointer;
  DWORD                            DynamicValueRelocTableOffset;
  WORD                             DynamicValueRelocTableSection;
  WORD                             Reserved2;
  DWORD                            GuardRFVerifyStackPointerFunctionPointer;
  DWORD                            HotPatchTableOffset;
  DWORD                            Reserved3;
  DWORD                            EnclaveConfigurationPointer;
  DWORD                            VolatileMetadataPointer;
  DWORD                            GuardEHContinuationTable;
  DWORD                            GuardEHContinuationCount;
  DWORD                            GuardXFGCheckFunctionPointer;
  DWORD                            GuardXFGDispatchFunctionPointer;
  DWORD                            GuardXFGTableDispatchFunctionPointer;
  DWORD                            CastGuardOsDeterminedFailureMode;
  DWORD                            GuardMemcpyFunctionPointer;
} IMAGE_LOAD_CONFIG_DIRECTORY32, *PIMAGE_LOAD_CONFIG_DIRECTORY32;

メンバー

Size

構造体のサイズ。 Windows XP の場合、x86 イメージのサイズは 64 として指定する必要があります。

TimeDateStamp

日付と時刻のスタンプ値。 この値は、システム クロックに従って、1970 年 1 月 1 日午前 0 時 (00:00:00)、ユニバーサル協定時刻から経過した秒数で表されます。 タイム スタンプは、C ランタイム (CRT) 関数 ctime を使用して出力できます。

MajorVersion

メジャー バージョン番号。

MinorVersion

マイナー バージョン番号。

GlobalFlagsClear

システムの動作を制御するグローバル フラグ。 詳細については、「Gflags.exe」を参照してください。

GlobalFlagsSet

システムの動作を制御するグローバル フラグ。 詳細については、「Gflags.exe」を参照してください。

CriticalSectionDefaultTimeout

クリティカル セクションの既定のタイムアウト値。

DeCommitFreeBlockThreshold

解放 (コミット解除) する前に解放する必要がある最小ブロックのサイズ (バイト単位)。 この値はアドバイザリです。

DeCommitTotalFreeThreshold

解放 (コミット解除) する前にプロセス ヒープで解放する必要がある最小合計メモリのサイズ (バイト単位)。 この値はアドバイザリです。

LockPrefixTable

LOCK プレフィックスが使用されるアドレスの一覧の VA。 これらは、単一プロセッサ システムでは NOP に置き換えられます。 このメンバーは x86 でのみ使用できます。

MaximumAllocationSize

最大割り当てサイズ (バイト単位)。 このメンバーは廃止され、デバッグ目的でのみ使用されます。

VirtualMemoryThreshold

ヒープ セグメントから割り当てることができる最大ブロック サイズ (バイト単位)。

ProcessHeapFlags

プロセス ヒープ フラグ。 詳細については、「 HeapCreate」を参照してください。

ProcessAffinityMask

プロセス アフィニティ マスク。 詳細については、「 GetProcessAffinityMask」を参照してください。 このメンバーは、.exe ファイルでのみ使用できます。

CSDVersion

Service Pack のバージョン。

DependentLoadFlags

EditList

システムで使用するために予約されています。

SecurityCookie

Visual C++ または GS の実装で使用される Cookie へのポインター。

SEHandlerTable

イメージ内の有効な一意のハンドラーごとの RVA の並べ替えられたテーブルの VA。 このメンバーは x86 でのみ使用できます。

SEHandlerCount

テーブル内の一意のハンドラーの数。 このメンバーは x86 でのみ使用できます。

GuardCFCheckFunctionPointer

GuardCFDispatchFunctionPointer

GuardCFFunctionTable

GuardCFFunctionCount

GuardFlags

CodeIntegrity

GuardAddressTakenIatEntryTable

GuardAddressTakenIatEntryCount

GuardLongJumpTargetTable

GuardLongJumpTargetCount

DynamicValueRelocTable

CHPEMetadataPointer

GuardRFFailureRoutine

GuardRFFailureRoutineFunctionPointer

DynamicValueRelocTableOffset

DynamicValueRelocTableSection

Reserved2

GuardRFVerifyStackPointerFunctionPointer

HotPatchTableOffset

Reserved3

EnclaveConfigurationPointer

VolatileMetadataPointer

GuardEHContinuationTable

GuardEHContinuationCount

GuardXFGCheckFunctionPointer

GuardXFGDispatchFunctionPointer

GuardXFGTableDispatchFunctionPointer

CastGuardOsDeterminedFailureMode

GuardMemcpyFunctionPointer

解説

_WIN64が定義されている場合、IMAGE_LOAD_CONFIG_DIRECTORYIMAGE_LOAD_CONFIG_DIRECTORY64 として定義されます。 ただし、 _WIN64 が定義されていない場合、 IMAGE_LOAD_CONFIG_DIRECTORYIMAGE_LOAD_CONFIG_DIRECTORY32 として定義されます。

typedef struct {
    DWORD   Size;
    DWORD   TimeDateStamp;
    WORD    MajorVersion;
    WORD    MinorVersion;
    DWORD   GlobalFlagsClear;
    DWORD   GlobalFlagsSet;
    DWORD   CriticalSectionDefaultTimeout;
    DWORD   DeCommitFreeBlockThreshold;
    DWORD   DeCommitTotalFreeThreshold;
    DWORD   LockPrefixTable;            // VA
    DWORD   MaximumAllocationSize;
    DWORD   VirtualMemoryThreshold;
    DWORD   ProcessHeapFlags;
    DWORD   ProcessAffinityMask;
    WORD    CSDVersion;
    WORD    Reserved1;
    DWORD   EditList;                   // VA
    DWORD   SecurityCookie;             // VA
    DWORD   SEHandlerTable;             // VA
    DWORD   SEHandlerCount;
} IMAGE_LOAD_CONFIG_DIRECTORY32, *PIMAGE_LOAD_CONFIG_DIRECTORY32;

要件

   
サポートされている最小のクライアント Windows XP (デスクトップ アプリのみ)
サポートされている最小のサーバー Windows Server 2003 (デスクトップ アプリのみ)
Header winnt.h (Windows.h を含む)

関連項目

GetImageConfigInformation

GetProcessAffinityMask

ImageHlp 構造体

SetImageConfigInformation