Share via


IDVDROM::Unbind (Windows Embedded CE 6.0)

1/6/2010

This method clears the path saved by IDVDROM::Bind.

Syntax

HRESULT Unbind(void);

Parameters

None.

Return Value

This method always returns S_OK.

Remarks

Make sure the navigation manager is in the DVD_STOPPED state before you call IDVDROM::Unbind.

Your application will crash if you attempt to unbind a DVD volume while the volume is playing.

In the DVD-Video API architecture, the DVDData and DVDNavigationManager objects maintain their own independent states and rely on the application to monitor state changes and take appropriate actions.

Your application can monitor the playback state through an EDDVDPlaybackState variable returned by the IDVDNavigationManager::GetPlaybackState and IDVDNavigatorSink::OnPlaybackStateChange methods.

Requirements

Header Dvddata.h
Library Ddvduuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDROM
IDVDROM::Bind
EDDVDPlaybackState
IDVDNavigationManager::GetPlaybackState
IDVDNavigatorSink::OnPlaybackStateChange