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;