DDERR_NOTLOCKED

Code: 0x88760248 (2289435208)

As HRESULT:As NTSTATUS:

Documented in Win32

DirectDraw Return Codes (ddraw.h)

An attempt was made to unlock a surface that was not locked.