Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICComponentFactory [−][src]
#[repr(transparent)]pub struct IWICComponentFactory(_);
Implementations
pub unsafe fn CreateDecoderFromFilename<'a>(
&self,
wzfilename: impl IntoParam<'a, PWSTR>,
pguidvendor: *const Guid,
dwdesiredaccess: u32,
metadataoptions: WICDecodeOptions,
ppidecoder: *mut Option<IWICBitmapDecoder>
) -> HRESULT
[src]pub unsafe fn CreateDecoderFromStream<'a>(
&self,
pistream: impl IntoParam<'a, IStream>,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions,
ppidecoder: *mut Option<IWICBitmapDecoder>
) -> HRESULT
[src]pub unsafe fn CreateDecoderFromFileHandle(
&self,
hfile: usize,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions,
ppidecoder: *mut Option<IWICBitmapDecoder>
) -> HRESULT
[src]pub unsafe fn CreateComponentInfo(
&self,
clsidcomponent: *const Guid,
ppiinfo: *mut Option<IWICComponentInfo>
) -> HRESULT
[src]pub unsafe fn CreateDecoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid,
ppidecoder: *mut Option<IWICBitmapDecoder>
) -> HRESULT
[src]pub unsafe fn CreateEncoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid,
ppiencoder: *mut Option<IWICBitmapEncoder>
) -> HRESULT
[src]pub unsafe fn CreateFormatConverter(
&self,
ppiformatconverter: *mut Option<IWICFormatConverter>
) -> HRESULT
[src]pub unsafe fn CreateBitmapScaler(
&self,
ppibitmapscaler: *mut Option<IWICBitmapScaler>
) -> HRESULT
[src]pub unsafe fn CreateBitmapClipper(
&self,
ppibitmapclipper: *mut Option<IWICBitmapClipper>
) -> HRESULT
[src]pub unsafe fn CreateBitmapFlipRotator(
&self,
ppibitmapfliprotator: *mut Option<IWICBitmapFlipRotator>
) -> HRESULT
[src]pub unsafe fn CreateColorContext(
&self,
ppiwiccolorcontext: *mut Option<IWICColorContext>
) -> HRESULT
[src]pub unsafe fn CreateColorTransformer(
&self,
ppiwiccolortransform: *mut Option<IWICColorTransform>
) -> HRESULT
[src]pub unsafe fn CreateBitmap(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *mut Guid,
option: WICBitmapCreateCacheOption,
ppibitmap: *mut Option<IWICBitmap>
) -> HRESULT
[src]pub unsafe fn CreateBitmapFromSource<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
option: WICBitmapCreateCacheOption,
ppibitmap: *mut Option<IWICBitmap>
) -> HRESULT
[src]pub unsafe fn CreateBitmapFromSourceRect<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
x: u32,
y: u32,
width: u32,
height: u32,
ppibitmap: *mut Option<IWICBitmap>
) -> HRESULT
[src]pub unsafe fn CreateBitmapFromMemory(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *mut Guid,
cbstride: u32,
cbbuffersize: u32,
pbbuffer: *mut u8,
ppibitmap: *mut Option<IWICBitmap>
) -> HRESULT
[src]pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a>(
&self,
pidecoder: impl IntoParam<'a, IWICBitmapDecoder>,
ppifastencoder: *mut Option<IWICFastMetadataEncoder>
) -> HRESULT
[src]pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a>(
&self,
piframedecoder: impl IntoParam<'a, IWICBitmapFrameDecode>,
ppifastencoder: *mut Option<IWICFastMetadataEncoder>
) -> HRESULT
[src]pub unsafe fn CreateQueryWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
ppiquerywriter: *mut Option<IWICMetadataQueryWriter>
) -> HRESULT
[src]pub unsafe fn CreateQueryWriterFromReader<'a>(
&self,
piqueryreader: impl IntoParam<'a, IWICMetadataQueryReader>,
pguidvendor: *const Guid,
ppiquerywriter: *mut Option<IWICMetadataQueryWriter>
) -> HRESULT
[src]pub unsafe fn CreateMetadataReader<'a>(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: impl IntoParam<'a, IStream>,
ppireader: *mut Option<IWICMetadataReader>
) -> HRESULT
[src]pub unsafe fn CreateMetadataReaderFromContainer<'a>(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: impl IntoParam<'a, IStream>,
ppireader: *mut Option<IWICMetadataReader>
) -> HRESULT
[src]pub unsafe fn CreateMetadataWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwmetadataoptions: u32,
ppiwriter: *mut Option<IWICMetadataWriter>
) -> HRESULT
[src]pub unsafe fn CreateMetadataWriterFromReader<'a>(
&self,
pireader: impl IntoParam<'a, IWICMetadataReader>,
pguidvendor: *const Guid,
ppiwriter: *mut Option<IWICMetadataWriter>
) -> HRESULT
[src]pub unsafe fn CreateQueryReaderFromBlockReader<'a>(
&self,
piblockreader: impl IntoParam<'a, IWICMetadataBlockReader>,
ppiqueryreader: *mut Option<IWICMetadataQueryReader>
) -> HRESULT
[src]pub unsafe fn CreateQueryWriterFromBlockWriter<'a>(
&self,
piblockwriter: impl IntoParam<'a, IWICMetadataBlockWriter>,
ppiquerywriter: *mut Option<IWICMetadataQueryWriter>
) -> HRESULT
[src]Trait Implementations
Performs the conversion.
Performs the conversion.
type Vtable = IWICComponentFactory_abi
Returns the vtable for an assumed interface. The name comes from Box
’s assume_init
method as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IWICComponentFactory
impl !Send for IWICComponentFactory
impl !Sync for IWICComponentFactory
impl Unpin for IWICComponentFactory
impl UnwindSafe for IWICComponentFactory
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more