<summary>
Creates a rendering parameters object with the specified properties.
</summary>
<param name="gamma">The gamma value used for gamma correction, which must be greater than zero and cannot exceed 256.</param>
<param name="enhancedContrast">The amount of contrast enhancement, zero or greater.</param>
<param name="clearTypeLevel">The degree of ClearType level, from 0.0f (no ClearType) to 1.0f (full ClearType).</param>
<param name="pixelGeometry">The geometry of a device pixel.</param>
<param name="renderingMode">Method of rendering glyphs. In most cases, this should be DWRITE_RENDERING_MODE_DEFAULT to automatically use an appropriate mode.</param>
<param name="renderingParams">Holds the newly created rendering parameters object, or NULL in case of failure.</param>
<returns>
Standard HRESULT error code.
</returns>
<summary> Creates a rendering parameters object with the specified properties. </summary> <param name="gamma">The gamma value used for gamma correction, which must be greater than zero and cannot exceed 256.</param> <param name="enhancedContrast">The amount of contrast enhancement, zero or greater.</param> <param name="clearTypeLevel">The degree of ClearType level, from 0.0f (no ClearType) to 1.0f (full ClearType).</param> <param name="pixelGeometry">The geometry of a device pixel.</param> <param name="renderingMode">Method of rendering glyphs. In most cases, this should be DWRITE_RENDERING_MODE_DEFAULT to automatically use an appropriate mode.</param> <param name="renderingParams">Holds the newly created rendering parameters object, or NULL in case of failure.</param> <returns> Standard HRESULT error code. </returns>