Create a definition for a parameter that is accessible thru IMediaParamInfo and IMediaParams.
Parameters
- iParamNum
- Zero based parameter number to set the definition for
- p
- Populated ParamInfo struct
- sText
- Format string (described in MSDN under IMediaParamInfo::GetParamText)
Remarks
This method should be called from the constructor of the class that implements IMediaObjectImpl. It defines a single parameter that can be set on the DMO. You must call it once for each of the parameters defined in the call to the IMediaObjectImpl constructor. This allows for automatic support of the IMediaParamInfo and IMediaParams methods. See the ParamCalcValueForTime for additional details.