| 356 | |
| 357 | |
| 358 | bool uiGetPassword(UIPASSWORD_TYPE Type,const wchar *FileName,SecPassword *Password) |
| 359 | { |
| 360 | // Unlike GUI we cannot provide Cancel button here, so we use the empty |
| 361 | // password to abort. Otherwise user not knowing a password would need to |
| 362 | // press Ctrl+C multiple times to quit from infinite password request loop. |
| 363 | return GetConsolePassword(Type,FileName,Password) && Password->IsSet(); |
| 364 | } |
| 365 | |
| 366 | |
| 367 | bool uiIsGlobalPasswordSet() |
nothing calls this directly
no test coverage detected