Struct mltg_bindings::Windows::Win32::Graphics::Imaging::IWICComponentFactory [−][src]
#[repr(transparent)]pub struct IWICComponentFactory(_);
Implementations
pub unsafe fn CreateDecoderFromFilename<'a, Param0: IntoParam<'a, PWSTR>>(
&self,
wzfilename: Param0,
pguidvendor: *const Guid,
dwdesiredaccess: u32,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateDecoderFromStream<'a, Param0: IntoParam<'a, IStream>>(
&self,
pistream: Param0,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateDecoderFromFileHandle(
&self,
hfile: usize,
pguidvendor: *const Guid,
metadataoptions: WICDecodeOptions
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateComponentInfo(
&self,
clsidcomponent: *const Guid
) -> Result<IWICComponentInfo>
pub unsafe fn CreateDecoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateEncoder(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICBitmapEncoder>
pub unsafe fn CreateBitmap(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *const Guid,
option: WICBitmapCreateCacheOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromSource<'a, Param0: IntoParam<'a, IWICBitmapSource>>(
&self,
pibitmapsource: Param0,
option: WICBitmapCreateCacheOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromSourceRect<'a, Param0: IntoParam<'a, IWICBitmapSource>>(
&self,
pibitmapsource: Param0,
x: u32,
y: u32,
width: u32,
height: u32
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromMemory(
&self,
uiwidth: u32,
uiheight: u32,
pixelformat: *const Guid,
cbstride: u32,
cbbuffersize: u32,
pbbuffer: *const u8
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromHBITMAP<'a, Param0: IntoParam<'a, HBITMAP>, Param1: IntoParam<'a, HPALETTE>>(
&self,
hbitmap: Param0,
hpalette: Param1,
options: WICBitmapAlphaChannelOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromHICON<'a, Param0: IntoParam<'a, HICON>>(
&self,
hicon: Param0
) -> Result<IWICBitmap>
pub unsafe fn CreateComponentEnumerator(
&self,
componenttypes: u32,
options: u32
) -> Result<IEnumUnknown>
pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a, Param0: IntoParam<'a, IWICBitmapDecoder>>(
&self,
pidecoder: Param0
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a, Param0: IntoParam<'a, IWICBitmapFrameDecode>>(
&self,
piframedecoder: Param0
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateQueryWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
pub unsafe fn CreateQueryWriterFromReader<'a, Param0: IntoParam<'a, IWICMetadataQueryReader>>(
&self,
piqueryreader: Param0,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
pub unsafe fn CreateMetadataReader<'a, Param3: IntoParam<'a, IStream>>(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: Param3
) -> Result<IWICMetadataReader>
pub unsafe fn CreateMetadataReaderFromContainer<'a, Param3: IntoParam<'a, IStream>>(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: Param3
) -> Result<IWICMetadataReader>
pub unsafe fn CreateMetadataWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwmetadataoptions: u32
) -> Result<IWICMetadataWriter>
pub unsafe fn CreateMetadataWriterFromReader<'a, Param0: IntoParam<'a, IWICMetadataReader>>(
&self,
pireader: Param0,
pguidvendor: *const Guid
) -> Result<IWICMetadataWriter>
pub unsafe fn CreateQueryReaderFromBlockReader<'a, Param0: IntoParam<'a, IWICMetadataBlockReader>>(
&self,
piblockreader: Param0
) -> Result<IWICMetadataQueryReader>
pub unsafe fn CreateQueryWriterFromBlockWriter<'a, Param0: IntoParam<'a, IWICMetadataBlockWriter>>(
&self,
piblockwriter: Param0
) -> Result<IWICMetadataQueryWriter>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
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
Mutably borrows from an owned value. Read more