MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / uiGetPassword

Function uiGetPassword

Libraries/unrar/uiconsole.cpp:358–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356
357
358bool 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
367bool uiIsGlobalPasswordSet()

Callers

nothing calls this directly

Calls 2

GetConsolePasswordFunction · 0.85
IsSetMethod · 0.45

Tested by

no test coverage detected