From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMePY-0005sf-6g for qemu-devel@nongnu.org; Mon, 11 Sep 2006 01:32:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMePW-0005sB-Tu for qemu-devel@nongnu.org; Mon, 11 Sep 2006 01:32:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMePW-0005s7-QS for qemu-devel@nongnu.org; Mon, 11 Sep 2006 01:32:46 -0400 Received: from [211.5.2.69] (helo=nm01omta015.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.52) id 1GMeQj-0001Yz-6f for qemu-devel@nongnu.org; Mon, 11 Sep 2006 01:34:01 -0400 Message-ID: <000a01c6d563$b8fffaa0$0464a8c0@athlon> From: "Kazu" References: <000601c6d244$b9eddb20$0464a8c0@athlon> <20060911002819.GA6378@mail.shareable.org> Subject: Re: [Qemu-devel] QCOW/QCOW2 for win32 Date: Mon, 11 Sep 2006 14:32:50 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Sent: Monday, September 11, 2006 9:28 AM Jamie Lokier wrote: > Kazu wrote: >> Patch. >> http://www.h7.dion.ne.jp/~qemu-win/download/qemu-20060906-qcow.patch > >>> #ifdef QEMU_TOOL >>> - overlapped = 0; >>> + overlapped = FILE_ATTRIBUTE_NORMAL; >>> #else >>> overlapped = FILE_FLAG_OVERLAPPED; >>> #endif > > I suspect the second value should be (FILE_ATTRIBUTE_NORMAL | > FILE_FLAG_OVERLAPPED). But I'm no Win32 expert. > I think FILE_ATTRIBUTE_NORMAL is only used without other options. Regards, Kazu