Site icon EfmSoft

What does NTSTATUS 0xC0000235 (STATUS_HANDLE_NOT_CLOSABLE) mean?

 
Previous Next
STATUS_ACCOUNT_LOCKED_OUT STATUS_CONNECTION_REFUSED

STATUS_HANDLE_NOT_CLOSABLE

The object handle is deliberately protected from close

Windows handles can carry a protect-from-close property. The public SetHandleInformation API exposes HANDLE_FLAG_PROTECT_FROM_CLOSE; the native Object Manager representation exposes the corresponding ProtectFromClose handle flag. Closing such a handle is rejected rather than silently destroying the reference.

Determine who set the flag and whether protection is part of the component's lifetime design. A broad cleanup loop that closes every numeric handle can hit this status legitimately. If the handle should be closed, clear the protection through the owning API or Object Manager information path before closing it. Do not suppress the status and assume the resource was released.

What to inspect

References


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

Exit mobile version