Share via


IWMDMDeviceControl::Stop (deprecated)

banner art

This is preliminary documentation and subject to change.

This topic documents a feature of the Windows Media Device Manager SDK. We recommend that you migrate your application to use the Windows Portable Devices API. For more information, see the Windows Portable Devices SDK.

The Stop method stops the current record or play operation.

Syntax

HRESULT Stop();

Parameters

This method takes no parameters.

Return Values

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

Return code Description
S_OK The method succeeded.
E_BUSY The device is busy.
WMDM_E_NOTSUPPORTED The stop function is not implemented on this device.
E_FAIL An unspecified error occurred.

Requirements

Header: Defined in mswmdm.h.

Library: mssachlp.lib

See Also