PROPERTYINST

The PROPERTYINST structure is used to represent an instance of a Property in a frame. If the PropertyInst–>Length is set to 0, then the lpPropertyInstEx structure points to a PROPERTYINSTEX structure defining free-form property instance data.

typedef struct _PROPERTYINST
{
    LPPROPERTYINFO lpPropertyInfo;
    LPSTR szPropertyText;

    union
    {
        LPVOID lpData;
        LPBYTE lpByte;
        ULPWORD lpWord;
        ULPDWORD lpDword;

        ULPLARGEINT lpLargeInt;
        ULPSYSTEMTIME lpSysTime;
        LPPROPERTYINSTEX lpPropertyInstEx;
    };

    WORD DataLength;
    WORD fError  : 1  ;      // flag for error condition ...............1
    WORD Level   : 4  ;      // level information        ...........1111.
    WORD HelpID  : 11 ;      // context ID for helpfile  11111111111.....
                             //    ---------------
                             // total of 16 bits == 1 WORD == DWORD ALIGNED structure
} PROPERTYINST;
 

Members

lpPropertyInfo
Pointer to property information.
szPropertyText
Pointer to string description.
lpData
Pointer to data.
lpByte
Bytes.
lpWord
WORDs.
lpDword
DWORDs.
lpLargeInt
Large Integer.
lpSysTime
Pointer to SYSTEMTIME structures.
lpPropertyInstEx
Pointer to PropertyInstEx (if DataLength = -1).
DataLength
Length of data or flag for PropertyInstEx structure.
fError : 1
Flag for error condition ....................1.
Level : 4
Level information ......................1111.
HelpID : 11
Context ID for Help file 11111111111.....