IAudioEndpointFormatControl::ResetToDefault Method

[This documentation is preliminary and is subject to change.]
The ResetToDefault method resets the device format to the default setting provided by the device manufacturer.

Syntax


HRESULT ResetToDefault(
  [in]  DWORD ResetFlags
);

Parameters

ResetFlags [in]

Combination of DWORDs that specifies the device formats to reset. If the application passes zero, then ResetToDefault evaluates the endpoint's device format and the mix format and sets them to their default values. If the ENDPOINT_FORMAT_RESET_MIX_ONLY flag is specified, only the mix format is reset; the device format is not reset.

Return Value

If the method succeeds, it returns S_OK.

Requirements

ClientRequires Windows 7.
HeaderDeclared in EndpointVolume.h.

See Also

IAudioEndpointFormatControl


Send comments about this topic to Microsoft

Build date: 12/17/2008

Community Additions

Show: