https://bugs.winehq.org/show_bug.cgi?id=45121
--- Comment #5 from Filip Volejnik f.volejnik@gmail.com --- I've pasted a piece of the log that does not show the decreasing behavior, fixing:
005c: open_process( pid=002f, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=002b, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0027, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0023, access=00001000, attributes=00000000 ) 005c: open_process() = 0 { handle=0388 } 005c: open_process( pid=001f, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=001b, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0017, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0013, access=00001000, attributes=00000000 ) 005c: open_process() = 0 { handle=0388 } 005c: open_process( pid=000f, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=000b, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0007, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=0003, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=ffffffff, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=fffffffb, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=fffffff7, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=fffffff3, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 } 005c: open_process( pid=ffffffef, access=00001000, attributes=00000000 ) 005c: open_process() = INVALID_PARAMETER { handle=0000 }