VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Dlgcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Dlgcode.h')
-rw-r--r--src/Common/Dlgcode.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/Common/Dlgcode.h b/src/Common/Dlgcode.h
index 588fea41..11686f89 100644
--- a/src/Common/Dlgcode.h
+++ b/src/Common/Dlgcode.h
@@ -222,9 +222,9 @@ typedef struct
222 222
223void cleanup ( void ); 223void cleanup ( void );
224void LowerCaseCopy ( char *lpszDest , const char *lpszSource ); 224void LowerCaseCopy ( char *lpszDest , const char *lpszSource );
225void UpperCaseCopy ( char *lpszDest , const char *lpszSource ); 225void UpperCaseCopy ( char *lpszDest , size_t cbDest, const char *lpszSource );
226void CreateFullVolumePath ( char *lpszDiskFile , const char *lpszFileName , BOOL *bDevice ); 226void CreateFullVolumePath ( char *lpszDiskFile , size_t cbDiskFile, const char *lpszFileName , BOOL *bDevice );
227int FakeDosNameForDevice ( const char *lpszDiskFile , char *lpszDosDevice , char *lpszCFDevice , BOOL bNameOnly ); 227int FakeDosNameForDevice ( const char *lpszDiskFile , char *lpszDosDevice , size_t cbDosDevice, char *lpszCFDevice , size_t cbCFDevice, BOOL bNameOnly );
228int RemoveFakeDosName ( char *lpszDiskFile , char *lpszDosDevice ); 228int RemoveFakeDosName ( char *lpszDiskFile , char *lpszDosDevice );
229void AbortProcess ( char *stringId ); 229void AbortProcess ( char *stringId );
230void AbortProcessSilent ( void ); 230void AbortProcessSilent ( void );
@@ -242,8 +242,8 @@ void CloseStaticModelessWaitDlg (void);
242BOOL IsButtonChecked ( HWND hButton ); 242BOOL IsButtonChecked ( HWND hButton );
243void CheckButton ( HWND hButton ); 243void CheckButton ( HWND hButton );
244void LeftPadString (char *szTmp, int len, int targetLen, char filler); 244void LeftPadString (char *szTmp, int len, int targetLen, char filler);
245void ToSBCS ( LPWSTR lpszText ); 245void ToSBCS ( LPWSTR lpszText, size_t cbSize );
246void ToUNICODE ( char *lpszText ); 246void ToUNICODE ( char *lpszText , size_t cbSize);
247void InitDialog ( HWND hwndDlg ); 247void InitDialog ( HWND hwndDlg );
248void ProcessPaintMessages (HWND hwnd, int maxMessagesToProcess); 248void ProcessPaintMessages (HWND hwnd, int maxMessagesToProcess);
249HDC CreateMemBitmap ( HINSTANCE hInstance , HWND hwnd , char *resource ); 249HDC CreateMemBitmap ( HINSTANCE hInstance , HWND hwnd , char *resource );
@@ -293,7 +293,7 @@ BOOL OpenDevice (const char *lpszPath, OPEN_TEST_STRUCT *driver, BOOL detectFile
293void NotifyDriverOfPortableMode (void); 293void NotifyDriverOfPortableMode (void);
294int GetAvailableFixedDisks ( HWND hComboBox , char *lpszRootPath ); 294int GetAvailableFixedDisks ( HWND hComboBox , char *lpszRootPath );
295int GetAvailableRemovables ( HWND hComboBox , char *lpszRootPath ); 295int GetAvailableRemovables ( HWND hComboBox , char *lpszRootPath );
296int IsSystemDevicePath (char *path, HWND hwndDlg, BOOL bReliableRequired); 296int IsSystemDevicePath (const char *path, HWND hwndDlg, BOOL bReliableRequired);
297BOOL CALLBACK RawDevicesDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 297BOOL CALLBACK RawDevicesDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam );
298BOOL TextInfoDialogBox (int nID); 298BOOL TextInfoDialogBox (int nID);
299BOOL CALLBACK TextInfoDialogBoxDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam); 299BOOL CALLBACK TextInfoDialogBoxDlgProc (HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -333,7 +333,7 @@ int GetMountedVolumeDriveNo (char *volname);
333BOOL IsAdmin (void); 333BOOL IsAdmin (void);
334BOOL IsBuiltInAdmin (); 334BOOL IsBuiltInAdmin ();
335BOOL IsUacSupported (); 335BOOL IsUacSupported ();
336BOOL ResolveSymbolicLink (const wchar_t *symLinkName, PWSTR targetName); 336BOOL ResolveSymbolicLink (const wchar_t *symLinkName, PWSTR targetName, size_t cbTargetName);
337int GetDiskDeviceDriveLetter (PWSTR deviceName); 337int GetDiskDeviceDriveLetter (PWSTR deviceName);
338int FileSystemAppearsEmpty (const char *devicePath); 338int FileSystemAppearsEmpty (const char *devicePath);
339__int64 GetStatsFreeSpaceOnPartition (const char *devicePath, float *percent, __int64 *occupiedBytes, BOOL silent); 339__int64 GetStatsFreeSpaceOnPartition (const char *devicePath, float *percent, __int64 *occupiedBytes, BOOL silent);
@@ -346,7 +346,7 @@ BOOL TCCopyFile (char *sourceFileName, char *destinationFile);
346BOOL SaveBufferToFile (const char *inputBuffer, const char *destinationFile, DWORD inputLength, BOOL bAppend); 346BOOL SaveBufferToFile (const char *inputBuffer, const char *destinationFile, DWORD inputLength, BOOL bAppend);
347BOOL TCFlushFile (FILE *f); 347BOOL TCFlushFile (FILE *f);
348BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, int byteLen); 348BOOL PrintHardCopyTextUTF16 (wchar_t *text, char *title, int byteLen);
349void GetSpeedString (unsigned __int64 speed, wchar_t *str); 349void GetSpeedString (unsigned __int64 speed, wchar_t *str, size_t cbStr);
350BOOL IsNonInstallMode (); 350BOOL IsNonInstallMode ();
351BOOL DriverUnload (); 351BOOL DriverUnload ();
352LRESULT SetCheckBox (HWND hwndDlg, int dlgItem, BOOL state); 352LRESULT SetCheckBox (HWND hwndDlg, int dlgItem, BOOL state);
@@ -362,7 +362,7 @@ LRESULT ListSubItemSet (HWND list, int index, int subIndex, char *string);
362LRESULT ListSubItemSetW (HWND list, int index, int subIndex, wchar_t *string); 362LRESULT ListSubItemSetW (HWND list, int index, int subIndex, wchar_t *string);
363BOOL GetMountList (MOUNT_LIST_STRUCT *list); 363BOOL GetMountList (MOUNT_LIST_STRUCT *list);
364int GetDriverRefCount (); 364int GetDriverRefCount ();
365void GetSizeString (unsigned __int64 size, wchar_t *str); 365void GetSizeString (unsigned __int64 size, wchar_t *str, size_t cbStr);
366__int64 GetFileSize64 (const char *path); 366__int64 GetFileSize64 (const char *path);
367BOOL LoadInt16 (char *filePath, int *result, __int64 fileOffset); 367BOOL LoadInt16 (char *filePath, int *result, __int64 fileOffset);
368BOOL LoadInt32 (char *filePath, unsigned __int32 *result, __int64 fileOffset); 368BOOL LoadInt32 (char *filePath, unsigned __int32 *result, __int64 fileOffset);
@@ -429,8 +429,8 @@ BOOL CALLBACK FindTCWindowEnum (HWND hwnd, LPARAM lParam);
429BYTE *MapResource (char *resourceType, int resourceId, PDWORD size); 429BYTE *MapResource (char *resourceType, int resourceId, PDWORD size);
430void InconsistencyResolved (char *msg); 430void InconsistencyResolved (char *msg);
431void ReportUnexpectedState (char *techInfo); 431void ReportUnexpectedState (char *techInfo);
432BOOL SelectMultipleFiles (HWND hwndDlg, char *stringId, char *lpszFileName, BOOL keepHistory); 432BOOL SelectMultipleFiles (HWND hwndDlg, const char *stringId, char *lpszFileName, size_t cbFileName, BOOL keepHistory);
433BOOL SelectMultipleFilesNext (char *lpszFileName); 433BOOL SelectMultipleFilesNext (char *lpszFileName, size_t cbFileName);
434void OpenOnlineHelp (); 434void OpenOnlineHelp ();
435BOOL GetPartitionInfo (const char *deviceName, PPARTITION_INFORMATION rpartInfo); 435BOOL GetPartitionInfo (const char *deviceName, PPARTITION_INFORMATION rpartInfo);
436BOOL GetDeviceInfo (const char *deviceName, DISK_PARTITION_INFO_STRUCT *info); 436BOOL GetDeviceInfo (const char *deviceName, DISK_PARTITION_INFO_STRUCT *info);
@@ -464,7 +464,7 @@ int AskNonSysInPlaceEncryptionResume ();
464BOOL RemoveDeviceWriteProtection (HWND hwndDlg, char *devicePath); 464BOOL RemoveDeviceWriteProtection (HWND hwndDlg, char *devicePath);
465void EnableElevatedCursorChange (HWND parent); 465void EnableElevatedCursorChange (HWND parent);
466BOOL DisableFileCompression (HANDLE file); 466BOOL DisableFileCompression (HANDLE file);
467BOOL VolumePathExists (char *volumePath); 467BOOL VolumePathExists (const char *volumePath);
468BOOL IsWindowsIsoBurnerAvailable (); 468BOOL IsWindowsIsoBurnerAvailable ();
469BOOL LaunchWindowsIsoBurner (HWND hwnd, const char *isoPath); 469BOOL LaunchWindowsIsoBurner (HWND hwnd, const char *isoPath);
470BOOL IsApplicationInstalled (const char *appName); 470BOOL IsApplicationInstalled (const char *appName);