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

Function RARSetPassword

Libraries/unrar/dll.cpp:454–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452
453
454void PASCAL RARSetPassword(HANDLE hArcData,char *Password)
455{
456#ifndef RAR_NOCRYPT
457 DataSet *Data=(DataSet *)hArcData;
458 wchar PasswordW[MAXPASSWORD];
459 GetWideName(Password,NULL,PasswordW,ASIZE(PasswordW));
460 Data->Cmd.Password.Set(PasswordW);
461 cleandata(PasswordW,sizeof(PasswordW));
462#endif
463}
464
465
466int PASCAL RARGetDllVersion()

Callers

nothing calls this directly

Calls 3

GetWideNameFunction · 0.85
cleandataFunction · 0.85
SetMethod · 0.80

Tested by

no test coverage detected