Compartilhar via


IAudioLoudness::GetEnabled

Previous Next

IAudioLoudness::GetEnabled

The GetEnabled method gets the current state (enabled or disabled) of the loudness control.

HRESULT GetEnabled(
  BOOL  *pbEnabled
);

Parameters

pbEnabled

[out] Pointer to a BOOL variable into which the method writes the current loudness state. If the state is TRUE, loudness is enabled. If FALSE, loudness is disabled.

Return Value

If the method succeeds, it returns S_OK. If it fails, possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
E_POINTER Pointer pbEnabled is NULL.

Requirements

Client: Windows Vista

Header: Include Devicetopology.h.

See Also

Previous Next