ReactOS  0.4.14-dev-41-g31d7680
IOleObject Interface Reference

import"oleidl.idl";

Inheritance diagram for IOleObject:
Collaboration diagram for IOleObject:

Public Types

enum  tagOLEGETMONIKER { OLEGETMONIKER_ONLYIFTHERE = 1, OLEGETMONIKER_FORCEASSIGN = 2, OLEGETMONIKER_UNASSIGN = 3, OLEGETMONIKER_TEMPFORUSER = 4 }
 
enum  tagOLEWHICHMK { OLEWHICHMK_CONTAINER = 1, OLEWHICHMK_OBJREL = 2, OLEWHICHMK_OBJFULL = 3 }
 
enum  tagUSERCLASSTYPE { USERCLASSTYPE_FULL = 1, USERCLASSTYPE_SHORT = 2, USERCLASSTYPE_APPNAME = 3 }
 
enum  tagOLEMISC {
  OLEMISC_RECOMPOSEONRESIZE = 0x1, OLEMISC_ONLYICONIC = 0x2, OLEMISC_INSERTNOTREPLACE = 0x4, OLEMISC_STATIC = 0x8,
  OLEMISC_CANTLINKINSIDE = 0x10, OLEMISC_CANLINKBYOLE1 = 0x20, OLEMISC_ISLINKOBJECT = 0x40, OLEMISC_INSIDEOUT = 0x80,
  OLEMISC_ACTIVATEWHENVISIBLE = 0x100, OLEMISC_RENDERINGISDEVICEINDEPENDENT = 0x200, OLEMISC_INVISIBLEATRUNTIME = 0x400, OLEMISC_ALWAYSRUN = 0x800,
  OLEMISC_ACTSLIKEBUTTON = 0x1000, OLEMISC_ACTSLIKELABEL = 0x2000, OLEMISC_NOUIACTIVATE = 0x4000, OLEMISC_ALIGNABLE = 0x8000,
  OLEMISC_SIMPLEFRAME = 0x10000, OLEMISC_SETCLIENTSITEFIRST = 0x20000, OLEMISC_IMEMODE = 0x40000, OLEMISC_IGNOREACTIVATEWHENVISIBLE = 0x80000,
  OLEMISC_WANTSTOMENUMERGE = 0x100000, OLEMISC_SUPPORTSMULTILEVELUNDO = 0x200000
}
 
enum  tagOLECLOSE { OLECLOSE_SAVEIFDIRTY = 0, OLECLOSE_NOSAVE = 1, OLECLOSE_PROMPTSAVE = 2 }
 
typedef IOleObjectLPOLEOBJECT
 
typedef enum IOleObject::tagOLEGETMONIKER OLEGETMONIKER
 
typedef enum IOleObject::tagOLEWHICHMK OLEWHICHMK
 
typedef enum IOleObject::tagUSERCLASSTYPE USERCLASSTYPE
 
typedef enum IOleObject::tagOLEMISC OLEMISC
 
typedef enum IOleObject::tagOLECLOSE OLECLOSE
 
- Public Types inherited from IUnknown
typedef IUnknownLPUNKNOWN
 

Public Member Functions

HRESULT SetClientSite ([in, unique] IOleClientSite *pClientSite)
 
HRESULT GetClientSite ([out] IOleClientSite **ppClientSite)
 
HRESULT SetHostNames ([in] LPCOLESTR szContainerApp, [in, unique] LPCOLESTR szContainerObj)
 
HRESULT Close ([in] DWORD dwSaveOption)
 
HRESULT SetMoniker ([in] DWORD dwWhichMoniker, [in, unique] IMoniker *pmk)
 
HRESULT GetMoniker ([in] DWORD dwAssign, [in] DWORD dwWhichMoniker, [out] IMoniker **ppmk)
 
HRESULT InitFromData ([in, unique] IDataObject *pDataObject, [in] BOOL fCreation, [in] DWORD dwReserved)
 
HRESULT GetClipboardData ([in] DWORD dwReserved, [out] IDataObject **ppDataObject)
 
