Gets the conversion information associated with the specified object.
HRESULT GetConvertInfo(
DWORD dwObject, |
//Unique 32-bit object identifier |
CLSID FAR * lpClassID, |
//Pointer to location of CLSID of the object |
WORD FAR *lpwFormat, |
//Pointer to clipboard format of the object |
CLSID FAR * lpConvertDefaultClassID, |
//Pointer to default class to convert object to |
LPCLSID FAR * lplpClsidExclude, |
//Indirect pointer to excluded CLSIDs |
UINT FAR * lpcClsidExclude |
//Pointer to number of CLSIDs in lplpClsidExclude |
); |
Parameters
Return Values
This method supports the standard return values E_FAIL, E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:
Remarks
You must fill in the CLSID of the object at a minimum. lpwFormat may be left at zero if the format of the storage is unknown.