Windows Media Format SDK banner art
PreviousNext

IWMDMDeviceControl::Pause

The Pause method pauses the play or record session at the current position within the content.

Syntax

HRESULT Pause();

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 already paused.
WMDM_E_NOTSUPPORTED The pause function is not implemented on this device.
E_FAIL An unspecified error occurred.

Remarks

The current playback or record session is paused and the current file position is retained. A subsequent call to the Resume method will restart the play or record operation at the retained file position.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.