Share via


CloseUsernamePasswordDialog (Compact 2013)

3/26/2014

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

See Also

Reference

Network User Interface Functions
GetNewPasswordEx
GetUsernamePasswordEx