Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Send Feedback on this topic to the authors