SoundSetErrorCode

NTSTATUS
   SoundSetErrorCode(
       IN PWSTR
RegistryPath,
       IN ULONG
Value
       );

The SoundSetErrorCode function assigns a value to the “Configuration Error” value name in the specified registry path.

Parameters

RegistryPath

Pointer to a full path to a registry key.

Value

Value to set. The value is stored in the registry as a REG_DWORD type.

Return Value

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