A version of this page is also available for
This method passes the requested object interface pointer to the client.
HRESULT OnObjectAvailable( REFIID riid, IUnknown* punk );
[in] Interface identifier of the requested interface.
[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.
Returns S_OK if this is successful or E_INVALIDARG if one or more parameters are invalid.
This method is called in response to an IMoniker::BindToObject operation. The method is never called for IMoniker::BindToStorage operations.
|Windows Embedded CE||Windows CE .NET 4.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|