DWORD
VC_ReadProfile(
PVC_PROFILE_INFO pProfile,
PWCHAR ValueName,
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. If the ValueName string does not exist in the registry, cannot be accessed, or is not a REG_DWORD type, 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 VCKernel.lib for kernel-mode video capture drivers. To see that function’s description, click here.
VC_ReadProfileString, VC_ReadProfileUser, VC_WriteProfile, VC_WriteProfileUser