Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

MethodDescription
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

Wincodec.h

IDL

Wincodec.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.