pValue (PVOID) - in/out
If this parameter is NULL, only the length of the value of the setting is returned.