IHlinkBrowseContext::GetH...     IHlinkBrowseContext::OnNa...     IHlinkBrowseContext Inter...    
Web Workshop (Miscellaneous)

IHlinkBrowseContext::GetObject Method


Retrieves an object that was registered in the browse context under the given name.

Syntax

HRESULT GetObject(
    IMoniker *pimk,         
    BOOL fBindIfRootRegistered,   
    IUnknown **ppiunk       
);

Parameters

pimk
[in] Address of an IMoniker interface.
fBindIfRootRegistered
[in] Boolean value that indicates whether the browse context is registered. If TRUE, the browse context binds this method to the moniker, and if the object referred to by pimk is not registered in the browse context, the browse context retrieves the object.
ppiunk
[out] Address of a pointer to the IUnknown interface of the object being retrieved.

Return Value

Returns S_OK to indicate the object was retrieved, or S_FALSE to indicate the object was not registered in the browse context.

Remarks

If the object in pimk is not registered in the browse context, this method binds to the full moniker and retrieves the object if the following conditions are met:

Windows CE

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

See Also

IHlinkBrowseContext::Register



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.