VC_WriteProfileUser

BOOL
VC_WriteProfileUser(
   PVC_PROFILE_INFO
pProfile,
   PWCHAR
ValueName,
   DWORD
Value
  
);

The VC_WriteProfileUser function assigns the specified DWORD value to the specified value name, under the user’s profile information in the registry.

Parameters

pProfile

Address of the VC_PROFILE_INFO structure returned by VC_OpenProfileAccess.

ValueName

Pointer to a UNICODE string identifying the name of a registry value.

Value

Value to be assigned to ValueName in the registry.

Return Value

Returns TRUE if the operation succeeds. Otherwise returns FALSE.

Comments

The value name and value are written to the registry path HKEY_CURRENT_USER \Software \Microsoft \Multimedia \Video Capture \DriverName, where DriverName is the driver name specified as input to VC_OpenProfileAccess. If the specified value name does not exist, it is created.

To read values from this registry key, call VC_ReadProfileUser.

See Also

VC_ReadProfile, VC_ReadProfileString, VC_ReadProfileUser, VC_WriteProfile