Partager via


NETUI_USERPWD

This structure specifies a network password for a user.

typedef struct _NETUI_USERPWD {
  TCHAR szUserName[UNLEN + 1];
  TCHAR szPassword[PWLEN + 1];
  TCHAR szDomain[DNLEN +1];
  DWORD dwFlags;
  TCHAR szResourceName[RMLEN];
} NETUI_USERPWD, *PNETUI_USERPWD;

Members

  • szUserName
    Specifies the user name.

  • szPassword
    Specifies the password associated with the user name.

  • szDomain
    Specifies the domain where the user name is located.

  • dwFlags
    Specifies actions to take based on the user's choices on the dialog box.

    The following table shows the supported values.

    Value Description
    NETUI_USERPWD_SAVEPWD SavePwd box is selected.
    NETUI_USERPWD_SHOW_SAVEPWD Show the SavePwd control.
    NETUI_USERPWD_SERVERLOGON Connecting to network server.
  • szResourceName
    Specifies the name of the resource to which the user is being logged on. This is valid only if the SERVERLOGON flag is set.

Requirements

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

See Also

GetUsernamePassword

 Last updated on Friday, April 09, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.