IAudioClient2::IsOffloadCapable method

The IsOffloadCapable method retrieves information about whether or not the endpoint on which a stream is created is capable of supporting an offloaded audio stream.

Syntax


HRESULT IsOffloadCapable(
  [in]   AUDIO_STREAM_CATEGORY Category,
  [out]  BOOL *pbOffloadCapable
);

Parameters

Category [in]

An enumeration that specifies the category of an audio stream.

pbOffloadCapable [out]

A pointer to a Boolean value. TRUE indicates that the endpoint is offload-capable. FALSE indicates that the endpoint is not offload-capable.

Return value

The IsOffloadCapable method returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Audioclient.h

See also

AUDIO_STREAM_CATEGORY
IAudioClient2

 

 

Community Additions

ADD
Show:
© 2014 Microsoft