IDVDROM::Unbind

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

HRESULT Unbind(void);

Parameters

None.

Return Values

This method always returns S_OK.

Remarks

You must make sure that 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 still 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

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvddata.h.
Link Library: Ddvduuid.lib.

See Also

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.