Reference

SHGetRestriction(3w)

NAME

SHGetRestriction (SHLWAPI.271)

SYNOPSIS

DWORD SHGetRestriction
(
LPCWSTR lpSubKey,
LPCWSTR lpSubName,
LPCWSTR lpValue
)

DESCRIPTION

Retrieve a policy value from the registry.

PARAMS

lpSubKey [In] registry key name.

lpSubName [In] subname of registry key.

lpValue [In] value name of registry value.

RETURNS

the value associated with the registry key or 0 if not found

IMPLEMENTATION

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

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".

History