IOleUIObjInfo::GetConvertInfo

Gets the conversion information associated with the specified object.

HRESULT GetConvertInfo(

DWORD dwObject,
//32-bit object identifier
CLSID FAR * lpClassID,
//CLSID of the object
WORD FAR *lpwFormat,
//CLIPFORMAT of the object's storage
CLSID FAR * lpConvertDefaultClassID,
//Default class to convert to
LPCLSID FAR * lplpClsidExclude,
//Excluded CLSIDs
UINT FAR * lpcClsidExclude
//Number of CLSIDs in lplpClsidExclude
);

Parameters

dwObject

A unique 32-bit identifier for the object.

lpClassID

[out] Points to the location to return the object's CLSID.

lpwFormat

[out] Points to the clipboard format of the object.

lpConvertDefaultClassID

[out] Points to the default class, selected from the UI, to convert the object to.

lplpClsidExclude

[out] Points to to an array of CLSIDs that should be excluded from the UI for this object. May be NULL, if lplpClsidExclude is 0 (zero).

lpcClsidExclude

[out] The number of CLSIDs in lplpClsidExclude. May be 0 (zero).

Return Values

S_OK

Successfully returned link information.

E_FAIL

Unable to return link information.

E_INVALIDARG

One or more invalid arguments.

E_OUTOFMEMORY

Insufficient memory.

E_ACCESSDENIED

Insufficient access permissions.

Comment

Notes To Implementors

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.

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database