Поделиться через


IBitmapImage::UnlockBits (Windows Embedded CE 6.0)

1/6/2010

This method unlocks an area of the bitmap image object locked by a previous call to the IBitmapImage::LockBits call.

Syntax

HRESULT UnlockBits(
  const BitmapData* lockedBitmapData
);

Parameters

  • lockedBitmapData
    [in] A pointer to an instance of a BitmapData class identifying the area to unlock.

Return Value

If successful, this method returns S_OK.

If it fails, this method should return one of the following error values:

  • IMGERR_BADUNLOCK
  • IMGERR_OBJECTBUSY
  • E_FAIL
  • E_INVALIDARG

For more information, see Error Codes for the Imaging API.

Requirements

Header imaging.h
Library Imaging.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IBitmapImage
BitmapData