2 * shpolicy.h - contains defs of policy data for SHRestricted
4 * Created 1999 by Ian Schmidt, <ischmidt@cfl.rr.com>
5 * Up to date as of SHELL32 v4.72 (Win98, Win95 with MSIE 5)
8 #ifndef __WINE_SHPOLICY_H
9 #define __WINE_SHPOLICY_H
11 #define SHELL_MAX_POLICIES 57
13 #define SHELL_NO_POLICY 0xffffffff
16 * Note: we don't need pshpack1.h / poppack here because we don't
17 * rely on structure packing and nothing outside SHRestricted
18 * accesses this structure.
21 typedef struct tagPOLICYDAT
23 DWORD polflags
; /* flags value passed to SHRestricted */
24 LPSTR appstr
; /* application str such as "Explorer" */
25 LPSTR keystr
; /* name of the actual registry key / policy */
26 DWORD cache
; /* cached value or 0xffffffff for invalid */
27 } POLICYDATA
, *LPPOLICYDATA
;
29 extern POLICYDATA sh32_policy_table
[SHELL_MAX_POLICIES
];
31 /* policy functions */
33 BOOL WINAPI
SHInitRestricted(LPSTR
, LPSTR
);
35 #endif /* __WINE_SHPOLICY_H */