Indicates that activation of a WASAPI interface is complete and results are available.
public:
HRESULT ActivateCompleted(
IActivateAudioInterfaceAsyncOperation *activateOperation
)
activateOperation
Type: IActivateAudioInterfaceAsyncOperation *
[in] An interface representing the asynchronous operation of activating the requested WASAPI interface
Type: HRESULTÂ
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. |
Refer to WASAPI error codes.
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.
Header: Declared in mmdeviceapi.h.
Library: Use MMDevApi.lib.