|
|
|
|
|
|
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
|
| Header File
| richole.h
| Unicode
|
| Platform Notes
| None
|
|
|
IRichEditOle::GetObject
Returns information from a REOBJECT structure about an object in a rich edit control.
HRESULT GetObject(
LONG iob,
|
| REOBJECT FAR * lpreobject,
|
| DWORD dwFlags
|
| );
|
|
Parameters
iob
Zero-based index specifying which object to return information about. If this
parameter is REO_IOB_USE_CP, information about the object at the character
position specified by the REOBJECT structure is returned.
lpreobject
Pointer to a REOBJECT structure that receives information about the object. The reference count of
the interfaces returned in this structure has been incremented; it is the
responsibility of the caller to use the Release function to decrement the count.
dwFlags
Operation flags specifying which interfaces to return in the structure. Can be
a combination of these values:
REO_GETOBJ_POLEOBJ
| Get OLE object interface.
| REO_GETOBJ_PSTG
| Get Storage interface.
| REO_GETOBJ_POLESITE
| Get OLE site interface.
| REO_GETOBJ_NO_INTERFACES
| Get no interfaces.
| REO_GETOBJ_ALL_INTERFACES
| Get all interfaces.
|
Return Values
Returns success status. Use GetScode to retrieve an SCODE. Can be S_OK on success or E_INVALIDARG if no buffer for
the REOBJECT structure was given, or the iob or character position is invalid.
See Also
IRichEditOle, REOBJECT
Related Links
Software 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 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.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 (tapi.hlp)
Unix Manual Pages
|