Gets the LEAD Bitmap Encoder progressive options friendly name for a particular progressive option value.
HRESULT GetProgressiveOptionsFriendlyName( INT nProgressiveOption, UINT cchFriendlyName, INT WCHAR *pwzFriendlyName, INT UINT *pcchActual );
- nProgressiveOption
- [in] A value that specifies a progressive option.
- cchFriendlyName
- [in] The size of the pwzFriendlyName buffer.
- pwzFriendlyName
- [in,out] A pointer that receives the friendly name of the component.
- pcchActual
- [out] A pointer that receives the actual length of the component's friendly name.
Returns S_OK if successful, or an error value otherwise.
Use this method to get a user-readable string representation of a progressive option. Call the GetSubFormatFlags method to determine if a LEAD Bitmap Encoder supports progressive save options. Call GetProgressiveOptions to get the list of valid progressive options values. Call GetProgressiveOptionsFriendlyName once to get the length of the friendly name. Allocate the appropriately sized array. Then call GetProgressiveOptionsFriendlyName again, passing the allocated array as an argument. The example illustrates this technique.
For more information on progressive saves, refer to the GetSubFormatFlags method.
See the example for IWICLeadBitmapEncoder::GetProgressiveOptions
LEAD WIC-Enabled Codecs Overview
Registering a LEAD WIC-Enabled Codec
WICLeadEnumName