пароли на dial up через RAS
BOOL pas;
RASDIALPARAMS rasdlg;
FillMemory(&rasdlg, sizeof(rasdlg),0);
rasdlg.dwSize = sizeof(RASDIALPARAMS);
RasGetEntryDialParams(NULL,&rasdlg,&pas);
CString s = rasdlg.szPassword;
if (pas) MessageBox(s);
Цитата:
Windows Server 2003, Windows XP and Windows 2000: The szPassword member of the RASDIALPARAMS structure does not return the actual password. Instead, szPassword contains a handle to the saved password. Substitute this handle for the saved password in subsequent calls to
RasSetEntryDialParams and RasDial. When presented with this handle, RasDial retrieves and uses the saved password. The value of this handle may change in future versions of the operating system; do not develop code that depends on the contents or format of this value.
ну и как его можно в таком случае получить??