windows-nt/Source/XPSP1/NT/ds/security/gina/policy/poledit/policy.h
2020-09-26 16:20:57 +08:00

39 lines
1 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//*********************************************************************
//* 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_