Windows error 0x00000244, 580

Detailed Error Information

NO_EVENT_PAIR[1]

MessageAn event pair synchronization operation was performed using the thread specific client/server event pair object, but no event pair object was associated with the thread.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x80070244.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code580 (0x0244)

Possible solutions

2

Redirecting console I/O: SetHandleInformation fails with invalid handle

c++
winapi

A HANDLE is already a pointer. You don't take its address unless it is an out parameter.

Just take the & out of your SetHandleInformation call.

answered on Stack Overflow Mar 3, 2017 by Zan Lynx

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0