IMediaParamInfo::GetParamInfo method
The GetParamInfo method retrieves information about a specified parameter.
Syntax
HRESULT GetParamInfo(
DWORD dwParamIndex,
MP_PARAMINFO *pInfo
);
Parameters
dwParamIndex
Zero-based index of the parameter.
pInfo
Pointer to an MP_PARAMINFO structure that is filled with the parameter information.
Return value
Returns an HRESULT value. Possible values include the following.
| Return code | Description |
|---|---|
|
Index out of range. |
|
NULL pointer argument. |
|
Success. |
Remarks
Call the GetParamCount method to retrieve the number of parameters that the object supports.
Requirements
| Target Platform | Windows |
| Header | medparam.h |
| Library | Dmoguids.lib |