Determines if there are any OLE object classes in the registry that can be used to convert or activate the specified CLSID from.
BOOL OleUICanConvertOrActivateAs(
REFCLSID rClsid, //CLSID of the specified class
BOOL fIsLinkedObject, //Whether the original object was a linked
// object
WORD wFormat //Format of the original class
);
OleUICanConvertOrActivateAs searches the registry for classes that include wFormat in their \Conversion\Readable\Main, \Conversion\ReadWriteable\Main, and \DataFormats\DefaultFile entries.
This function is useful for determining if a Convert... menu item should be disabled. If the CF_DISABLEDISPLAYASICON flag is specified in the call to OleUIConvert, then the Convert... menu item should be enabled only if OleUICanConvertOrActivateAs returns TRUE.
Windows NT: Use version 3.1 or later.
Windows: Use Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in oledlg.h.
Import Library: Included as a resource in oledlg.dll.