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.

38 lines
1.1 KiB

  1. #ifndef FTCMMN_H
  2. #define FTCMMN_H
  3. #define WM_CTRL_SETFOCUS WM_USER + 1
  4. #define MAX_EXT MAX_PATH
  5. #define MAX_PROGID MAX_PATH
  6. #define MAX_PROGIDDESCR 200 //no reason
  7. #define MAX_APPFRIENDLYNAME 260
  8. #define MAX_ACTION 63
  9. #define MAX_ACTIONDESCR 200 //no reason
  10. #define MAX_ACTIONCMDLINE (MAX_PATH * 2) //no reason
  11. #define MAX_ACTIONAPPL MAX_PATH
  12. #define MAX_ACTIONDDEAPPNOTRUN MAX_PATH
  13. #define MAX_ACTIONDDEMSG 200 //no reason
  14. #define MAX_ACTIONTOPIC 200 //no reason
  15. #define MAX_MIME 50 //no reason
  16. #define MAX_FTMAX MAX_EXT
  17. #define BROWSEHACK_DONTINPLACENAVIGATE 0x00000008
  18. // ...Reg: the Reg key name
  19. typedef struct tagPROGIDACTION
  20. {
  21. BOOL fNew;
  22. BOOL fUseDDE;
  23. TCHAR szAction[MAX_ACTION];
  24. TCHAR szActionReg[MAX_ACTION];
  25. TCHAR szOldAction[MAX_ACTION];
  26. TCHAR szOldActionReg[MAX_ACTION];
  27. TCHAR szCmdLine[MAX_ACTIONCMDLINE];
  28. TCHAR szDDEMsg[MAX_ACTIONDDEMSG];
  29. TCHAR szDDEApplication[MAX_ACTIONAPPL];
  30. TCHAR szDDEAppNotRunning[MAX_ACTIONDDEAPPNOTRUN];
  31. TCHAR szDDETopic[MAX_ACTIONTOPIC];
  32. }PROGIDACTION;
  33. #endif //FTCMMN_H