mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
3498c08a35
role a little, added policy data table.
43 lines
976 B
C
43 lines
976 B
C
/*
|
|
* shpolicy.h - contains defs of policy data for SHRestricted
|
|
*
|
|
* Created 1999 by Ian Schmidt, <ischmidt@cfl.rr.com>
|
|
* Up to date as of SHELL32 v4.72 (Win98, Win95 with MSIE 5)
|
|
*/
|
|
|
|
#ifndef __WINE_SHPOLICY_H
|
|
#define __WINE_SHPOLICY_H
|
|
|
|
#define SHELL_MAX_POLICIES 57
|
|
|
|
#define SHELL_NO_POLICY 0xffffffff
|
|
|
|
/*
|
|
* Note: we don't need pshpack1.h / poppack here because we don't
|
|
* rely on structure packing and nothing outside SHRestricted
|
|
* accesses this structure.
|
|
*/
|
|
|
|
typedef struct tagPOLICYDAT
|
|
{
|
|
DWORD polflags; /* flags value passed to SHRestricted */
|
|
LPSTR appstr; /* application str such as "Explorer" */
|
|
LPSTR keystr; /* name of the actual registry key / policy */
|
|
DWORD cache; /* cached value or 0xffffffff for invalid */
|
|
} POLICYDATA, *LPPOLICYDATA;
|
|
|
|
extern POLICYDATA sh32_policy_table[SHELL_MAX_POLICIES];
|
|
|
|
/* policy functions */
|
|
|
|
BOOL WINAPI SHInitRestricted(LPSTR, LPSTR);
|
|
|
|
#endif /* __WINE_SHPOLICY_H */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|