UOPValid Method

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Note

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.

[ bIsValid = ] MSWebDVD.UOPValid(iUOP)

Parameters

iUOP

Specifies the user operation (UOP) as an Integer.

Value Description
0 PlayTitle, PlayAtTimePlayAtTimeInTitle
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 Value

Returns a Boolean value indicating whether the specified operation is permitted by UOP control.

Requirements

Requirement Value
Header
Segment.h