次の方法で共有


GetUsernamePassword (Compact 2013)

3/26/2014

This function retrieves user credentials for OS components such as PPP and the redirector. It interacts with the OS credential manager to persist user credentials as appropriate.

Syntax

BOOL GetUsernamePassword(
  HWND hParent, 
  PNETUI_USERPWD pUserPwd
);

Parameters

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

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

netui.h

Library

Netui.lib

See Also

Reference

Network User Interface Functions
GetResourcePassword
NETUI_USERPWD