Click to return to the Networking, Protocols     
IBindStatusCallback::OnLo...     IBindStatusCallback::OnPr...     IBindStatusCallback Inter...    
Web Workshop  |  Networking, Protocols & Data Formats

IBindStatusCallback::OnObjectAvailable Method


Passes the requested object interface pointer to the client.

Syntax

HRESULT OnObjectAvailable(
    REFIID  riid,
    IUnknown *punk
);

Parameters

riid
[in] Interface identifier of the requested interface.
punk
[in] 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.

Return Value

Returns S_OK if successful, or E_INVALIDARG if one or more parameters are invalid.

Remarks

This method is called in response to an IMoniker::BindToObject operation. The method is never called for IMoniker::BindToStorage operations.

Windows CE

Windows CE Use version 2.12 and later
Minimum availability Internet Explorer 4.0

See Also

IBindStatusCallback::OnDataAvailable



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.