|
|
1.1.1.3 root 1: /* The source code contained in this file has been derived from the source code
2: of Encryption for the Masses 2.02a by Paul Le Roux. Modifications and
1.1.1.5 ! root 3: additions to that source code contained in this file are Copyright (c) 2004-2005
1.1.1.4 root 4: TrueCrypt Foundation and Copyright (c) 2004 TrueCrypt Team. Unmodified
1.1.1.3 root 5: parts are Copyright (c) 1998-99 Paul Le Roux. This is a TrueCrypt Foundation
6: release. Please see the file license.txt for full license details. */
1.1 root 7:
8: /* Everything below this line is automatically updated by the -mkproto-tool- */
9:
1.1.1.4 root 10: int FormatVolume ( char *lpszFilename , BOOL bDevice , char *volumePath, unsigned __int64 size , unsigned __int64 hiddenVolHostSize , char *lpszPassword , int cipher , int pkcs5 , BOOL quickFormat, int fileSystem , int clusterSize, char * summaryMsg , HWND hwndDlg , BOOL hiddenVol , int *realClusterSize);
11: int FormatNoFs (unsigned __int64 startSector, __int64 num_sectors, HFILE dev, PCRYPTO_INFO cryptoInfo, int nFrequency, diskio_f write, BOOL quickFormat);
12: BOOL FormatNtfs (int driveNo, int clusterSize);
1.1.1.3 root 13: BOOL WriteSector ( HFILE dev , char *sector , char *write_buf , int *write_buf_cnt , __int64 *nSecNo , int *progress , PCRYPTO_INFO cryptoInfo , int nFrequency , diskio_f write );
14:
15: #define WRITE_BUF_SIZE 65536
16:
17: #define FILESYS_NONE 0
18: #define FILESYS_FAT 1
19: #define FILESYS_NTFS 2
20:
21: // FMIFS
22:
23: typedef BOOLEAN (__stdcall *PFMIFSCALLBACK)( int command, DWORD subCommand, PVOID parameter );
24: typedef VOID (__stdcall *PFORMATEX)( PWCHAR DriveRoot, DWORD MediaFlag, PWCHAR Format, PWCHAR Label, BOOL QuickFormat, DWORD ClusterSize, PFMIFSCALLBACK Callback );
25:
26: #define FMIFS_DONE 0xB
27: #define FMIFS_HARDDISK 0xC
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.