[PATCH 3/5] loader: Add tag ids to ensure nsiproxy.sys starts before ndis.sys.

Huw Davies huw at codeweavers.com
Tue Jun 29 02:04:20 CDT 2021


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>
---
 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)"
-- 
2.23.0




More information about the wine-devel mailing list