EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

ImageLockMode enumeration

Applies to: desktop apps only

The ImageLockMode enumeration specifies flags that are passed to the flags parameter of the Bitmap::LockBits method. The Bitmap::LockBits method locks a portion of an image so that you can read or write the pixel data.

Syntax

typedef enum  {
  ImageLockModeRead           = 0x0001,
  ImageLockModeWrite          = 0x0002,
  ImageLockModeUserInputBuf   = 0x0004 
} ImageLockMode;

Constants

ImageLockModeRead

Specifies that a portion of the image is locked for reading.

ImageLockModeWrite

Specifies that a portion of the image is locked for writing.

ImageLockModeUserInputBuf

Specifies that the buffer used for reading or writing pixel data is allocated by the user. If this flag is set, then the lockedBitmapData parameter of the Bitmap::LockBits method serves as an input parameter (and possibly as an output parameter). If this flag is cleared, then the lockedBitmapData parameter serves only as an output parameter.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusimaging.h (include Gdiplus.h)

See also

Bitmap::LockBits

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

コミュニティの追加

表示:
© 2014 Microsoft