From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UraaU-0007Q5-8A for qemu-devel@nongnu.org; Tue, 25 Jun 2013 17:15:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UraaT-0001PZ-0l for qemu-devel@nongnu.org; Tue, 25 Jun 2013 17:15:42 -0400 Received: from mail-ea0-x235.google.com ([2a00:1450:4013:c01::235]:43640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UraaS-0001PQ-Q4 for qemu-devel@nongnu.org; Tue, 25 Jun 2013 17:15:40 -0400 Received: by mail-ea0-f181.google.com with SMTP id a15so7197225eae.12 for ; Tue, 25 Jun 2013 14:15:40 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <51CA0874.1000402@redhat.com> Date: Tue, 25 Jun 2013 23:15:32 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <20130606150618.10486.60669.stgit@hds.com> <20130606150645.10486.23215.stgit@hds.com> In-Reply-To: <20130606150645.10486.23215.stgit@hds.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 06/10] qemu-ga: Add Windows VSS provider to quiesce applications on fsfreeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tomoki Sekiyama Cc: libaiqing@huawei.com, mdroth@linux.vnet.ibm.com, stefanha@gmail.com, qemu-devel@nongnu.org, lcapitulino@redhat.com, vrozenfe@redhat.com, seiji.aguchi@hds.com, areis@redhat.com Il 06/06/2013 17:06, Tomoki Sekiyama ha scritto: > +STDAPI VSSCheckOSVersion(void); > + > +STDAPI COMRegister(void); > +STDAPI COMUnregister(void); > + > +STDAPI DllRegisterServer(void); > +STDAPI DllUnregisterServer(void); Can you explain the difference between COMRegister/COMUnregister and DllRegisterServer/DllUnregisterServer (and why the COM+ part need not be done by regsvr32)? Also, why does COMUnregister call DllUnregisterServer but COMRegister does not call DllRegisterServer? Also, is it needed to call VSSCheckOSVersion from the requestor? I would think that checking VSSAPI.DLL is stronger than checking the version, and indeed you do that check too. Sorry for the probably stupid questions, COM stuff is way beyond my Windows knowledge. Paolo