|
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.
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.hlp) Microsoft Windows Pen API Programmer's Reference (penapi.hlp) Microsoft Windows Sockets 2 Reference (sock2.hlp) Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp) Unix Manual Pages
|