Share via


IDVDRenderer::SetSubpictureStreamNumber (Windows CE 5.0)

Send Feedback

This method sets the decoding stream number for a subpicture.

HRESULT SetSubpictureStreamNumber(intiDecodingNumber,BOOL bDisplay);

Parameters

  • iDecodingNumber
    [in] Can be set to a valid audio stream number or –1 to discard the subpicture stream.
  • bDisplay
    [in] Value indicating if the currently selected audio stream should be displayed. This value is meaningless if iDecodingNumber is set to -1, however, Microsoft does not dictate how a driver should handle this scenario. Your driver may choose to save the value of bDisplay, even if iDecodingNumber is set to -1, so that if a user then sets a valid audio stream, the saved display value will apply to the new stream.

Return Values

The following table shows a list of possible return values.

Return value Description
S_OK The request completed successfully.
E_INVALIDARG An invalid argument was encountered.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvddrvr.idl.

See Also

IDVDRenderer:IUnknown

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.