IWICBitmapLock interface
Exposes methods that support the Lock method.
Members
The IWICBitmapLock interface inherits from the IUnknown interface. IWICBitmapLock also has these types of members:
Methods
The IWICBitmapLock interface has these methods.
| Method | Description |
|---|---|
| GetDataPointer |
Gets the pointer to the top left pixel in the locked rectangle. |
| GetPixelFormat |
Gets the pixel format of for the locked area of pixels. This can be used to compute the number of bytes-per-pixel in the locked area. |
| GetSize |
Retrieves the width and height, in pixels, of the locked rectangle. |
| GetStride |
Provides access to the stride value for the memory. |
Remarks
The bitmap lock is simply an abstraction for a rectangular memory window into the bitmap. For the simplest case, a system memory bitmap, this is simply a pointer to the top left corner of the rectangle and a stride value.
To release the exclusive lock set by Lock method and the associated IWICBitmapLock object, call IUnknown::Release on the IWICBitmapLock object.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|