HRESULT DoVerb ([in] LONG iVerb, [in, unique] LPMSG lpmsg, [in, unique] IOleClientSite *pActiveSite, [in] LONG lindex, [in] HWND hwndParent, [in, unique] LPCRECT lprcPosRect)
 
HRESULT EnumVerbs ([out] IEnumOLEVERB **ppEnumOleVerb)
 
HRESULT Update ()
 
HRESULT IsUpToDate ()
 
HRESULT GetUserClassID ([out] CLSID *pClsid)
 
HRESULT GetUserType ([in] DWORD dwFormOfType, [out] LPOLESTR *pszUserType)
 
HRESULT SetExtent ([in] DWORD dwDrawAspect, [in] SIZEL *psizel)
 
HRESULT GetExtent ([in] DWORD dwDrawAspect, [out] SIZEL *psizel)
 
HRESULT Advise ([in, unique] IAdviseSink *pAdvSink, [out] DWORD *pdwConnection)
 
HRESULT Unadvise ([in] DWORD dwConnection)
 
HRESULT EnumAdvise ([out] IEnumSTATDATA **ppenumAdvise)
 
HRESULT GetMiscStatus ([in] DWORD dwAspect, [out] DWORD *pdwStatus)
 
HRESULT SetColorScheme ([in] LOGPALETTE *pLogpal)
 
- Public Member Functions inherited from IUnknown
HRESULT QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
 
ULONG AddRef ()
 
ULONG Release ()
 

Detailed Description

Definition at line 604 of file oleidl.idl.

Member Typedef Documentation

◆ LPOLEOBJECT

Definition at line 606 of file oleidl.idl.

◆ OLECLOSE

◆ OLEGETMONIKER

◆ OLEMISC

◆ OLEWHICHMK

◆ USERCLASSTYPE

Member Enumeration Documentation

◆ tagOLECLOSE

Enumerator
OLECLOSE_SAVEIFDIRTY 
OLECLOSE_NOSAVE 
OLECLOSE_PROMPTSAVE 

Definition at line 656 of file oleidl.idl.

◆ tagOLEGETMONIKER

Enumerator
OLEGETMONIKER_ONLYIFTHERE 
OLEGETMONIKER_FORCEASSIGN 
OLEGETMONIKER_UNASSIGN 
OLEGETMONIKER_TEMPFORUSER 

Definition at line 608 of file oleidl.idl.

◆ tagOLEMISC

Enumerator
OLEMISC_RECOMPOSEONRESIZE 
OLEMISC_ONLYICONIC 
OLEMISC_INSERTNOTREPLACE 
OLEMISC_STATIC 
OLEMISC_CANTLINKINSIDE 
OLEMISC_CANLINKBYOLE1 
OLEMISC_ISLINKOBJECT 
OLEMISC_INSIDEOUT 
OLEMISC_ACTIVATEWHENVISIBLE 
OLEMISC_RENDERINGISDEVICEINDEPENDENT 
OLEMISC_INVISIBLEATRUNTIME 
OLEMISC_ALWAYSRUN 
OLEMISC_ACTSLIKEBUTTON 
OLEMISC_ACTSLIKELABEL 
OLEMISC_NOUIACTIVATE 
OLEMISC_ALIGNABLE 
OLEMISC_SIMPLEFRAME 
OLEMISC_SETCLIENTSITEFIRST 
OLEMISC_IMEMODE 
OLEMISC_IGNOREACTIVATEWHENVISIBLE 
OLEMISC_WANTSTOMENUMERGE 
OLEMISC_SUPPORTSMULTILEVELUNDO 

Definition at line 630 of file oleidl.idl.

