Contents Index Topic Contents | ||
Previous Topic: IBindStatusCallback::OnLowResource Next Topic: IBindStatusCallback::OnProgress |
IBindStatusCallback::OnObjectAvailable
HRESULT OnObjectAvailable( [in] REFIID riid, [in] IUnknown *punk );Passes the requested object interface pointer to the client. This method is called in response to an IMoniker::BindToObject operation.
- Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.
- riid
- Interface identifier of the requested interface.
- punk
- Address of the IUnknown interface on the object requested in the call to IMoniker::BindToObject. The client should call AddRef on this pointer to maintain a reference to the object.
This method is never called for IMoniker::BindToStorage operations.
See also IBindStatusCallback::OnDataAvailable
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.