.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHInitRestricted 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHInitRestricted\fR (SHELL32.244) .SH SYNOPSIS BOOL SHInitRestricted ( LPCVOID \fIunused\fR, LPCVOID \fIinpRegKey\fR ) .SH DESCRIPTION .PP Initialise the policy cache to speed up calls to \fBSHRestricted(3w)\fR. .SH PARAMS \fIunused\fR \fB[In]\fR Reserved. .PP \fIinpRegKey\fR \fB[In]\fR Registry key to scan. .PP .SH RETURNS .PP \fBSuccess:\fR \fB-1.\fR The policy cache is initialised. .PP \fBFailure:\fR \fB0\fR, if \fIinpRegKey\fR is any value other than \fBNULL\fR, \fB"Policy"\fR, or \fB"Software\Microsoft\Windows\CurrentVersion\Policies"\fR. .SH NOTES .PP Exported by ordinal. Introduced in Win98. .SH IMPLEMENTATION .PP Exported by ordinal only. Use \fBGetProcAddress(3w)\fR to obtain a pointer to the function. .PP Implemented in \fB"dlls/shell32/shpolicy.c"\fR. .PP Debug channel \fB"shell"\fR.