HlinkCreateExtensionServices function
[HlinkCreateExtensionServices 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.
Creates an extension service.
Syntax
HRESULT HlinkCreateExtensionServices(
LPCWSTR pwzAdditionalHeaders,
HWND phwnd,
LPCWSTR pwzUsername,
LPCWSTR pwzPassword,
IUnknown *piunkOuter,
REFIID riid,
void **ppvObj
);
Parameters
pwzAdditionalHeaders
Additional headers to pass with the new hyperlink.phwnd
The handle of the window.pwzUsername
The username for the new hyperlink.pwzPassword
The password for the new hyperlink.piunkOuter
The address of the controlling IUnknown interface for the new hyperlink object. If NULL, the new hyperlink object is not aggregated.riid
The interface identifier.ppvObj
An indirect pointer to the requested interface.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header |
HLink.h |
Library |
HLink.Idl |
DLL |
Hlink.dll |