Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
2.5 KiB

  1. #ifndef _RLEDIT_H_
  2. #define _RLEDIT_H_
  3. #include "rlstrngs.h"
  4. #include "resourc2.h"
  5. void cwCenter(HWND, int);
  6. INT_PTR APIENTRY MainWndProc(HWND, UINT, WPARAM, LPARAM);
  7. INT_PTR APIENTRY GENERATEMsgProc(HWND, UINT, WPARAM, LPARAM);
  8. INT_PTR APIENTRY EXECUTEDLGEDITMsgProc( HWND, UINT, WPARAM, LPARAM );
  9. INT_PTR FAR PASCAL StatusWndProc( HWND, UINT, WPARAM, LPARAM);
  10. INT_PTR APIENTRY EXECUTERCWMsgProc( HWND, UINT, WPARAM, LPARAM );
  11. INT_PTR APIENTRY TOKENIZEMsgProc(HWND, UINT, WPARAM, LPARAM);
  12. INT_PTR APIENTRY TRANSLATEMsgProc( HWND, UINT, WPARAM, LPARAM );
  13. #define MAXFILENAME 256 /* maximum length of file pathname */
  14. #define MAXCUSTFILTER 40 /* maximum size of custom filter buffer */
  15. #define CCHNPMAX 65535 /* max number of bytes in a notepad file */
  16. void cwCenter(HWND, int);
  17. void CwUnRegisterClasses(void);
  18. INT_PTR DoMenuCommand ( HWND, UINT, WPARAM, LPARAM );
  19. INT_PTR DoListBoxCommand ( HWND, UINT, WPARAM, LPARAM );
  20. TCHAR FAR *FindDeltaToken( TOKEN , TOKENDELTAINFO FAR * , UINT );
  21. LONG GetGlossaryIndex( FILE *, TCHAR, long [30] );
  22. BOOL InitApplication(HINSTANCE);
  23. BOOL InitInstance(HINSTANCE, int);
  24. void FindAllDirtyTokens( void );
  25. int nCwRegisterClasses(void);
  26. BOOL SaveTokList( HWND, FILE * );
  27. void SetNewBuffer(HWND, HANDLE, PSTR);
  28. FILE *UpdateFile( HWND, FILE *, FILE *, BOOL, TCHAR *, TCHAR *, TCHAR *, TCHAR * );
  29. int MyGetTempFileName( BYTE hDriveLetter,
  30. LPSTR lpszPrefixString,
  31. WORD wUnique,
  32. LPSTR lpszTempFileName);
  33. #ifdef RLWIN32
  34. INT_PTR CALLBACK TokEditDlgProc( HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam );
  35. INT_PTR CALLBACK TOKFINDMsgProc(HWND hWndDlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
  36. INT_PTR CALLBACK NewDlgProc( HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam );
  37. INT_PTR CALLBACK ViewDlgProc( HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam );
  38. INT_PTR CALLBACK About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  39. #else
  40. BOOL APIENTRY TokEditDlgProc( HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM lParam );
  41. BOOL APIENTRY TOKFINDMsgProc(HWND hWndDlg, UINT wMsg, UINT wParam, LONG lParam);
  42. BOOL APIENTRY NewDlgProc( HWND hDlg, UINT wMsg, UINT wParam, LONG lParam );
  43. BOOL APIENTRY ViewDlgProc( HWND hDlg, UINT wMsg, UINT wParam, LONG lParam );
  44. BOOL APIENTRY About(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
  45. #endif // RLWIN32
  46. #endif // _RLEDIT_H_