|
|
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 ! 3: additions to that source code contained in this file are Copyright (c) 2004 ! 4: TrueCrypt Team and Copyright (c) 2004 TrueCrypt Foundation. Unmodified ! 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.3 ! root 10: int FormatVolume ( char *lpszFilename , BOOL bDevice , char *volumePath, unsigned __int64 size , char *lpszPassword , int cipher , int pkcs5 , BOOL quickFormat, int fileSystem, int clusterSize, char * summaryMsg, HWND hwndDlg ); ! 11: 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 ); ! 12: ! 13: ! 14: #define WRITE_BUF_SIZE 65536 ! 15: ! 16: #define FILESYS_NONE 0 ! 17: #define FILESYS_FAT 1 ! 18: #define FILESYS_NTFS 2 ! 19: ! 20: // FMIFS ! 21: ! 22: typedef BOOLEAN (__stdcall *PFMIFSCALLBACK)( int command, DWORD subCommand, PVOID parameter ); ! 23: typedef VOID (__stdcall *PFORMATEX)( PWCHAR DriveRoot, DWORD MediaFlag, PWCHAR Format, PWCHAR Label, BOOL QuickFormat, DWORD ClusterSize, PFMIFSCALLBACK Callback ); ! 24: ! 25: #define FMIFS_DONE 0xB ! 26: #define FMIFS_HARDDISK 0xC
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.