|Microsoft DirectX 9.0|
This topic applies to Windows XP Service Pack 1 only.
The CurrentSubpictureStream property sets or retrieves the current subpicture stream.
VidWebDVD.CurrentSubpictureStream As Long
This property takes no parameters.
This property returns a Long indicating the current subpicture stream number. Possible values include the following.
|63||Muted low-bitrate stream|
If the property fails, Err.Number may be set to one of the following values.
|CO_E_NOTINITIALIZED||The graph has not been built.|
|VFW_E_DVD_INVALIDDOMAIN||You attempted to take the value in a domain that does not support this property.|
|VFW_E_DVD_OPERATION_INHIBITED||This user operation is prevented by UOP command.|
|E_INVALIDARG||Invalid stream number entered.|
This property is read/write and defaults to 0 (zero). Before setting a new subpicture stream, call IsSubpictureStreamEnabled to verify that the stream is available.
Setting this property causes the SubpictureOn property to toggle to True.
' Setting the property. VidWebDVD.CurrentSubpictureStream = lNewStream ' Returning the property. lCurrStream = VidWebDVD.CurrentSubpictureStream
The following table shows the Annex J command name to which this method name corresponds, and the domains in which this method is valid.
|Annex J Command Name||Valid Domains|