Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Previous | Next |
IWMPDVD::get_domain
The get_domain method retrieves the current domain of the DVD.
Syntax
Parameters
strDomain
[out] Pointer to a BSTR that contains one of the following values.
Value | Description |
firstPlay | Performing default initialization of a DVD disc. |
videoManagerMenu | Displaying menus for the entire disc. Also known as topMenu for Windows Media Player. Commonly called the title menu or the top menu. |
videoTitleSetMenu | Displaying menus for current title set. Also known as titleMenu for Windows Media Player. Commonly called the root menu. |
title | Usually displaying the current title. |
stop | The DVD Navigator is in the DVD Stop domain. |
undefined | Windows Media Player is not in any DVD domain. |
Return Values
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
S_OK | The method succeeded. |
Remarks
Every DVD is authored differently. Some DVDs do not contain the firstPlay, videoManagerMenu, or videoTitleSetMenu domains.
Windows Media Player 10 Mobile: This method always retrieves a BSTR containing an empty string.
Requirements
Version: Windows Media Player 9 Series or later.
Header: Include wmp.h.
Library: Use wmp.dll.
Platform: Windows XP or later.
See Also
Previous | Next |