Converts the object to the type of the new CLSID.
HRESULT ConvertObject(
DWORD dwObject, //Unique 32-bit object identifier
REFCLSID clsidNew //CLSID to convert the object to
);
E_INVALIDARG, and E_OUTOFMEMORY, as well as the following:
Your implementation of ConvertObject needs to convert the object to the CLSID specified. The actions taken by the convert operation are similar to the actions taken after calling OleUIConvert.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oledlg.h.