Rev | Line | |
---|
[5618] | 1 | /*
|
---|
[1551] | 2 | * shpolicy.h - contains defs of policy data for SHRestricted
|
---|
[5618] | 3 | *
|
---|
[1551] | 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 |
|
---|
| 8 | #ifndef __WINE_SHPOLICY_H
|
---|
| 9 | #define __WINE_SHPOLICY_H
|
---|
| 10 |
|
---|
| 11 | #define SHELL_MAX_POLICIES 57
|
---|
| 12 |
|
---|
| 13 | #define SHELL_NO_POLICY 0xffffffff
|
---|
| 14 |
|
---|
| 15 | /*
|
---|
| 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.
|
---|
| 19 | */
|
---|
| 20 |
|
---|
| 21 | typedef struct tagPOLICYDAT
|
---|
| 22 | {
|
---|
| 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;
|
---|
| 28 |
|
---|
| 29 | extern POLICYDATA sh32_policy_table[SHELL_MAX_POLICIES];
|
---|
| 30 |
|
---|
| 31 | /* policy functions */
|
---|
| 32 |
|
---|
| 33 | BOOL WINAPI SHInitRestricted(LPSTR, LPSTR);
|
---|
| 34 |
|
---|
| 35 | #endif /* __WINE_SHPOLICY_H */
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.