dotnet / ef6tools

This is the codebase for the Entity Framework 6 and LINQ-To-SQL designers.
MIT License
35 stars 14 forks source link

Fix the definition of MsgWaitForMultipleObjects and call it correctly #32

Closed jasonmalinowski closed 2 years ago

jasonmalinowski commented 2 years ago

The definition of MsgWaitForMultipleObjects was incorrect; pHandles should be a pointer type, but was defined as an integer. More strangely, we were passing in an array size of "1" which specified that we wanted to wait on a handle, but then passed in a null array which doesn't make sense.