IHlinkBrowseContext::Quer...     IHlinkBrowseContext::Revo...     IHlinkBrowseContext Inter...    
Web Workshop (Miscellaneous)

IHlinkBrowseContext::Register Method


Registers an object with the browse context.

Syntax

HRESULT Register(
    DWORD dwReserved,     
    IUnknown *piunk,        
    IMoniker *pimk,       
    DWORD *pdwRegister    
);

Parameters

dwReserved
[in] Reserved for future use; must be set to zero.
piunk
[in] Address of an IUnknown interface.
pimk
[in] Address of the IMoniker interface pointer that identifies the object being registered.
pdwRegister
[out] Address of an integer that receives a value identifying the registration. This can be used later to revoke the registration.

Return Value

Returns one of the following values:
 
S_OK The object has been registered.
MK_S_MONIKERALREADYREGISTERED Registration was successful, but another object (possibly the same object) has already been registered with the same moniker in this browse context.
E_OUTOFMEMORY There was insufficient memory to register the object with the browse context.

Windows CE

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

See Also

HlinkCreateBrowseContext, IHlinkBrowseContext::Close, IHlinkBrowseContext::Revoke


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.