IWICBitmapFrameEncode_SetResolution_Proxy function

Proxy function for the SetResolution method.

Syntax

HRESULT IWICBitmapFrameEncode_SetResolution_Proxy(
  _In_ IWICBitmapFrameEncode *THIS_PTR,
  _In_ double                dpiX,
  _In_ double                dpiY
);

Parameters

THIS_PTR [in]

Type: IWICBitmapFrameEncode*

Pointer to this IWICBitmapFrameEncode object.

dpiX [in]

Type: double

The horizontal resolution value.

dpiY [in]

Type: double

The vertical resolution value.

Return value

Type: HRESULT

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Requirements

Requirement Value
Minimum supported client
Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
DLL
Windowscodecs.dll;
Wincodec.lib