Annotation of truecrypt/common/dlgcode.h, revision 1.1.1.3

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

unix.superglobalmegacorp.com

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