17 |
* along with WinPT; if not, write to the Free Software Foundation, |
* along with WinPT; if not, write to the Free Software Foundation, |
18 |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 |
*/ |
*/ |
|
|
|
20 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
21 |
#include <config.h> |
#include <config.h> |
22 |
#endif |
#endif |
563 |
} |
} |
564 |
rc = cryptdisk_mount (devnum, imgfile, 0, drive); |
rc = cryptdisk_mount (devnum, imgfile, 0, drive); |
565 |
if (!rc) { |
if (!rc) { |
566 |
mount_list_t n = new_mount_list (drive, devnum); |
mount_list_t t = new_mount_list (drive, devnum); |
567 |
if (!mounted) |
if (!mounted) |
568 |
mounted = n; |
mounted = t; |
569 |
else |
else |
570 |
add_mount_list (mounted, n); |
add_mount_list (mounted, t); |
571 |
EndDialog (dlg, TRUE); |
EndDialog (dlg, TRUE); |
572 |
} |
} |
573 |
else |
else |
705 |
CloseServiceHandle (hd); |
CloseServiceHandle (hd); |
706 |
return rc; |
return rc; |
707 |
} |
} |
708 |
|
|