How to make a REG_QWORD entry in registry by inf file

Hi All,

Inf file make the DOWRD registry entry by :

HKR,Parameters\ndm,no_polling,0x00010001,1

can any one tell me the what are the parameters i have to pass to make QWORD entry.

Thanks for all…

What have you tried?

Gary G. Little

----- Original Message -----
From: xxxxx@rediffmail.com
To: “Windows System Software Devs Interest List”
Sent: Wednesday, April 6, 2011 6:59:24 AM
Subject: [ntdev] How to make a REG_QWORD entry in registry by inf file

Hi All,

Inf file make the DOWRD registry entry by :

HKR,Parameters\ndm,no_polling,0x00010001,1

can any one tell me the what are the parameters i have to pass to make QWORD entry.

Thanks for all…


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Save it as binary.

xxxxx@rediffmail.com wrote:

Hi All,

Inf file make the DOWRD registry entry by :

HKR,Parameters\ndm,no_polling,0x00010001,1

can any one tell me the what are the parameters i have to pass to make QWORD entry.

You have to create it as binary with 8 bytes, in little-endian order.

HKR,Parameters\ndm,big_entry,0x00000001,88,77,66,55,44,33,22,11

When read as a REG_QWORD, that will read as 0x1122334455667788.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

“Tim Roberts” wrote in message news:xxxxx@ntdev…

> When read as a REG_QWORD, that will read as 0x1122334455667788.

When you read it, the data type returned will be of course REG_BINARY ;
you should check that the size read is exactly (or <=) 8 bytes, and then
treat it as REQ_QWORD.
It is similar to how NDIS reads registry parameters.

Regards,
– pa