The following CIF example shows the primitive for an image file. The values of the id and data fields are taken from the attributes shown in the Resource Editor, as indicated by the comments in bold.
The id value, IDS_OBJECT_5001, is resolved to the numeric ID in myapp_res.h.