Searched hist:"4 c1b8f1e8357d85c613d779596e4079cc581d74f" (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/qga/vss-win32/ |
H A D | provider.cpp | diff 4c1b8f1e8357d85c613d779596e4079cc581d74f Mon Jan 13 11:25:23 CST 2014 Tomoki Sekiyama <tomoki.sekiyama@hds.com> 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 <tomoki.sekiyama@hds.com> Reviewed-by: Gal Hammer <ghammer@redhat.com> Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|
H A D | requester.cpp | diff 4c1b8f1e8357d85c613d779596e4079cc581d74f Mon Jan 13 11:25:23 CST 2014 Tomoki Sekiyama <tomoki.sekiyama@hds.com> 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 <tomoki.sekiyama@hds.com> Reviewed-by: Gal Hammer <ghammer@redhat.com> Reviewed-by: Yan Vugenfirer <yvugenfi@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
|