IActivateAudioInterfaceCompletionHandler::ActivateCompleted method (mmdeviceapi.h)

Indicates that activation of a WASAPI interface is complete and results are available.

Syntax

HRESULT ActivateCompleted(
  [in] IActivateAudioInterfaceAsyncOperation *activateOperation
);

Parameters

[in] activateOperation

An interface representing the asynchronous operation of activating the requested WASAPI interface

Return value

The function returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK
The function succeeded.

Remarks

An application implements this method if it calls the ActivateAudioInterfaceAsync function. When Windows calls this method, the results of the activation are available. The application can then retrieve the results by calling the GetActivateResult method of the IActivateAudioInterfaceAsyncOperation interface, passed through the activateOperation parameter.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header mmdeviceapi.h

See also

ActivateAudioInterfaceAsync

IActivateAudioInterfaceCompletionHandler