Contents Index Topic Contents | ||
Previous Topic: IHlinkBrowseContext::GetHlink Next Topic: IHlinkBrowseContext::OnNavigateHlink |
IHlinkBrowseContext::GetObject
HRESULT GetObject( IMoniker * pimk, //Moniker interface pointer of the object being retrieved BOOL fBindIfRootRegistered, //Determines binding to the moniker and retrieval of the object IUnknown ** ppiunk //Location to receive the unknown interface pointer of requested object );Retrieves an object previously registered in the browse context.
- Returns S_OK to indicate the previously registered object has been retrieved, or S_FALSE to indicate no object indicated by pimk was registered in the browse context.
- pimk
- [in,unique] Used to identify the object being retrieved.
- fBindIfRootRegistered
- [in] If set to TRUE, this method binds to the moniker and retrieves the object (if the object referred to by pimk is not registered in the browse context).
- ppiunk
- [out] Indirect pointer to the IUnknown interface of the object being retrieved.
If the object referred to by 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:
- fBindIfRootRegistered is set to TRUE.
- The moniker is referring to an embedded object (the moniker pimk is a generic composite moniker).
- The root object of the containment hierarchy is registered with the browse context.
See also IHlinkBrowseContext::Register
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.