IDvdState interface

The IDvdState interface caches the current state.

The object that implements this interface is called a DVD bookmark. You can use it to save and restore the DVD state, which includes the playback location, the user's parental level, and the DVD region.


The IDvdState interface inherits from the IUnknown interface. IDvdState also has these types of members:


The IDvdState interface has these methods.


Gets the unique identifier (ID) of the disc from which the bookmark was made.


Retrieves the user's parental level as saved in the DvdState object.



To get the current DVD state information from the DVD Navigator, call IDvdInfo2::GetState. To restore the state, call IDvdControl2::SetState.

The DVD bookmark object also implements IPersistStream and IPersistMemory. You can use these interfaces to persist the state. You can also create an empty bookmark object by calling CoCreateInstance. The object's CLSID is CLSID_DVDState, defined in uuids.h.

Prior to Windows Vista, a bookmark can be used only on the same computer where it was created. Starting in Windows Vista, the DVD Navigator is able to create bookmarks that can be used other computers. To enable this feature, call IDvdControl2::SetOption with the DVD_EnablePortableBookmarks flag, before calling GetState or SetState.


Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]


Strmif.h (include Dshow.h)



See also

DVD Applications