Base\System\Windows\SplashScreen.cs (15)
407UnsafeNativeMethods.WIC.CreateImagingFactory(UnsafeNativeMethods.WIC.WINCODEC_SDK_VERSION, out pImagingFactory));
411UnsafeNativeMethods.WIC.CreateStream(pImagingFactory, out pIStream));
414UnsafeNativeMethods.WIC.InitializeStreamFromMemory(pIStream, pImgBuffer, (uint)cImgBufferLen));
419UnsafeNativeMethods.WIC.CreateDecoderFromStream(pImagingFactory, pIStream,
425UnsafeNativeMethods.WIC.GetFrame(pDecoder, 0, out pDecodedFrame));
428UnsafeNativeMethods.WIC.CreateFormatConverter(pImagingFactory, out pBitmapSourceFormatConverter));
431Guid pixelFormat = UnsafeNativeMethods.WIC.WICPixelFormat32bppPBGRA;
433UnsafeNativeMethods.WIC.InitializeFormatConverter(pBitmapSourceFormatConverter, pDecodedFrame,
4350, UnsafeNativeMethods.WIC.WICPaletteType.WICPaletteTypeCustom));
438UnsafeNativeMethods.WIC.CreateBitmapFlipRotator(pImagingFactory, out pBitmapFlipRotator));
441UnsafeNativeMethods.WIC.InitializeBitmapFlipRotator(pBitmapFlipRotator, pBitmapSourceFormatConverter,
442UnsafeNativeMethods.WIC.WICBitmapTransformOptions.WICBitmapTransformFlipVertical));
445UnsafeNativeMethods.WIC.GetBitmapSize(pBitmapFlipRotator, out width, out height));
461UnsafeNativeMethods.WIC.CopyPixels(pBitmapFlipRotator, ref rect, stride, stride * height, pBitmapBits));