---
name: "SHRestricted"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/SHRestricted"
---

# SHRestricted(3w)

## NAME

**SHRestricted** (SHELL32.100)

## SYNOPSIS

DWORD SHRestricted\
  (\
   RESTRICTIONS *policy*\
  )

## DESCRIPTION

Get the value associated with a *policy* Id.

## PARAMS

pol **\[In\]**  Policy Id.

## RETURNS

The queried value for the *policy*.

## NOTES

Exported by ordinal. This function caches the retrieved values to prevent unnecessary registry access, if **[SHInitRestricted(3w)](/SHInitRestricted/3w.md)** was previously called.

## REFERENCES

**a:** Microsoft(tm) System Policy Editor.

**b:** 98Lite **2.0** (which uses many of these *policy* keys) http://www.98lite.net/

**c:** 'The Windows(tm) **95** Registry', by John Woram, **1996** MIS: Press

## IMPLEMENTATION

Declared in **"shlobj.h"**.

Implemented in **"dlls/shell32/shpolicy.c"**.

Debug channel **"shell"**.
