SHRestrictionLookup3w
Usage
DWORD SHRestrictionLookup
(
DWORD policy,
LPCWSTR initial,
LPPOLICYDATA polTable,
LPDWORD polArr
)
Overview
Helper function to retrieve the possibly cached value for a specific policy.
Params
policy [In] The policy to look for.
initial [In] Main registry key to open, if NULL use default.
polTable [In] Table of known policies, 0 terminated.
polArr [In] Cache array of policy values.
Returns
The retrieved policy value or 0 if not successful.
Notes
This function is used by the native SHRestricted function to search for the policy and cache it once retrieved. The current Wine implementation uses a different POLICYDATA structure and implements a similar algorithm adapted to that structure.
Implementation
Exported by ordinal only. Use GetProcAddress(3w) to obtain a pointer to the function.
Implemented in "dlls/shlwapi/ordinal.c".
Debug channel "shell".
Releases
4 releases since Debian 4.0 (Etch); the text changed 3 times.