cuckoosandbox / cuckoomon

DEPRECATED - replaced with "monitor"
122 stars 82 forks source link

Preserve the Last Error Code #7

Closed jbremer closed 12 years ago

jbremer commented 12 years ago

In Old_* the Last Error should be preserved. Then, when returning from a hooking function, the last error can be restored. To offer full functionality, additional hook_get_last_error() and hook_set_last_error() functions should be introduced as well.