SetAuthenticateData method

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

Sets authentication information for the HTTP request.

Syntax

HRESULT retVal = object.SetAuthenticateData(phwnd, pwzUsername, pwzPassword);

Parameters

  • phwnd [in]
    Type: HWND

    A handle to the parent window for a default user interface.

  • pwzUsername [in]
    Type: LPCWSTR

    A pointer to a string variable that specifies the user name for authentication.

  • pwzPassword [in]
    Type: LPCWSTR

    A pointer to a string variable that specifies the password for authentication.

Remarks

The information is used to provide authentication support to a URL moniker from a client application.