Platform SDK: Debugging and Error Handling

IMAGE_LOAD_CONFIG_DIRECTORY

The IMAGE_LOAD_CONFIG_DIRECTORY structure contains the load configuration data of an image.

typedef struct _IMAGE_LOAD_CONFIG_DIRECTORY {
    DWORD   Characteristics;
    DWORD   TimeDateStamp;
    WORD    MajorVersion;
    WORD    MinorVersion;
    DWORD   GlobalFlagsClear;
    DWORD   GlobalFlagsSet;
    DWORD   CriticalSectionDefaultTimeout;
    DWORD   DeCommitFreeBlockThreshold;
    DWORD   DeCommitTotalFreeThreshold;
    PVOID   LockPrefixTable;
    DWORD   MaximumAllocationSize;
    DWORD   VirtualMemoryThreshold;
    DWORD   ProcessHeapFlags;
    DWORD   ProcessAffinityMask;
    WORD    CSDVersion;
    WORD    Reserved1;
    PVOID   EditList;
    DWORD   Reserved[ 1 ];
} IMAGE_LOAD_CONFIG_DIRECTORY, *PIMAGE_LOAD_CONFIG_DIRECTORY;

Members

Characteristics
Flags indicating attributes of the file. This member is currently unused.
TimeDateStamp
Specifies the date and time stamp value. The value is represented in the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock. The time stamp can be printed using the C run-time (CRT) function ctime.
MajorVersion
Major version number.
MinorVersion
Minor version number.
GlobalFlagsClear
Global flags control system behavior. For more information, see GFLAGS.EXE, which is available in the Windows NT/Windows 2000 Resource Kit.
GlobalFlagsSet
Global flags control system behavior. For more information, see GFLAGS.EXE, which is available in the Windows NT/Windows 2000 Resource Kit.
CriticalSectionDefaultTimeout
Specifies the critical section default time-out value.
DeCommitFreeBlockThreshold
Specifies the memory that must be freed before it is returned to the system.
DeCommitTotalFreeThreshold
Specifies the total amount of free memory, in bytes.
LockPrefixTable
Reserved for use by the system.
MaximumAllocationSize
Specifies the maximum allocation size, in bytes.
VirtualMemoryThreshold
Specifies the maximum virtual memory size, in bytes.
ProcessHeapFlags
Specifies the process heap flags.
ProcessAffinityMask
Specifies the process affinity mask. For more information, see GetProcessAffinityMask.
CSDVersion
Specifies the CSD version.
Reserved1
Reserved for use by the operating system.
EditList
Reserved for use by the system.
Reserved
Reserved for use by the operating system.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Winnt.h; include Windows.h.

See Also

Image Help Library Overview, ImageHlp Structures, GetImageConfigInformation, SetImageConfigInformation