Skip to main content

STATUS_INVALID_HANDLE: Windows rejected a handle

A function was given a handle Windows did not recognise as valid. The handle may have already been closed, but the status alone does not establish that. Microsoft lists the WebView2 value as -1073741816 (0xC0000008).

What to check​

  1. Find the operation and calling module in the crash report.
  2. Check for an earlier file, process or resource error that might explain how the handle became invalid.

Official reference​

Microsoft Learn: WebView2 failure, C++ and Windows runtime errors