BOOL
VC_WriteProfile(
PVC_PROFILE_INFO pProfile,
PWCHAR ValueName,
DWORD Value
);
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.
If the \Parameters subkey does not exist, it is created. If the specified value name does not exist under the \Parameters subkey, it is created.
To read values from a driver’s \Parameters registry key, call VC_ReadProfile.
Note: A function named VC_WriteProfile is also provided by VCKernel.lib for kernel-mode video capture drivers. To see that function’s description, click here.
VC_ReadProfile, VC_ReadProfileString, VC_ReadProfileUser, VC_WriteProfileUser