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