WaitForMultipleObjects

Hi All,

I am facing a really strange problem while using WaitForMultipleObjects
(Win32 and not kernel). I am using this call to wait for two event
objects. The code was written and tested. But when run on client site
WaitForMultipleObject returns 0xFFFFFFF7 (I couldn’t find the definition
of this in MSDN) and GetLastError returns 2031 (I couldn’t find this
definition too). Can someone help me in this regard?

Thanks in advance,
Jeyaram