| 1 | ###User Defined Function### |
|---|
| 2 | _WinAPI_ShellRestricted |
|---|
| 3 | |
|---|
| 4 | ###Description### |
|---|
| 5 | Determines whether a specified administrator policy is in effect |
|---|
| 6 | |
|---|
| 7 | ###Syntax### |
|---|
| 8 | #include <WinAPIShellEx.au3> |
|---|
| 9 | _WinAPI_ShellRestricted ( $iRestriction ) |
|---|
| 10 | |
|---|
| 11 | |
|---|
| 12 | ###Parameters### |
|---|
| 13 | @@ParamTable@@ |
|---|
| 14 | $iRestriction |
|---|
| 15 | A restriction. This parameter can be one of the $REST_* constants. |
|---|
| 16 | @@End@@ |
|---|
| 17 | |
|---|
| 18 | ###ReturnValue### |
|---|
| 19 | @@ReturnTable@@ |
|---|
| 20 | Success: True - The specified restriction is in effect. |
|---|
| 21 | Failure: False. |
|---|
| 22 | @@End@@ |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | ###Remarks### |
|---|
| 26 | $REST_* constants require #include <APIShellExConstants.au3>. |
|---|
| 27 | |
|---|
| 28 | |
|---|
| 29 | ###Related### |
|---|
| 30 | None. |
|---|
| 31 | |
|---|
| 32 | |
|---|
| 33 | ###See Also### |
|---|
| 34 | @@MsdnLink@@ SHRestricted |
|---|