Share via


GetNewPassword (Compact 2013)

3/26/2014

This function displays the dialog box that prompts the user for a new password when their password has expired. Point-to-Point Protocol (PPP) calls this function.

Syntax

BOOL WINAPI GetNewPassword (
   HWND hParent, 
   OUT PNETUI_NEWPWD pNewPwd
);

Parameters

  • hParent
    [in] Handle to the parent window requiring the password.
  • pNewPwd
    [out] A pointer to new password.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function is exported from netui.def.

Requirements

Header

netui.h

Library

Netui.lib

See Also

Reference

Network User Interface Functions
GetNewPasswordEx