When a record is invalidated by an application, the flRecordAttr and ptlIcon fields are saved internally, just as when a record is inserted. The CM_QUERYRECORDINFO message is used to acquire the current data for each record that is being invalidated. After querying the current data, the data can be changed before invalidating its record.