UOPValid Method
Microsoft DirectShow 9.0 |
UOPValid Method
This component is available for use in the Microsoft Windows 2000, Windows XP, and Windows Server 2003 operating systems. It may be altered or unavailable in subsequent versions.
The UOPValid method retrieves a value that indicates whether the specified user operation (UOP) is currently valid.
Syntax
[ bIsValid = ] MSWebDVD.UOPValid(iUOP);
Parameters
iUOP
Specifies the user operation (UOP) as an Integer.
Value | Description |
0 | PlayTitle, PlayAtTime PlayAtTimeInTitle |
1 | PlayChapter |
2 | PlayTitle |
3 | Stop |
4 | ReturnFromSubmenu |
5 | PlayChapter |
6 | PlayPrevChapter, ReplayChapter |
7 | PlayNextChapter |
8 | PlayForwards |
9 | PlayBackwards |
10 | ShowMenu with a parameter value of 2 (DVD_MENU_Title) |
11 | ShowMenu with a parameter value of 3 (DVD_MENU_Root) |
12 | ShowMenu with a parameter value of 4 (DVD_MENU_Subpicture) |
13 | ShowMenu with a parameter value of 5 (DVD_MENU_Audio) |
14 | ShowMenu with a parameter value of 6 (DVD_MENU_Angle) |
15 | ShowMenu with a parameter value of 7 (DVD_MENU_Chapter) |
16 | Resume |
17 | SelectLeftButton, SelectRightButton,SelectUpperButton,SelectLowerButton |
18 | StillOff |
19 | Pause |
20 | CurrentAudioStream |
21 | CurrentSubpictureStream |
22 | CurrentAngle, SelectParentalLevel |
23 | KaraokeAudioPresentationMode |
24 | Select video mode preference. |
Return Values
Returns a Boolean value indicating whether the specified operation is permitted by UOP control.