EN
Данное содержимое не доступно на вашем языке, используйте версию на английском языке.

Common Resource Attributes

The resource-definition statements supported on 16-bit Windows include a load-mem option that specifies the loading and memory characteristics of the resource. These attributes are permitted in resource scripts for backward compatibility, but they are ignored. Windows resources are loaded when the corresponding module is loaded, and are freed when the module is unloaded.

Load Attributes

The load attributes specify when the resource is to be loaded. The load parameter must be one of the following attributes.

AttributeDescription
PRELOADIgnored. In 16-bit Windows, the resource is loaded with the executable file.
LOADONCALLIgnored. In 16-bit Windows, the resource is loaded when called.

 

Memory Attributes

The memory attributes specify whether the resource is fixed or movable, whether it is discardable, and whether it is pure. The memory parameter can be one or more of the following attributes.

AttributeDescription
FIXEDIgnored. In 16-bit Windows, the resource remains at a fixed memory location.
MOVEABLEIgnored. In 16-bit Windows, the resource can be moved if necessary to compact memory.
DISCARDABLEIgnored. In 16-bit Windows, the resource can be discarded if no longer needed.
PUREIgnored. Accepted for compatibility with existing resource scripts.
IMPUREIgnored. Accepted for compatibility with existing resource scripts.
SHAREDIgnored. In 16-bit Windows, SHARED is ignored for regular modules. For a resource from a ROM Windows module, the memory is shared.
NONSHAREDIgnored. In 16-bit Windows, NONSHARED is ignored for regular modules. For a resource from a ROM Windows module, the memory is not shared.

 

 

 

Добавления сообщества

ДОБАВИТЬ
Показ:
© 2014 Microsoft