IWICImagingFactoryVtbl

Struct IWICImagingFactoryVtbl 

Source
#[repr(C)]
pub struct IWICImagingFactoryVtbl {
Show 26 fields pub parent: IUnknownVtbl, pub CreateDecoderFromFilename: unsafe extern "system" fn(This: *mut IWICImagingFactory, wzFilename: LPCWSTR, pguidVendor: *const GUID, dwDesiredAccess: DWORD, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT, pub CreateDecoderFromStream: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIStream: *const IStream, pguidVendor: *const GUID, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT, pub CreateDecoderFromFileHandle: unsafe extern "system" fn(This: *mut IWICImagingFactory, hFile: ULONG_PTR, pguidVendor: *const GUID, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT, pub CreateComponentInfo: unsafe extern "system" fn(This: *mut IWICImagingFactory, clsidComponent: REFCLSID, ppIInfo: *mut *mut IWICComponentInfo) -> HRESULT, pub CreateDecoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidContainerFormat: REFGUID, pguidVendor: *const GUID, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT, pub CreateEncoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidContainerFormat: REFGUID, pguidVendor: *const GUID, ppIEncoder: *mut *mut IWICBitmapEncoder) -> HRESULT, pub CreatePalette: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIPalette: *mut *mut IWICPalette) -> HRESULT, pub CreateFormatConverter: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIFormatConverter: *mut *mut IWICFormatConverter) -> HRESULT, pub CreateBitmapScaler: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapScaler: *mut *mut IWICBitmapScaler) -> HRESULT, pub CreateBitmapClipper: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapClipper: *mut *mut IWICBitmapClipper) -> HRESULT, pub CreateBitmapFlipRotator: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapFlipRotator: *mut *mut IWICBitmapFlipRotator) -> HRESULT, pub CreateStream: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICStream: *mut *mut IWICStream) -> HRESULT, pub CreateColorContext: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICColorContext: *mut *mut IWICColorContext) -> HRESULT, pub CreateColorTransformer: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICColorTransform: *mut *mut IWICColorTransform) -> HRESULT, pub CreateBitmap: unsafe extern "system" fn(This: *mut IWICImagingFactory, uiWidth: UINT, uiHeight: UINT, pixelFormat: REFWICPixelFormatGUID, option: WICBitmapCreateCacheOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateBitmapFromSource: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIBitmapSource: *const IWICBitmapSource, option: WICBitmapCreateCacheOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateBitmapFromSourceRect: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIBitmapSource: *const IWICBitmapSource, x: UINT, y: UINT, width: UINT, height: UINT, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateBitmapFromMemory: unsafe extern "system" fn(This: *mut IWICImagingFactory, uiWidth: UINT, uiHeight: UINT, pixelFormat: REFWICPixelFormatGUID, cbStride: UINT, cbBufferSize: UINT, pbBuffer: *const BYTE, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateBitmapFromHBITMAP: unsafe extern "system" fn(This: *mut IWICImagingFactory, hBitmap: HBITMAP, hPalette: HPALETTE, options: WICBitmapAlphaChannelOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateBitmapFromHICON: unsafe extern "system" fn(This: *mut IWICImagingFactory, hIcon: HICON, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT, pub CreateComponentEnumerator: unsafe extern "system" fn(This: *mut IWICImagingFactory, componentTypes: DWORD, options: DWORD, ppIEnumUnknown: *mut *mut IEnumUnknown) -> HRESULT, pub CreateFastMetadataEncoderFromDecoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIDecoder: *const IWICBitmapDecoder, ppIFastEncoder: *mut *mut IWICFastMetadataEncoder) -> HRESULT, pub CreateFastMetadataEncoderFromFrameDecode: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIFrameDecoder: *const IWICBitmapFrameDecode, ppIFastEncoder: *mut *mut IWICFastMetadataEncoder) -> HRESULT, pub CreateQueryWriter: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidMetadataFormat: REFGUID, pguidVendor: *const GUID, ppIQueryWriter: *mut *mut IWICMetadataQueryWriter) -> HRESULT, pub CreateQueryWriterFromReader: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIQueryReader: *const IWICMetadataQueryReader, pguidVendor: *const GUID, ppIQueryWriter: *mut *mut IWICMetadataQueryWriter) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§CreateDecoderFromFilename: unsafe extern "system" fn(This: *mut IWICImagingFactory, wzFilename: LPCWSTR, pguidVendor: *const GUID, dwDesiredAccess: DWORD, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT§CreateDecoderFromStream: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIStream: *const IStream, pguidVendor: *const GUID, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT§CreateDecoderFromFileHandle: unsafe extern "system" fn(This: *mut IWICImagingFactory, hFile: ULONG_PTR, pguidVendor: *const GUID, metadataOptions: WICDecodeOptions, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT§CreateComponentInfo: unsafe extern "system" fn(This: *mut IWICImagingFactory, clsidComponent: REFCLSID, ppIInfo: *mut *mut IWICComponentInfo) -> HRESULT§CreateDecoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidContainerFormat: REFGUID, pguidVendor: *const GUID, ppIDecoder: *mut *mut IWICBitmapDecoder) -> HRESULT§CreateEncoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidContainerFormat: REFGUID, pguidVendor: *const GUID, ppIEncoder: *mut *mut IWICBitmapEncoder) -> HRESULT§CreatePalette: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIPalette: *mut *mut IWICPalette) -> HRESULT§CreateFormatConverter: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIFormatConverter: *mut *mut IWICFormatConverter) -> HRESULT§CreateBitmapScaler: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapScaler: *mut *mut IWICBitmapScaler) -> HRESULT§CreateBitmapClipper: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapClipper: *mut *mut IWICBitmapClipper) -> HRESULT§CreateBitmapFlipRotator: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIBitmapFlipRotator: *mut *mut IWICBitmapFlipRotator) -> HRESULT§CreateStream: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICStream: *mut *mut IWICStream) -> HRESULT§CreateColorContext: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICColorContext: *mut *mut IWICColorContext) -> HRESULT§CreateColorTransformer: unsafe extern "system" fn(This: *mut IWICImagingFactory, ppIWICColorTransform: *mut *mut IWICColorTransform) -> HRESULT§CreateBitmap: unsafe extern "system" fn(This: *mut IWICImagingFactory, uiWidth: UINT, uiHeight: UINT, pixelFormat: REFWICPixelFormatGUID, option: WICBitmapCreateCacheOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateBitmapFromSource: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIBitmapSource: *const IWICBitmapSource, option: WICBitmapCreateCacheOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateBitmapFromSourceRect: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIBitmapSource: *const IWICBitmapSource, x: UINT, y: UINT, width: UINT, height: UINT, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateBitmapFromMemory: unsafe extern "system" fn(This: *mut IWICImagingFactory, uiWidth: UINT, uiHeight: UINT, pixelFormat: REFWICPixelFormatGUID, cbStride: UINT, cbBufferSize: UINT, pbBuffer: *const BYTE, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateBitmapFromHBITMAP: unsafe extern "system" fn(This: *mut IWICImagingFactory, hBitmap: HBITMAP, hPalette: HPALETTE, options: WICBitmapAlphaChannelOption, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateBitmapFromHICON: unsafe extern "system" fn(This: *mut IWICImagingFactory, hIcon: HICON, ppIBitmap: *mut *mut IWICBitmap) -> HRESULT§CreateComponentEnumerator: unsafe extern "system" fn(This: *mut IWICImagingFactory, componentTypes: DWORD, options: DWORD, ppIEnumUnknown: *mut *mut IEnumUnknown) -> HRESULT§CreateFastMetadataEncoderFromDecoder: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIDecoder: *const IWICBitmapDecoder, ppIFastEncoder: *mut *mut IWICFastMetadataEncoder) -> HRESULT§CreateFastMetadataEncoderFromFrameDecode: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIFrameDecoder: *const IWICBitmapFrameDecode, ppIFastEncoder: *mut *mut IWICFastMetadataEncoder) -> HRESULT§CreateQueryWriter: unsafe extern "system" fn(This: *mut IWICImagingFactory, guidMetadataFormat: REFGUID, pguidVendor: *const GUID, ppIQueryWriter: *mut *mut IWICMetadataQueryWriter) -> HRESULT§CreateQueryWriterFromReader: unsafe extern "system" fn(This: *mut IWICImagingFactory, pIQueryReader: *const IWICMetadataQueryReader, pguidVendor: *const GUID, ppIQueryWriter: *mut *mut IWICMetadataQueryWriter) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.