Reference

SHInitRestricted(3w)

NAME

SHInitRestricted (SHELL32.244)

SYNOPSIS

BOOL SHInitRestricted
(
LPCVOID unused,
LPCVOID inpRegKey
)

DESCRIPTION

Initialise the policy cache to speed up calls to SHRestricted(3w).

PARAMS

unused [In] Reserved.

inpRegKey [In] Registry key to scan.

RETURNS

Success: -1. The policy cache is initialised.

Failure: 0, if inpRegKey is any value other than NULL, "Policy", or "SoftwarecrosoftWindows

NOTES

Exported by ordinal. Introduced in Win98.

IMPLEMENTATION

Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.

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

Debug channel "shell".

History