Share via


GetUsernamePassword

This function prompts a user for a network password in an attempt to log on. This function is called by PPP and the network redirector to prompt for user logon credentials.

BOOL GetUsernamePassword(
  HWND hParent, 
  PNETUI_USERPWD pUserPwd
);

Parameters

  • hParent
    Handle to the parent window requiring a user password.
  • pUserPwd
    Pointer to the password.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 2.10 and later.
Header: Netui.h.
Link Library: Netui.lib.

See Also

GetResourcePassword | NETUI_USERPWD

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.