Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

IOleObject (Interfaces)
 
.
Summary
Interface implemented by embedded objects (OLE).

C# Definition:

[ComImport]
[Guid("00000112-0000-0000-C000-000000000046")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IOleObject
{
     void SetClientSite(IOleClientSite pClientSite);
     void GetClientSite(ref IOleClientSite ppClientSite);
     void SetHostNames(object szContainerApp, object szContainerObj);
     void Close(uint dwSaveOption);
     void SetMoniker(uint dwWhichMoniker, object pmk);
     void GetMoniker(uint dwAssign, uint dwWhichMoniker, object ppmk);
     void InitFromData(IDataObject pDataObject, bool fCreation, uint dwReserved);
     void GetClipboardData(uint dwReserved, ref IDataObject ppDataObject);
     void DoVerb(uint iVerb, uint lpmsg, object pActiveSite, uint lindex, uint hwndParent, uint lprcPosRect);
     void EnumVerbs(ref object ppEnumOleVerb);
     void Update();
     void IsUpToDate();
     void GetUserClassID(uint pClsid);
     void GetUserType(uint dwFormOfType, uint pszUserType);
     void SetExtent(uint dwDrawAspect, uint psizel);
     void GetExtent(uint dwDrawAspect, uint psizel);
     void Advise(object pAdvSink, uint pdwConnection);
     void Unadvise(uint dwConnection);
     void EnumAdvise(ref object ppenumAdvise);
     void GetMiscStatus(uint dwAspect,uint pdwStatus);
     void SetColorScheme(object pLogpal);
};

VB Definition:

<ComImport> _
<Guid("TODO")> _
'TODO: Insert <InterfaceType(ComInterfaceType.InterfaceIsIUnknown)> _ if this doesn't derive from IDispatch
Interface IOleObject
   TODO
End Interface

User-Defined Types:

None.

Notes:

None.

Documentation
IOleObject on MSDN

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions