[Deprecated. This API may be removed from future releases of Windows.]
get_StreamType method retrieves the globally unique identifier (GUID) for the media type of the current stream.
HRESULT get_StreamType( [out, retval] GUID *pVal );
pVal [out, retval]
Receives the major type GUID for the media type.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method retrieves the majortype member of the AM_MEDIA_TYPE structure. The AM_MEDIA_TYPE structure describes the format of the stream, and the majortype member is a GUID that indicates the general category, such as audio or video. For a video stream, the GUID is MEDIATYPE_Video. For audio, it is MEDIATYPE_Audio. To retrieve the entire AM_MEDIA_TYPE structure, call the IMediaDet::get_StreamMediaType method.
If the media detector is in bitmap grab mode, this method returns E_INVALIDARG. For more information, see IMediaDet::EnterBitmapGrabMode.
The header file Qedit.h is not compatible with Direct3D headers later than version 7.
To obtain Qedit.h, download the Microsoft Windows SDK Update for Windows Vista and .NET Framework 3.0. Qedit.h is not available in the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1.