Huw Davies : loader: Add tag ids to ensure nsiproxy.sys starts before ndis.sys.

Alexandre Julliard julliard at winehq.org
Tue Jun 29 15:58:26 CDT 2021


Module: wine
Branch: master
Commit: 87e43b8eaf287e4f4a6de591696b4394fbb277bc
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=87e43b8eaf287e4f4a6de591696b4394fbb277bc

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Jun 29 08:04:20 2021 +0100

loader: Add tag ids to ensure nsiproxy.sys starts before ndis.sys.

This will be needed as ndis.sys depends on iphlpapi which will
in turn depend on nsi.

Note that this isn't quite how the tags are supposed to work.  The
tags should be ordered according to the load group's order list.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 loader/wine.inf.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index defaba008e2..426fe8b1595 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -3775,6 +3775,7 @@ ErrorControl=1
 LoadOrderGroup="System Bus Extender"
 
 [NDISService]
+AddReg=NDISServiceKeys
 Description="NDIS service"
 DisplayName="NDIS"
 ServiceBinary="%12%\ndis.sys"
@@ -3783,7 +3784,11 @@ StartType=2
 ErrorControl=1
 LoadOrderGroup="System Bus Extender"
 
+[NDISServiceKeys]
+HKR,,"Tag",0x10001,2
+
 [NsiProxyService]
+AddReg=NsiProxyServiceKeys
 Description="NSI proxy service"
 DisplayName="NSI Proxy"
 ServiceBinary="%12%\nsiproxy.sys"
@@ -3792,6 +3797,9 @@ StartType=2
 ErrorControl=1
 LoadOrderGroup="System Bus Extender"
 
+[NsiProxyServiceKeys]
+HKR,,"Tag",0x10001,1
+
 [RpcSsService]
 Description="RPC service"
 DisplayName="Remote Procedure Call (RPC)"




More information about the wine-cvs mailing list