The FormatProperties entry point is called to ask the parser to take all of the property instances and build the szPropertyText field in each PropertyInst structure.
DWORD FormatProperties(
HFRAME hFrame,
LPBYTE lpFrame,
LPBYTE lpProtocol,
DWORD nPropertyInsts,
LPPROPERTYINST lpPropInst
);
Should return TRUE if successful and FALSE if unsuccessful.
FormatProperties is called to ask the parser to take all of the property instances and build the szPropertyText field in each PropertyInst structure. Each PropertyInst structure's szPropertyText field will point to a buffer of the maximum string size (as defined in AddProperty); the parser should fill the buffer pointed to in szPropertyText with the formatted string describing the property.
Note The string values returned in the property instance must be double-null-terminated. If a parser must describe a property with multiple lines, it can do so by returning multiple strings separated by \0, where the last string is terminated by a double \0.