Share via


IBindStatusCallback::OnObjectAvailable

Send Feedback

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 IUnknown::AddRef on this pointer to maintain a reference to the object.

Return Values

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.

Requirements

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: urlmon.h
Library: urlmon.lib

See Also

IBindStatusCallback | IBindStatusCallback::OnDataAvailable

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.