*** Programmatically adding tag value on Group order list ***

Hi,

Introduction:

Tag value with service entry decides load ordering of driver.

lpdwTagId
[out] Pointer to a variable that receives a tag value that is unique in the group specified in the lpLoadOrderGroup parameter. Specify NULL if you are not changing the existing tag.

You can use a tag for ordering service startup within a load ordering group by specifying a tag order vector in the GroupOrderList value of the following registry key:

Problem:

How this tag value can be added programmatically to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GroupOrderList.

I am trying to avoid, modifying registry using REGXXX apis.

Waiting for expert comments.

8^)Cheers

Rajesh Nikam

CreateService() will give you a tag ID. You have to use Registry APIs to
insert that tag into

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GroupOrderList.

What is the problem of not using Registry APIs for doing this task??

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rajesh Nikam
Sent: Monday, September 13, 2004 11:11 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] *** Programmatically adding tag value on Group
order list ***

Hi,

Introduction:

Tag value with service entry decides load ordering of driver.

lpdwTagId
[out] Pointer to a variable that receives a tag value that is
unique in the group specified in the lpLoadOrderGroup parameter. Specify
NULL if you are not changing the existing tag.
You can use a tag for ordering service startup within a load
ordering group by specifying a tag order vector in the GroupOrderList
value of the following registry key:

Problem:

How this tag value can be added programmatically to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GroupOrderList.

I am trying to avoid, modifying registry using REGXXX apis.

Waiting for expert comments.

8^)Cheers

Rajesh Nikam


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: unknown lmsubst tag
argument: ‘’
To unsubscribe send a blank email to
xxxxx@lists.osr.com