IMFMediaEngineSrcElements::GetType method
Gets the MIME type of an element in the list.
Syntax
HRESULT GetType(
[in] DWORD index,
[out] BSTR *pType
);
Parameters
- index [in]
-
The zero-based index of the source element. To get the number of source elements, call IMFMediaEngineSrcElements::GetLength.
- pType [out]
-
Receives a BSTR that contains the MIME type. The caller must free the BSTR by calling SysFreeString. If no MIME type is set, this parameter receives the value NULL.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also