DWORD
VC_ReadProfile(
PDEVICE_INFO pDevInfo,
PWCHAR szValueName,
DWORD dwDefault
);
The VC_ReadProfile function reads the DWORD value associated with the specified value name, under the driver’s \Parameters registry key.
Returns the value assigned to the ValueName string, if the operation succeeds. Otherwise the function returns the value specified by dwDefault.
The value name and value are read from the registry path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DriverName\Parameters, where DriverName is the driver name specified as input to VC_OpenProfileAccess.
To store values under a driver’s \Parameters registry key, call VC_WriteProfile.
Note: A function named VC_ReadProfile is also provided by VCUser.lib for user-mode video capture drivers. To see that function’s description, click here.