2.7.4 Clipboard Format Builders

OLESVR.DLL requests an OLE server (through the GetData callback in the OLEOBJECT structure) to provide a handle to data in any single clipboard format, including Native, OwnerLink, CF_METAFILEPICT, and CF_BITMAP. To simplify your GetData callback, create functions that return handles for formats that existed prior to implementing OLE and that are readily usable for clipboard I/O or in handling the GetData callback function.