« Previous | Next » 

Revision 4c1b8f1e

ID4c1b8f1e8357d85c613d779596e4079cc581d74f

Added by Tomoki Sekiyama about 10 years ago

qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent

OpenEvent and CreateEvent WinAPI return NULL when failed to open/create
events handles, instead of INVALID_HANDLE_VALUE (although their return
types are HANDLE).
This replaces INVALID_HANDLE_VALUE related to event handles with NULL.

Signed-off-by: Tomoki Sekiyama <>
Reviewed-by: Gal Hammer <>
Reviewed-by: Yan Vugenfirer <>
Signed-off-by: Michael Roth <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences