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.
Note This topic applies to Windows XP Service Pack 1 or later.
The DVDNotify event notifies an application of many different DVD events and disc instructions.
VidWebDVD_DVDNotify(
ByVal lEventCode As Long,
ByVal lParam1 As Variant,
ByVal lParam2 As Variant
)
Parameters
lEventCode
Long containing the event code.lParam1
Long that can contain additional information for this event.lParam2
Long that can contain additional information for this event.
Return Value
This method does not return a value.
Remarks
The DVD Navigator filter and other filters in the filter graph send a variety of notification codes about the state of the disc and the file that can be captured with this event. These codes are often accompanied by parameters that hold additional information. See DVD Event Notification Codes for more information about the event codes and their parameters.
A good use of this feature is to capture ___domain changes to disable unavailable features for the new ___domain. If using this method, be aware that the DVD does not send a ___domain change method on startup.
Examples
Private Sub oVidWebDVD_DVDNotify(
ByVal lEventCode As Long, ByVal lParam1 As Variant, ByVal lParam2 As Variant
)
Select Case lEventCode
Case 280 ' EC_DVD_DISC_EJECTED.
MsgBox "Disc ejected!"
Case 257 ' EC_DVD_DOMAIN_CHANGE.
Select Case lParam1
Case 1
' First play ___domain.
Case 2
' Video manager set ___domain.
Case 3
' Video title set ___domain.
Case 4
' Title ___domain.
Case 5
' Stop ___domain.
End Select
' Handle other messages...
End Select
End Sub
Requirements
Type Library |
MS Video Control 1.0 Type Library and Microsoft Tuner 1.0 Type Library |
DLL |
Quartz.dll |
See Also
Handling DVD Event Notifications
Send comments about this topic to Microsoft
Build date: 7/6/2010