|
|
1.1.1.2 ! root 1: /* Copyright (C) 2004 TrueCrypt Foundation 1.1 root 2: This product uses components written by Paul Le Roux <[email protected]> */ 3: 4: #define IDC_ABOUT 0x7fff /* ID for AboutBox on system menu in wm_user 5: range */ 6: 7: extern char szHelpFile[TC_MAX_PATH]; 8: extern HFONT hSmallFont; 9: extern HFONT hBoldFont; 10: extern HFONT hSmallBoldFont; 11: extern HFONT hTitleFont; 12: extern HFONT hFixedFont; 13: extern HFONT hUserFont; 14: extern HFONT hUserUnderlineFont; 15: extern HFONT hUserBoldFont; 16: extern char *lpszTitle; 17: extern int nCurrentOS; 18: extern int CurrentOSMajor; 19: extern int CurrentOSMinor; 20: extern HANDLE hDriver; 21: extern HINSTANCE hInst; 22: 23: #define WIN_95 0xa 24: #define WIN_98 0xb 25: #define WIN_NT 0xc 26: 27: 28: #define ICON_HAND MB_ICONHAND 29: #define YES_NO MB_YESNO 30: 31: #ifdef _UNICODE 32: #define WINMAIN wWinMain 33: #else 34: #define WINMAIN WinMain 35: #endif 36: 37: /* Everything below this line is automatically updated by the -mkproto-tool- */ 38: 39: void cleanup ( void ); 40: void LowerCaseCopy ( char *lpszDest , char *lpszSource ); 41: void UpperCaseCopy ( char *lpszDest , char *lpszSource ); 42: void CreateFullVolumePath ( char *lpszDiskFile , char *lpszFileName , BOOL *bDevice ); 43: int FakeDosNameForDevice ( char *lpszDiskFile , char *lpszDosDevice , char *lpszCFDevice , BOOL bNameOnly ); 44: int RemoveFakeDosName ( char *lpszDiskFile , char *lpszDosDevice ); 45: char *getstr ( UINT nID ); 46: char *getmultilinestr ( UINT nID [4 ]); 47: void AbortProcess ( UINT nID ); 48: void *err_malloc ( size_t size ); 49: char *err_strdup ( char *lpszText ); 50: void handleWin32Error ( HWND hwndDlg ); 51: BOOL translateWin32Error ( char *lpszMsgBuf , int nSizeOfBuf ); 52: BOOL WINAPI AboutDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 53: BOOL WINAPI WarningDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 54: BOOL IsButtonChecked ( HWND hButton ); 55: void CheckButton ( HWND hButton ); 56: void ToSBCS ( LPWSTR lpszText ); 57: void ToUNICODE ( char *lpszText ); 58: void InitDialog ( HWND hwndDlg ); 59: HDC CreateMemBitmap ( HINSTANCE hInstance , HWND hwnd , char *resource ); 60: void PaintBitmap ( HDC pdcMem , int x , int y , int nWidth , int nHeight , HDC hDC ); 61: LRESULT CALLBACK SplashDlgProc ( HWND hwnd , UINT uMsg , WPARAM wParam , LPARAM lParam ); 62: void WaitCursor ( void ); 63: void NormalCursor ( void ); 64: void ArrowWaitCursor ( void ); 65: LRESULT CALLBACK CustomDlgProc ( HWND hwnd , UINT uMsg , WPARAM wParam , LPARAM lParam ); 66: void InitApp ( HINSTANCE hInstance ); 67: BOOL InstallService ( SC_HANDLE schSCManager , char *SZSERVICENAME , char *SZSERVICEDISPLAYNAME ); 68: BOOL CheckService ( void ); 69: BOOL OpenDevice ( char *lpszPath , OPEN_TEST_STRUCT *driver ); 70: UINT _stdcall win9x_io ( HFILE hFile , char *lpBuffer , UINT uBytes ); 71: int GetAvailableFixedDisks ( HWND hComboBox , char *lpszRootPath ); 72: int GetAvailableRemovables ( HWND hComboBox , char *lpszRootPath ); 73: BOOL WINAPI RawDevicesDlgProc ( HWND hwndDlg , UINT msg , WPARAM wParam , LPARAM lParam ); 74: int DriverAttach ( void ); 75: BOOL BrowseFiles ( HWND hwndDlg , UINT nTitleID , char *lpszFileName ); 76: void handleError ( HWND hwndDlg , int code ); 77: void SetDefaultUserFont (HWND hwnd);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.