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