|
CreateOleAdviseHolder
Creates an advise holder for managing compound document notifications. It
returns an instance of the OLE implementation of the IOleAdviseHolder interface.
HRESULT CreateOleAdviseHolder(
ppOAHolder
| //Pointer to a pointer
| );
|
|
Parameter
ppOAHolder
Points to where to return the new IOleAdviseHolder instance.
Return Values
S_OK
Indicates that the new OLE advise holder returned successfully.
E_OUTOFMEMORY
Indicates insufficient memory to create new advise holder.
Comments
The helper function CreateOleAdviseHolder is an OLE implementation of the IOleAdviseHolder interface. Anyone who wants to write their own implementation of this
interface may do so; but the advise holder returned by CreateOleAdviseHolder will suffice for the great majority of applications. If your application has
a need to implement IOleAdviseHolder::EnumAdvise; you will need to implement your own advise holder because the one provided
by OLE does not support this method.
See Also
IOleAdviseHolder
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|