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
) -> Result<IWICBitmapDecoder>
pub unsafe fn CreateDecoderFromStream<'a>(
&self,
pistream: impl IntoParam<'a, IStream>,
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>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
option: WICBitmapCreateCacheOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromSourceRect<'a>(
&self,
pibitmapsource: impl IntoParam<'a, IWICBitmapSource>,
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>(
&self,
hbitmap: impl IntoParam<'a, HBITMAP>,
hpalette: impl IntoParam<'a, HPALETTE>,
options: WICBitmapAlphaChannelOption
) -> Result<IWICBitmap>
pub unsafe fn CreateBitmapFromHICON<'a>(
&self,
hicon: impl IntoParam<'a, HICON>
) -> Result<IWICBitmap>
pub unsafe fn CreateComponentEnumerator(
&self,
componenttypes: u32,
options: u32
) -> Result<IEnumUnknown>
pub unsafe fn CreateFastMetadataEncoderFromDecoder<'a>(
&self,
pidecoder: impl IntoParam<'a, IWICBitmapDecoder>
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateFastMetadataEncoderFromFrameDecode<'a>(
&self,
piframedecoder: impl IntoParam<'a, IWICBitmapFrameDecode>
) -> Result<IWICFastMetadataEncoder>
pub unsafe fn CreateQueryWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
pub unsafe fn CreateQueryWriterFromReader<'a>(
&self,
piqueryreader: impl IntoParam<'a, IWICMetadataQueryReader>,
pguidvendor: *const Guid
) -> Result<IWICMetadataQueryWriter>
pub unsafe fn CreateMetadataReader<'a>(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: impl IntoParam<'a, IStream>
) -> Result<IWICMetadataReader>
pub unsafe fn CreateMetadataReaderFromContainer<'a>(
&self,
guidcontainerformat: *const Guid,
pguidvendor: *const Guid,
dwoptions: u32,
pistream: impl IntoParam<'a, IStream>
) -> Result<IWICMetadataReader>
pub unsafe fn CreateMetadataWriter(
&self,
guidmetadataformat: *const Guid,
pguidvendor: *const Guid,
dwmetadataoptions: u32
) -> Result<IWICMetadataWriter>
pub unsafe fn CreateMetadataWriterFromReader<'a>(
&self,
pireader: impl IntoParam<'a, IWICMetadataReader>,
pguidvendor: *const Guid
) -> Result<IWICMetadataWriter>
pub unsafe fn CreateQueryReaderFromBlockReader<'a>(
&self,
piblockreader: impl IntoParam<'a, IWICMetadataBlockReader>
) -> Result<IWICMetadataQueryReader>
pub unsafe fn CreateQueryWriterFromBlockWriter<'a>(
&self,
piblockwriter: impl IntoParam<'a, IWICMetadataBlockWriter>
) -> 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