Returns the clipboard format and user type previously saved with the WriteFmtUserTypeStg function.
WINOLEAPI ReadFmtUserTypeStg(
IStorage * pStg, |
//Pointer to storage object holding the values |
CLIPFORMAT * pcf, |
//Pointer to return the clipboard format |
LPWSTR * lplpszUserType |
//Indirect pointer to return the user type string |
); |
Parameters
Return Values
This function supports the standard return values E_FAIL, E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:
This function also returns any of the error values returned by the IStream::Read method.
Remarks
This function returns the clipboard format and the user type string from the specified storage object. The WriteClassStg function must have been called before calling the ReadFmtUserTypeStg function.
See Also
CoTaskMemFree, WriteFmtUserTypeStg