Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a Windows Runtime SoftwareBitmap object from the provided IWICBitmap.
Syntax
HRESULT CreateFromWICBitmap(
[in] IWICBitmap *data,
[in] BOOL forceReadOnly,
[in] REFIID riid,
[out] LPVOID *ppv
);
Parameters
[in] data
Type: IWICBitmap*
The source WIC bitmap.
[in] forceReadOnly
Type: BOOL
A value indicating whether the created software bitmap is read-only.
[in] riid
Type: REFIID
The interface to obtain from the created SoftwareBitmap object. This is usually Windows.Graphics.Imaging.ISoftwareBitmap.
[out] ppv
Type: LPVOID*
When this method returns successfully, contains the requested interface.
Return value
Type: HRESULT
Returns S_OK on successful completion.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | windows.graphics.imaging.interop.h |
Library | Windows.graphics.imaging.interop.lib |
DLL | Windows.graphics.imaging.interop.dll |