Previous | Next |
The SetInputProps method specifies the media properties of an input stream.
Syntax
HRESULT SetInputProps(
DWORD dwInputNum,
IWMInputMediaProps* pInput
);
Parameters
dwInputNum
[in] Double word containing the input number.
pInput
[in] 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 | dwInputNum is greater than the highest index number. |
E_OUTOFMEMORY | There is not enough available memory. |
E_UNEXPECTED | The method failed for an unspecified reason. |
Remarks
Manipulating the IWMInputMediaProps object has no effect on the writer, unless the user calls this method to configure the input.
See Also
Previous | Next |