Share via


CloseUsernamePasswordDialog

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This function closes a username and password dialog box.

Syntax

BOOL CloseUsernamePasswordDialog(
  HWND hDlg
);

Parameters

  • hDlg
    [in] Handle to the dialog box to be closed.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function can be called to close a dialog box created by an in-progress call to GetNewPasswordEx or GetUsernamePasswordEx.

Requirements

Header netui.h
Library Netui.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

GetNewPasswordEx
GetUsernamePasswordEx

Other Resources

Network User Interface Functions