IWICImagingFactory_CreateDecoderFromFileHandle_Proxy function

Proxy function for the CreateDecoderFromFileHandle method.

Syntax

HRESULT IWICImagingFactory_CreateDecoderFromFileHandle_Proxy(
  _In_        IWICImagingFactory *pFactory,
  _In_        ULONG_PTR          hFile,
  _In_  const GUID               *pguidVendor,
  _In_        WICDecodeOptions   metadataOptions,
  _Out_       IWICBitmapDecoder  **ppIDecoder
);

Parameters

pFactory [in]

Type: IWICImagingFactory*

hFile [in]

Type: ULONG_PTR

The file handle to create the decoder from.

pguidVendor [in]

Type: const GUID*

The vendor GUID for the decoder.

metadataOptions [in]

Type: WICDecodeOptions

The WICDecodeOptions to use when creating the decoder.

ppIDecoder [out]

Type: IWICBitmapDecoder**

A pointer that receives a pointer to a new IWICBitmapDecoder.

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