次の方法で共有


ISBE2MediaTypeProfile::AddStream method (sbe.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Adds a stream to a media type profile.

Syntax

HRESULT AddStream(
  [in] AM_MEDIA_TYPE *pMediaType
);

Parameters

[in] pMediaType

Pointer to an AM_MEDIA_TYPE structure that specifies the media type of the stream that is added to the profile.

Return value

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
Invalid parameter.

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header sbe.h
DLL Sbe.dll

See also

AM_MEDIA_TYPE

ISBE2MediaTypeProfile