Annotation of truecrypt/format/inplace.h, revision 1.1

1.1     ! root        1: /*
        !             2:  Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
        !             3: 
        !             4:  Governed by the TrueCrypt License 2.6 the full text of which is contained
        !             5:  in the file License.txt included in TrueCrypt binary and source code
        !             6:  distribution packages.
        !             7: */
        !             8: 
        !             9: #ifdef __cplusplus
        !            10: extern "C" {
        !            11: #endif
        !            12: 
        !            13: #include "Format.h"
        !            14: 
        !            15: enum nonsys_inplace_enc_status
        !            16: {
        !            17:        NONSYS_INPLACE_ENC_STATUS_NONE = 0,
        !            18:        NONSYS_INPLACE_ENC_STATUS_PREPARING,
        !            19:        NONSYS_INPLACE_ENC_STATUS_RESIZING,
        !            20:        NONSYS_INPLACE_ENC_STATUS_ENCRYPTING,
        !            21:        NONSYS_INPLACE_ENC_STATUS_FINALIZING,
        !            22:        NONSYS_INPLACE_ENC_STATUS_PAUSED,
        !            23:        NONSYS_INPLACE_ENC_STATUS_FINISHED,
        !            24:        NONSYS_INPLACE_ENC_STATUS_ERROR
        !            25: };
        !            26: 
        !            27: BOOL CheckRequirementsForNonSysInPlaceEnc (const char *devicePath, BOOL silent);
        !            28: int EncryptPartitionInPlaceBegin (volatile FORMAT_VOL_PARAMETERS *volParams, volatile HANDLE *outHandle, WipeAlgorithmId wipeAlgorithm);
        !            29: int EncryptPartitionInPlaceResume (HANDLE dev, volatile FORMAT_VOL_PARAMETERS *volParams, WipeAlgorithmId wipeAlgorithm, volatile BOOL *bTryToCorrectReadErrors);
        !            30: void ShowInPlaceEncErrMsgWAltSteps (char *iniStrId, BOOL bErr);
        !            31: void SetNonSysInplaceEncUIStatus (int nonSysInplaceEncStatus);
        !            32: int FastVolumeHeaderUpdate (HANDLE dev, CRYPTO_INFO *headerCryptoInfo, CRYPTO_INFO *masterCryptoInfo, __int64 deviceSize);
        !            33: 
        !            34: HANDLE OpenPartitionVolume (const char *devName, BOOL bExclusiveRequired, BOOL bSharedRequired, BOOL bSharedRequiresConfirmation, BOOL bShowAlternativeSteps, BOOL bSilent);
        !            35: int DismountFileSystem (HANDLE dev, int driveLetter, BOOL bForcedAllowed, BOOL bForcedRequiresConfirmation, BOOL bSilent);
        !            36: int ConcealNTFS (HANDLE dev);
        !            37: BOOL SaveNonSysInPlaceEncSettings (int delta, WipeAlgorithmId wipeAlgorithm);
        !            38: void ExportProgressStats (__int64 bytesDone, __int64 totalSectors);
        !            39: int ZeroUnreadableSectors (HANDLE dev, LARGE_INTEGER startOffset, int64 size, int sectorSize, uint64 *zeroedSectorCount);
        !            40: int OpenBackupHeader (HANDLE dev, const char *devicePath, Password *password, PCRYPTO_INFO *retCryptoInfo, CRYPTO_INFO *headerCryptoInfo, __int64 deviceSize);
        !            41: BOOL MoveClustersBeforeThreshold (HANDLE volumeHandle, PWSTR volumeDevicePath, int64 clusterThreshold);
        !            42: 
        !            43: #ifdef __cplusplus
        !            44: }
        !            45: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.