NTSTATUS
SoundWriteRegistryDWORD(
IN PCWSTR RegistryPath,
IN PCWSTR ValueName,
IN ULONG Value
);
The SoundWriteRegistryDWORD function assigns the specified value to the specified value name in the registry, at the specified registry key.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise returns an NTSTATUS error code.