Source code of Windows XP (NT5)
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.

70 lines
1.2 KiB

  1. //
  2. // View UI to present shared applications/desktop of a remote host
  3. //
  4. #ifndef _H_VIEW
  5. #define _H_VIEW
  6. //
  7. //
  8. // CONSTANTS
  9. //
  10. //
  11. //
  12. // The class name of the frame containing the view of shared applications
  13. // from a particular user.
  14. //
  15. #define VIEW_FRAME_CLASS_NAME "Salem_Frame"
  16. #define VIEW_CLIENT_CLASS_NAME "Salem_Client"
  17. #define VIEW_FULLEXIT_CLASS_NAME "Salem_FullExit"
  18. //
  19. // Metrics
  20. //
  21. //
  22. // LAURABU: For international, consider making this larger (i.e, German,
  23. // Slavic, and DBCS systems)
  24. //
  25. #define VIEW_MAX_ITEM_CHARS 20
  26. //
  27. // IDs
  28. //
  29. #define IDVIEW_ITEMS 1 // Window bar item list
  30. #define IDVIEW_SCROLL 2 // Window bar scroll
  31. #define IDT_AUTOSCROLL 50 // Period is DoubleClick time metric
  32. //
  33. // Init/Term
  34. //
  35. BOOL VIEW_Init(void);
  36. void VIEW_Term(void);
  37. //
  38. // Frame
  39. //
  40. LRESULT CALLBACK VIEWFrameWindowProc(HWND, UINT, WPARAM, LPARAM);
  41. //
  42. // View
  43. //
  44. LRESULT CALLBACK VIEWClientWindowProc(HWND, UINT, WPARAM, LPARAM);
  45. //
  46. // FullScreen Exit
  47. //
  48. LRESULT CALLBACK VIEWFullScreenExitProc(HWND, UINT, WPARAM, LPARAM);
  49. //
  50. // Informational dialog
  51. //
  52. INT_PTR CALLBACK VIEWDlgProc(HWND, UINT, WPARAM, LPARAM);
  53. #endif // _H_VIEW