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.

85 lines
3.2 KiB

  1. #include "windows.h"
  2. #include "poltest.h"
  3. Poltest ICON Poltest.ICO
  4. Poltest MENU
  5. BEGIN
  6. POPUP "&File"
  7. {
  8. MENUITEM "&Clear Window", IDM_CLEARWINDOW
  9. MENUITEM "&Save As...", IDM_SAVEAS
  10. MENUITEM SEPARATOR
  11. MENUITEM "E&xit", IDM_EXIT
  12. }
  13. POPUP "&Policy"
  14. {
  15. MENUITEM "Update &Machine Policy Now", IDM_UPDATE_MACHINE
  16. MENUITEM "Update &User Policy Now", IDM_UPDATE_USER
  17. MENUITEM SEPARATOR
  18. MENUITEM "Pause Machine Policy", IDM_PAUSE_MACHINE
  19. MENUITEM "Resume Machine Policy", IDM_RESUME_MACHINE
  20. MENUITEM SEPARATOR
  21. MENUITEM "Pause User Policy", IDM_PAUSE_USER
  22. MENUITEM "Resume User Policy", IDM_RESUME_USER
  23. MENUITEM SEPARATOR
  24. MENUITEM "Apply Policy Synchronously", IDM_SYNCPOLICY
  25. }
  26. POPUP "&Options"
  27. {
  28. MENUITEM "&Verbose output to Event Log", IDM_VERBOSE
  29. MENUITEM "Start &Event Viewer", IDM_EVENTVWR
  30. MENUITEM SEPARATOR
  31. MENUITEM "Get &User Name...", IDM_USERNAME
  32. MENUITEM "Get &Computer Name...", IDM_COMPUTERNAME
  33. MENUITEM "Get &Site Name...", IDM_SITENAME
  34. MENUITEM "Get &PDC Name...", IDM_PDCNAME
  35. }
  36. POPUP "&GPO Information"
  37. {
  38. MENUITEM "&Set Domain Controller List...", IDM_DCLIST
  39. MENUITEM SEPARATOR
  40. MENUITEM "Show one &GPO's Info...", IDM_CHECKGPO
  41. }
  42. END
  43. DOMAIN_INFO DIALOG 73, 83, 251, 95
  44. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  45. CAPTION "Domain Information"
  46. FONT 8, "MS Shell Dlg"
  47. BEGIN
  48. LTEXT "Domain Name (eg: mydomain.microsoft.com):", -1, 7, 12,
  49. 157, 8
  50. EDITTEXT IDC_NAME, 7, 26, 167, 12, ES_AUTOHSCROLL
  51. LTEXT "Domain Controllers (eg: dc1;dc2;dc3):",
  52. -1, 7, 57, 180, 8
  53. EDITTEXT IDC_DCLIST, 7, 68, 167, 12, ES_AUTOHSCROLL
  54. DEFPUSHBUTTON "OK", IDOK, 193, 11, 50, 14
  55. PUSHBUTTON "Cancel", IDCANCEL, 193, 28, 50, 14
  56. END
  57. GPO_NAME DIALOG 73, 83, 251, 95
  58. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  59. CAPTION "Show one GPO's information from all domain controllers"
  60. FONT 8, "MS Shell Dlg"
  61. BEGIN
  62. LTEXT "GPO Name (eg: {GUID}):", -1, 7, 12,
  63. 157, 8
  64. EDITTEXT IDC_NAME, 7, 26, 167, 12, ES_AUTOHSCROLL
  65. CONTROL "&Show version information"
  66. IDC_VERSION,"Button",BS_AUTOCHECKBOX | BS_LEFT | BS_TOP |
  67. WS_TABSTOP,7,47,100,16
  68. CONTROL "&Show registry information"
  69. IDC_REGISTRY,"Button",BS_AUTOCHECKBOX | BS_LEFT | BS_TOP |
  70. WS_TABSTOP,7,62,100,16
  71. DEFPUSHBUTTON "OK", IDOK, 193, 11, 50, 14
  72. PUSHBUTTON "Cancel", IDCANCEL, 193, 28, 50, 14
  73. PUSHBUTTON "&Browse...", IDC_BROWSE, 193, 45, 50, 14
  74. END