IWICImagingFactory_CreateDecoderFromFilename_Proxy function
Proxy function for the CreateDecoderFromFilename method.
Syntax
HRESULT IWICImagingFactory_CreateDecoderFromFilename_Proxy(
_In_ IWICImagingFactory *pFactory,
_In_ LPCWSTR wzFilename,
_In_ const GUID *pguidVendor,
_In_ DWORD dwDesiredAccess,
_In_ WICDecodeOptions metadataOptions,
_Out_ IWICBitmapDecoder **ppIDecoder
);
Parameters
- pFactory [in]
-
Type: IWICImagingFactory *
- wzFilename [in]
-
Type: LPCWSTR
A pointer to a null-terminated string that specifies the name of an object to create or open.
- pguidVendor [in]
-
Type: const GUID*
The vendor GUID for the decoder.
- dwDesiredAccess [in]
-
Type: DWORD
The access to the object, which can be read, write, or both.
For more information, see File Security and Access Rights [Files].
- metadataOptions [in]
-
Type: WICDecodeOptions
The WICDecodeOptions to use when creating the decoder.
- ppIDecoder [out]
-
Type: IWICBitmapDecoder**
A pointer that receives a pointer to the new IWICBitmapDecoder.
Return value
Type: HRESULT
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
DLL |
|