diff options
author | Tomoki Sekiyama <tomoki.sekiyama@hds.com> | 2014-01-13 12:25:23 -0500 |
---|---|---|
committer | Michael Roth <mdroth@linux.vnet.ibm.com> | 2014-02-23 13:10:20 -0600 |
commit | 4c1b8f1e8357d85c613d779596e4079cc581d74f (patch) | |
tree | f9b82b2f80a4ea4205a4702000f63c103486cfee /net/util.c | |
parent | 105a060188dc6fdd4551571a966514d1a5f6815a (diff) | |
download | hqemu-4c1b8f1e8357d85c613d779596e4079cc581d74f.zip hqemu-4c1b8f1e8357d85c613d779596e4079cc581d74f.tar.gz |
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>
Diffstat (limited to 'net/util.c')
0 files changed, 0 insertions, 0 deletions