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.

92 lines
1.6 KiB

  1. #include <windows.h>
  2. #include <lm.h>
  3. #include <ole2.h>
  4. #include <olectl.h>
  5. #include <shellapi.h>
  6. #include <shlobj.h>
  7. #include <commctrl.h>
  8. #include <prsht.h>
  9. #include <mmc.h>
  10. #include <gpedit.h>
  11. #include <gptdemo.h>
  12. class CSnapIn;
  13. #include "layout.h"
  14. #include "compdata.h"
  15. #include "snapin.h"
  16. #include "dataobj.h"
  17. #include "debug.h"
  18. #include "util.h"
  19. #include "pcommon.h"
  20. //
  21. // Resource ids
  22. //
  23. #define IDS_SNAPIN_NAME 1
  24. #define IDS_NAME 2
  25. #define IDS_POLICY 3
  26. #define IDS_DISPLAY 4
  27. #define IDS_SAMPLES 5
  28. #define IDS_README 8
  29. #define IDS_APPEAR 19
  30. //
  31. // Icons
  32. //
  33. #define IDI_POLICY 1
  34. #define IDI_README 2
  35. #define IDI_APPEAR 7
  36. //
  37. // Bitmaps
  38. //
  39. #define IDB_16x16 1
  40. #define IDB_32x32 2
  41. //
  42. // Dialogs
  43. //
  44. #define IDD_README 150
  45. #define IDD_APPEAR 600
  46. #define IDC_RED 601
  47. #define IDC_GREEN 602
  48. #define IDC_BLUE 603
  49. #define IDC_BLACK 604
  50. #define IDC_GRAY 605
  51. #define IDC_DEFAULT 606
  52. #define IDC_WALLPAPER 607
  53. #define IDC_TILE 608
  54. #define IDC_CENTER 609
  55. //
  56. // Global variables
  57. //
  58. extern LONG g_cRefThisDll;
  59. extern HINSTANCE g_hInstance;
  60. //
  61. // Macros
  62. //
  63. #define ARRAYSIZE(a) (sizeof(a)/sizeof(a[0]))
  64. //
  65. // Functions to create class factories
  66. //
  67. HRESULT CreateComponentDataClassFactory (REFCLSID rclsid, REFIID riid, LPVOID* ppv);