631  {
633  OLEMISC_ONLYICONIC = 0x2,
635  OLEMISC_STATIC = 0x8,
636  OLEMISC_CANTLINKINSIDE = 0x10,
637  OLEMISC_CANLINKBYOLE1 = 0x20,
638  OLEMISC_ISLINKOBJECT = 0x40,
639  OLEMISC_INSIDEOUT = 0x80,
643  OLEMISC_ALWAYSRUN = 0x800,
644  OLEMISC_ACTSLIKEBUTTON = 0x1000,
645  OLEMISC_ACTSLIKELABEL = 0x2000,
646  OLEMISC_NOUIACTIVATE = 0x4000,
647  OLEMISC_ALIGNABLE = 0x8000,
648  OLEMISC_SIMPLEFRAME = 0x10000,
649  OLEMISC_SETCLIENTSITEFIRST = 0x20000,
650  OLEMISC_IMEMODE = 0x40000,
652  OLEMISC_WANTSTOMENUMERGE = 0x100000,
654  } OLEMISC;
enum IOleObject::tagOLEMISC OLEMISC

◆ tagOLEWHICHMK

Enumerator
OLEWHICHMK_CONTAINER 
OLEWHICHMK_OBJREL 
OLEWHICHMK_OBJFULL 

Definition at line 616 of file oleidl.idl.

◆ tagUSERCLASSTYPE

Enumerator
USERCLASSTYPE_FULL 
USERCLASSTYPE_SHORT 
USERCLASSTYPE_APPNAME 

Definition at line 623 of file oleidl.idl.

Member Function Documentation

◆ Advise()

HRESULT IOleObject::Advise ( [in, unique] IAdviseSink pAdvSink,
[out] DWORD pdwConnection 
)

◆ Close()

◆ DoVerb()

HRESULT IOleObject::DoVerb ( [in] LONG  iVerb,
[in, unique] LPMSG  lpmsg,
[in, unique] IOleClientSite pActiveSite,
[in] LONG  lindex,
[in] HWND  hwndParent,
[in, unique] LPCRECT  lprcPosRect 
)

◆ EnumAdvise()

HRESULT IOleObject::EnumAdvise ( [out] IEnumSTATDATA **  ppenumAdvise)

◆ EnumVerbs()

HRESULT IOleObject::EnumVerbs ( [out] IEnumOLEVERB **  ppEnumOleVerb)

◆ GetClientSite()

HRESULT IOleObject::GetClientSite ( [out] IOleClientSite **  ppClientSite)

◆ GetClipboardData()

HRESULT IOleObject::GetClipboardData ( [in] DWORD  dwReserved,
[out] IDataObject **  ppDataObject 
)

◆ GetExtent()

HRESULT IOleObject::GetExtent ( [in] DWORD  dwDrawAspect,
[out] SIZEL psizel 
)

◆ GetMiscStatus()

HRESULT IOleObject::GetMiscStatus ( [in] DWORD  dwAspect,
[out] DWORD pdwStatus 
)

◆ GetMoniker()

HRESULT IOleObject::GetMoniker ( [in] DWORD  dwAssign,
[in] DWORD  dwWhichMoniker,
[out] IMoniker **  ppmk 
)

◆ GetUserClassID()

HRESULT IOleObject::GetUserClassID ( [out] CLSID pClsid)

◆ GetUserType()

HRESULT IOleObject::GetUserType ( [in] DWORD  dwFormOfType,
[out] LPOLESTR pszUserType 
)

◆ InitFromData()

HRESULT IOleObject::InitFromData ( [in, unique] IDataObject pDataObject,
[in] BOOL  fCreation,
[in] DWORD  dwReserved 
)

◆ IsUpToDate()

◆ SetClientSite()

◆ SetColorScheme()

HRESULT IOleObject::SetColorScheme ( [in] LOGPALETTE pLogpal)

◆ SetExtent()

HRESULT IOleObject::SetExtent ( [in] DWORD  dwDrawAspect,
[in] SIZEL psizel 
)

◆ SetHostNames()

HRESULT IOleObject::SetHostNames ( [in] LPCOLESTR  szContainerApp,
[in, unique] LPCOLESTR  szContainerObj 
)

◆ SetMoniker()

HRESULT IOleObject::SetMoniker ( [in] DWORD  dwWhichMoniker,
[in, unique] IMoniker pmk 
)

◆ Unadvise()

HRESULT IOleObject::Unadvise ( [in] DWORD  dwConnection)

◆ Update()


The documentation for this interface was generated from the following file: