Writes a clipboard format and user type to the storage object.
WINOLEAPI WriteFmtUserTypeStg(
IStorage * pStg, //Points to the IStorage interface on the
// storage object
CLIPFORMAT cf, //Specifies the clipboard format
LPWSTR * lpszUserType //Points to the current user type
);
ISequentialStream::Write method error return values.
The WriteFmtUserTypeStg function must be called in an object's implementation of the IPersistStorage::Save method. It must also be called by document-level objects that use structured storage for their persistent representation in their save sequence.
To read the information saved, applications call the ReadFmtUserTypeStg function.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in ole2.h.
Import Library: Included as a resource in ole32.dll.
IPersistStorage::Save, ReadFmtUserTypeStg