mirror of https://github.com/tongzx/nt5src
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
38 lines
1.0 KiB
//*********************************************************************
|
|
//* Microsoft Windows **
|
|
//* Copyright(c) Microsoft Corp., 1993 **
|
|
//*********************************************************************
|
|
|
|
#ifndef _POLICY_H_
|
|
#define _POLICY_H_
|
|
|
|
#define NO_DATA_INDEX (UINT) -1
|
|
#define DEF_CONTROLS 10
|
|
|
|
typedef struct tagPOLICYCTRLINFO {
|
|
HWND hwnd;
|
|
DWORD dwType;
|
|
UINT uDataIndex; // index into user's data buffer
|
|
SETTINGS * pSetting;
|
|
} POLICYCTRLINFO;
|
|
|
|
typedef struct tagSTRDATA {
|
|
DWORD dwSize; // size of structure incl. variable-len data
|
|
CHAR szData[]; // variable-length data
|
|
} STRDATA;
|
|
|
|
typedef struct tagPOLICYDLGINFO {
|
|
HGLOBAL hUser; // handle to user's data buffer
|
|
TABLEENTRY * pEntryRoot; // root template
|
|
SETTINGS * pCurrentSettings;// template for current settings
|
|
HWND hwndSettings;
|
|
HWND hwndApp;
|
|
BOOL fActive;
|
|
|
|
POLICYCTRLINFO * pControlTable;
|
|
DWORD dwControlTableSize;
|
|
UINT nControls;
|
|
} POLICYDLGINFO;
|
|
|
|
#endif // _POLICY_H_
|
|
|