source: trunk/src/shell32/shpolicy.h@ 3721

Last change on this file since 3721 was 3243, checked in by cbratschi, 25 years ago

merged with Corel WINE 20000324

File size: 1006 bytes
Line 
1/*
2 * shpolicy.h - contains defs of policy data for SHRestricted
3 *
4 * Created 1999 by Ian Schmidt, <ischmidt@cfl.rr.com>
5 * Up to date as of SHELL32 v4.72 (Win98, Win95 with MSIE 5)
6 *
7 * Corel WINE 20000324 level
8 */
9
10#ifndef __WINE_SHPOLICY_H
11#define __WINE_SHPOLICY_H
12
13#define SHELL_MAX_POLICIES 57
14
15#define SHELL_NO_POLICY 0xffffffff
16
17/*
18 * Note: we don't need pshpack1.h / poppack here because we don't
19 * rely on structure packing and nothing outside SHRestricted
20 * accesses this structure.
21 */
22
23typedef struct tagPOLICYDAT
24{
25 DWORD polflags; /* flags value passed to SHRestricted */
26 LPSTR appstr; /* application str such as "Explorer" */
27 LPSTR keystr; /* name of the actual registry key / policy */
28 DWORD cache; /* cached value or 0xffffffff for invalid */
29} POLICYDATA, *LPPOLICYDATA;
30
31extern POLICYDATA sh32_policy_table[SHELL_MAX_POLICIES];
32
33/* policy functions */
34
35BOOL WINAPI SHInitRestricted(LPSTR, LPSTR);
36
37#endif /* __WINE_SHPOLICY_H */
38
39
40
41
42
43
44
Note: See TracBrowser for help on using the repository browser.