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.

38 lines
1.0 KiB

  1. //*********************************************************************
  2. //* Microsoft Windows **
  3. //* Copyright(c) Microsoft Corp., 1993 **
  4. //*********************************************************************
  5. #ifndef _POLICY_H_
  6. #define _POLICY_H_
  7. #define NO_DATA_INDEX (UINT) -1
  8. #define DEF_CONTROLS 10
  9. typedef struct tagPOLICYCTRLINFO {
  10. HWND hwnd;
  11. DWORD dwType;
  12. UINT uDataIndex; // index into user's data buffer
  13. SETTINGS * pSetting;
  14. } POLICYCTRLINFO;
  15. typedef struct tagSTRDATA {
  16. DWORD dwSize; // size of structure incl. variable-len data
  17. CHAR szData[]; // variable-length data
  18. } STRDATA;
  19. typedef struct tagPOLICYDLGINFO {
  20. HGLOBAL hUser; // handle to user's data buffer
  21. TABLEENTRY * pEntryRoot; // root template
  22. SETTINGS * pCurrentSettings;// template for current settings
  23. HWND hwndSettings;
  24. HWND hwndApp;
  25. BOOL fActive;
  26. POLICYCTRLINFO * pControlTable;
  27. DWORD dwControlTableSize;
  28. UINT nControls;
  29. } POLICYDLGINFO;
  30. #endif // _POLICY_H_
  31.