SoundWriteRegistryDWORD

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.

Parameters

RegistryPath

Pointer to full path to a registry key.

ValueName

Pointer to a value name string.

Value

Value to assign to ValueName. The value is stored as a REG_DWORD type.

Return Value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise returns an NTSTATUS error code.