Compartilhar via


IBitmapImage::UnlockBits (Windows CE 5.0)

Send Feedback

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

HRESULT UnlockBits(  const BitmapData* lockedBitmapData);

Parameters

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

Return Values

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

OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.

See Also

IBitmapImage | BitmapData

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.