Udostępnij za pośrednictwem


Register method

[IHlinkBrowseContext::Register may be altered or unavailable in subsequent versions of the operating system or product.]

Note  The Microsoft ActiveX Hyperlink API is deprecated in Windows Internet Explorer 8 and later, and ActiveX technology as a whole is unsupported in the Microsoft Edge browser in favor of standards-based web APIs. For more information, see Saying goodbye to ActiveX, VBScript, attachEvent... and Get ready for plug-in free browsing.

 

Registers an object in the browse context.

Syntax

HRESULT retVal = object.Register(dwReserved, piunk, pimk, pdwRegister);

Parameters

  • dwReserved [in]
    Type: DWORD

    Reserved. Must be set to 0.

  • piunk [in]
    Type: IUnknown

    A pointer to an IUnknown interface.

  • pimk [in]
    Type: IMoniker

    A pointer to the IMoniker interface pointer that identifies the object to register.

  • pdwRegister [out]
    Type: DWORD

    A pointer to an integer that receives a value that identifies the registration. This can be used to revoke the registration at a later time.

See also

Reference

HlinkCreateBrowseContext

IHlinkBrowseContext::Close

IHlinkBrowseContext::Revoke