Creating registry keys based on language

We are working on a USB driver. I would like to know if we can create certain registry keys through INF based on OS language during installation. If this is not possible can we at-least detect language during driver loading sequence and create the entries from there. This is a KMDF based driver.

Take a look at
http://msdn.microsoft.com/en-us/library/windows/hardware/ff547485(v=vs.85).a
spx You can use this to have the strings localized. Then use the AddReg to
do the right thing. The one limitation is you cannot create the key for
some languages and not others.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@yahoo.com
Sent: Tuesday, August 12, 2014 8:55 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Creating registry keys based on language

We are working on a USB driver. I would like to know if we can create
certain registry keys through INF based on OS language during installation.
If this is not possible can we at-least detect language during driver
loading sequence and create the entries from there. This is a KMDF based
driver.


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

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

Just to add to my question i do know that we have the Locale specific INF covered under http://msdn.microsoft.com/en-us/library/windows/hardware/ff540208(v=vs.85).aspx but I’m looking more on creating keys for driver configuration rather than just strings.

Hi Don thanks for your response. But that’s exactly what im looking for :slight_smile: i want to create registry entry for a specific language and not for others.

On 12-Aug-2014 16:06, xxxxx@yahoo.com wrote:

Just to add to my question i do know that we have the Locale specific INF covered under http://msdn.microsoft.com/en-us/library/windows/hardware/ff540208(v=vs.85).aspx but I’m looking more on creating keys for driver configuration rather than just strings.

So create locale specific strings, and use them as macros to substitute
in your registry values.

– pa