.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH SHRestrictionLookup 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBSHRestrictionLookup\fR (SHLWAPI.266) .SH SYNOPSIS DWORD SHRestrictionLookup ( DWORD \fIpolicy\fR, LPCWSTR \fIinitial\fR, LPPOLICYDATA \fIpolTable\fR, LPDWORD \fIpolArr\fR ) .SH DESCRIPTION .PP Helper function to retrieve the possibly cached value for a specific \fIpolicy\fR. .SH PARAMS \fIpolicy\fR \fB[In]\fR The \fIpolicy\fR to look for. .PP \fIinitial\fR \fB[In]\fR Main registry key to open, if \fBNULL\fR use default. .PP \fIpolTable\fR \fB[In]\fR Table of known policies, \fB0\fR terminated. .PP \fIpolArr\fR \fB[In]\fR Cache array of \fIpolicy\fR values. .PP .SH RETURNS .PP The retrieved \fIpolicy\fR value or \fB0\fR if not successful. .SH NOTES .PP This function is used by the native SHRestricted function to search for the \fIpolicy\fR and cache it once retrieved. The current Wine implementation uses a different \fBPOLICYDATA\fR structure and implements a similar algorithm adapted to that structure. .SH IMPLEMENTATION .PP Exported by ordinal only. Use \fBGetProcAddress(3w)\fR to obtain a pointer to the function. .PP Implemented in \fB"dlls/shlwapi/ordinal.c"\fR. .PP Debug channel \fB"shell"\fR.