From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2zPH-0006vM-Hb for qemu-devel@nongnu.org; Tue, 14 Jan 2014 03:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W2zPC-0007MT-Sj for qemu-devel@nongnu.org; Tue, 14 Jan 2014 03:31:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:2474) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W2zPC-0007MK-KX for qemu-devel@nongnu.org; Tue, 14 Jan 2014 03:31:26 -0500 Message-ID: <52D4F634.1070707@redhat.com> Date: Tue, 14 Jan 2014 10:32:52 +0200 From: Gal Hammer MIME-Version: 1.0 References: <20140113172514.11163.75410.stgit@helix> <20140113172523.11163.3265.stgit@helix> In-Reply-To: <20140113172523.11163.3265.stgit@helix> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/3] qga: vss-win32: Use NULL as an invalid pointer for OpenEvent and CreateEvent List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomoki Sekiyama , qemu-devel@nongnu.org Cc: mdroth@linux.vnet.ibm.com, lcapitulino@redhat.com, mitsuhiro.tanino@hds.com, rhod@redhat.com, pbonzini@redhat.com, seiji.aguchi@hds.com, areis@redhat.com On 13/01/2014 19:25, Tomoki Sekiyama wrote: > 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 Gal.