NFYLOADSEG

3.1

#include <toolhelp.h>

typedef struct tagNFYLOADSEG {  /* nfyls */
    DWORD   dwSize;
    WORD    wSelector;
    WORD    wSegNum;
    WORD    wType;
    WORD    wcInstance;
    LPCSTR  lpstrModuleName;
} NFYLOADSEG;

The NFYLOADSEG structure contains information about the segment being loaded when the kernel sends a load-segment notification.

Members

dwSize

Specifies the size of the NFYLOADSEG structure, in bytes.

wSelector

Contains the selector of the segment being loaded.

wSegNum

Contains the executable-file segment number.

wType

Indicates the type of information in the segment. Only the low bit of wType is used. This type can be one of the following values:

Value Meaning

0 The segment contains code.
1 The segment contains data.

wcInstance

Specifies the number of instances that share this segment. This value is valid only for data segments.

lpstrModuleName

Points to a null-terminated string containing the name of the module that owns the segment being loaded.

See Also

NotifyRegister