3.5.2 MemoryFlags

The field wMemoryFlags contains flags telling the state of a given resource. These attributes are given to a given resource by modifiers in the .RC script. The script identifiers inject the following flag values:


#define     MOVEABLE        0x0010
#define     FIXED           ~MOVEABLE
#define     PURE            0x0020
#define     IMPURE          ~PURE
#define     PRELOAD         0x0040
#define     LOADONCALL      ~PRELOAD
#define     DISCARDABLE     0x1000

The resource compiler for Windows NT always ignores the setting of the MOVEABLE, IMPURE, and PRELOAD flags.