Site icon EfmSoft

What does HRESULT 0x88982F0D (WINCODEC_ERR_ALREADYLOCKED) mean?

 
Previous Next
WINCODEC_ERR_NOTINITIALIZED WINCODEC_ERR_PROPERTYNOTFOUND

WINCODEC_ERR_ALREADYLOCKED

WINCODEC_ERR_ALREADYLOCKED means that an IWICBitmap still has an outstanding lock. WIC uses IWICBitmapLock objects to provide direct pixel access, so a second conflicting read or write lock can be rejected until the previous lock is released.

What to check

Use RAII wrappers for COM references so the lock is released deterministically.

Microsoft: WIC bitmap sources and locks


Looking for a different code? Search another status or error code.

Exit mobile version