Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Converts the object to the type of the specified CLSID.
Syntax
HRESULT ConvertObject(
[in] DWORD dwObject,
[in] REFCLSID clsidNew
);
Parameters
[in] dwObject
A unique identifier for the object.
[in] clsidNew
The CLSID.
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description |
|---|---|
|
Insufficient access permissions. |
|
The operation failed. |
|
The specified identifier is not valid. |
|
There is insufficient memory available for this operation. |
Remarks
Notes to Implementers
Your implementation of IOleUIObjInfo::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.Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | oledlg.h |