The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
ISoftwareBitmapNativeFactory::CreateFromWICBitmap method
Creates an ISoftwareBitmapNative from the provided IWICBitmap.
Syntax
HRESULT CreateFromWICBitmap( [in] IWICBitmap *data, [in] BOOL forceReadOnly, [in] REFIID riid, [out] LPVOID *ppv );
Parameters
- data [in]
-
Type: IWICBitmap*
The source WIC bitmap.
- forceReadOnly [in]
-
Type: BOOL
A value indicating whether the created software bitmap is read-only.
Note The read-only access applies only to the Windows RuntimeSoftwareBitmap wrapper. Access to the underlying Media Foundation buffer is not restricted. - riid [in]
-
Type: REFIID
The IID of the ISoftwareBitmapNative interface.
- ppv [out]
-
Type: LPVOID*
When this method returns successfully, contains the requested interface.
Return value
Type: HRESULT
Returns S_OK on successful completion.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: