|Microsoft DirectX 9.0|
The GetSPRM method retrieves the specified system parameter register.
[ iSPRM = ] MSWebDVD.GetSPRM(iIndex);
Specifies the register whose value you want to retrieve as an Integer. The Integer must range from 0 through 23.
Returns an integer value representing the contents of the specified register.
The disc controls system parameter registers (SPRMs). A player application doesn't need to access these registers for any standard navigation functionality. SPRMs represent the status of the player. Each one has a meaning, set by user preferences, disc commands, and other occurrences that an application has no direct control over. An application can read these registers but cannot write to them. To use these registers effectively, you will probably need a more detailed knowledge of the DVD navigation commands than is provided in this documentation. The following table shows the contents of each register. For more detailed information on the register contents, see IDvdInfo2::GetAllSPRMs
|0||Menu language code|
|1||Audio stream number|
|2||Subpicture stream number|
|3||Current angle number|
|4||Current title number|
|7||Current chapter number (PTT)|
|8||Highlighted button number|
|10||PGC jump for nav. timer|
|11||Karaoke audio presentation mode|
|12||PML country/region code|
|17||Audio language extension|
|19||Subpicture language extension|
|20||Player region code|