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.

47 lines
2.0 KiB

  1. #ifndef _RLADMIN_H_
  2. #define _RLADMIN_H_
  3. #include "rlstrngs.h"
  4. #include "resourc2.h"
  5. void cwCenter(HWND, int);
  6. INT_PTR FAR PASCAL MainWndProc(HWND, UINT, WPARAM, LPARAM);
  7. INT_PTR FAR PASCAL GENERATEMsgProc(HWND, UINT, WPARAM, LPARAM);
  8. INT_PTR FAR PASCAL EXECUTEDLGEDITMsgProc( HWND, UINT, WPARAM, LPARAM );
  9. INT_PTR FAR PASCAL EXECUTERCWMsgProc( HWND, UINT, WPARAM, LPARAM );
  10. INT_PTR FAR PASCAL TOKENIZEMsgProc(HWND, UINT, WPARAM, LPARAM);
  11. INT_PTR FAR PASCAL TOKFINDMsgProc(HWND, UINT, WPARAM, LPARAM);
  12. INT_PTR FAR PASCAL 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 CwUnRegisterClasses(void);
  17. INT_PTR DoMenuCommand ( HWND, UINT, WPARAM, LPARAM );
  18. INT_PTR DoListBoxCommand ( HWND, UINT, WPARAM, LPARAM );
  19. TCHAR FAR *FindDeltaToken( TOKEN , TOKENDELTAINFO FAR * , UINT );
  20. BOOL GetFileNameFromBrowse( HWND, PSTR, UINT, PSTR, PSTR, PSTR );
  21. BOOL InitApplication(HINSTANCE);
  22. BOOL InitInstance(HINSTANCE, int);
  23. TOKENDELTAINFO FAR *InsertTokList( FILE * );
  24. void FindAllDirtyTokens( void );
  25. void MakeNewExt ( TCHAR *, TCHAR *, TCHAR * );
  26. int nCwRegisterClasses(void);
  27. void SetNewBuffer(HWND, HANDLE, PSTR);
  28. #ifdef RLWIN32
  29. INT_PTR CALLBACK TokEditDlgProc( HWND, UINT, WPARAM, LPARAM );
  30. INT_PTR CALLBACK NewDlgProc( HWND, UINT, WPARAM, LPARAM );
  31. INT_PTR CALLBACK ViewDlgProc( HWND, UINT, WPARAM, LPARAM );
  32. INT_PTR CALLBACK About( HWND, UINT, WPARAM, LPARAM );
  33. #else
  34. BOOL APIENTRY TokEditDlgProc( HWND, UINT, UINT, LONG );
  35. BOOL APIENTRY NewDlgProc( HWND, UINT, UINT, LONG );
  36. BOOL APIENTRY ViewDlgProc( HWND, UINT, UINT, LONG );
  37. BOOL APIENTRY About( HWND, UINT, UINT, LONG );
  38. #endif // RLWIN32
  39. #endif // _RLADMIN_H_