Undocumented stuff
From NikiWiki
This section contains descriptions of undocumented stuff. Undocumented means there's no official documentation or the documentation (for example included on DevCon CDs) isn't available to the public anymore.
You are very welcome to add your own tips and tricks here!
- Query the DosError() state (using DosSysCtl())
- WinQueueFromID(), get the HMQ from PID and TID