Previous | Next |
The GetInputProps method retrieves the media properties of an input stream, if an index is specified.
Syntax
HRESULT GetInputProps(
DWORD dwInputNum,
IWMInputMediaProps** ppInput
);
Parameters
dwInputNum
[in] Double word containing the input index number.
ppInput
[out] Pointer to a pointer to an IWMInputMediaProps object.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
E_INVALIDARG | The dwInputNum value is greater than the highest index number. |
Remarks
The range of indices to use for the dwInputNum parameter can be found by calling GetInputCount.
See Also
Previous | Next |