Windows Media Format SDK banner art
PreviousNext

IWMDMDeviceControl::Stop

The Stop method ends the current play or record session.

Syntax

HRESULT Stop();

Parameters

This method takes no parameters.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.

Return code Description
S_FALSE The device is not currently playing or recording.
WMDM_E_NOTSUPPORTED The stop function is not implemented on this device.
E_FAIL An unspecified error occurred.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.