PMF_LCIDS Option

The PMF_LCIDS option of GpiPlayMetaFile controls whether logical resources referenced by a local identifier (lcid) are loaded from the metafile. Logical resources include logical fonts and bit maps used as area-fill patterns. The PMF_LCIDS option can have one of the values shown in the following table.

PMF_LCIDS Options for GpiPlayMetaFile

┌────────────────┬────────────────────────────────────────────┐
│Value           │Description                                 │
├────────────────┼────────────────────────────────────────────┤
│LC_LOADDISC     │Loads lcid-referenced resources from the    │
│                │metafile.                                   │
│                │                                            │
│                │If the lcids of those resources are already │
│                │in use in the target presentation space, the│
│                │resources currently identified by those lcid│
│                │s are deleted and their lcids are freed     │
│                │before the metafile contents are loaded. The│
│                │new fonts and bit maps replace the existing │
│                │ones in the presentation space. (If the     │
│                │operating system uses a local identifier    │
│                │that the application has already defined,   │
│                │GpiPlayMetaFile deletes the existing        │
│                │identifier before using it for the metafile │
│                │resource.)                                  │
├────────────────┼────────────────────────────────────────────┤
│LC_NOLOAD       │The operating system uses the presentation  │
│LC_DEFAULTS     │space's logical font and custom fill        │
│                │pattern; it will ignore any logical font or │
│                │custom fill pattern in the metafile.        │
│                │                                            │
│                │An application can use GpiSavePS and        │
│                │GpiRestorePS to maintain the local          │
│                │identifiers it has already defined.         │
└────────────────┴────────────────────────────────────────────┘


[Back: PMF_LOADTYPE Option]
[Next: PMF_COLORTABLE Option]