RnaUIUsernamePassword

DWORD
WINAPI RnaUIUsernamePassword(HANDLE hConn,
   LPSTR lpszUsername, UINT cbUsername, LPSTR lpszPassword,
   UINT cbPassword, LPSTR lpszDomain, UINT cbDomain)
 

This function is called by the initiator-type SMM to display a common user-logon dialog box.

hConn
The RNA connection handle.
lpszUsername
An address to a buffer to receive a null-terminated string for the user name. The buffer can be filled with a default name on entry.
cbUsername
The size in bytes of the 'lpszUsername' buffer.
lpszPassword
An address to a buffer to receive a null-terminated string for the user's password. The buffer can be filled with a default password on entry.
cbPassword
The size in bytes of the 'lpszPassword' buffer.
lpszDomain
An address to a buffer to receive a null-terminated string for the user's logon domain. If the address is NULL, the dialog box do not allow the user to enter the logon domain. The buffer can be filled with a default logon domain on entry.
cbDomain
The size in bytes of the 'lpszDomain' buffer.
ERROR_INVALID_HANDLE The RNA connection handle is invalid.
ERROR_NO_RESPONSES The end-user cancels the dialog box.