Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IActivateAudioInterfaceCompletionHandler::ActivateCompleted method

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

Syntax


HRESULT ActivateCompleted(
  [in] IActivateAudioInterfaceAsyncOperation *activateOperation
);

Parameters

activateOperation [in]

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 codeDescription
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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

IDL

Mmdeviceapi.idl

See also

IActivateAudioInterfaceCompletionHandler
ActivateAudioInterfaceAsync

 

 

Show:
© 2017 Microsoft