The document of ResumeThread [says](https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-resumethread#return-value): `If the function fails, the return value is (DWORD) -1.` However, the [wiki](https://github.com/microsoft/wil/wiki/RAII-resource-wrappers#wilunique_struct) and comment in source code https://github.com/microsoft/wil/blob/b74575e9feb6477c52208fbc60557ad22f8bf42b/include/wil/resource.h#L5537 are using `THROW_IF_WIN32_BOOL_FALSE`.