Mark,
Use the Co-installer. Oney has an example in his book, and provides a
template. The toaster example also has one. Your looking at maybe 2 or 3
days, unless you can’t spell C++, for a permanent solution that is fairly
independent of install screw ups.
Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@Broadstor.com
xxxxx@inland.net
-----Original Message-----
From: Mark Riley [mailto:xxxxx@NSINE.com]
Sent: Tuesday, June 05, 2001 6:56 AM
To: NT Developers Interest List
Subject: [ntdev] RE: what country am I in? (ZwQueryDefaultLocale)
oops, my optimism might be a light premature! how do I use
ZwQueryDefaultLocale? it’s not documented in the DDK, and I can’t even find
its prototype in the ddk header files. am I missing something here? for
your info, I’m developing an NDIS driver for the windows 2000 platform.
Mark
-----Original Message-----
From: Mark Riley [mailto:xxxxx@NSINE.com]
Sent: 05 June 2001 14:21
To: NT Developers Interest List
Subject: [ntdev] RE: what country am I in?
thanks for your help, I think, ZwQueryDefaultLocale, is exactly what I need.
regarding, terminal server, this is not an issue, as the requirement for the
locale is for a driver that is currently in development, longer term, the
locale info will not be necessary.
once again thanks
mark
-----Original Message-----
From: Don Burn [mailto:xxxxx@acm.org]
Sent: 05 June 2001 13:09
To: NT Developers Interest List
Subject: [ntdev] RE: what country am I in?
What are you going to do about terminal server? It is
now possible to have the machine in one country and
users in other countries. If you have a specific need
based on locale, you might consider ZwQueryDefaultLocale
which is available in kernel mode. This can query for
either the specific thread or the system’s default.
Don Burn
Windows 2000 Device Driver and Filesystem consulting
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Mark Riley
Sent: Tuesday, June 05, 2001 4:54 PM
To: NT Developers Interest List
Subject: [ntdev] what country am I in?Hi
I am developing a driver, which needs to behave differently in the US, as
opposed to Europe. It seems to me that this can be done as 1 of 3
different
ways:
- at installation explicitly ask the user what country the driver should
be
configured for - is this via a co installer?- at installation extract the information from the current windows
configuration - can the inf file do this for you?- at run time extract the information from the current windows
configuration - is there an api to extract this info from the registry?which is the best solution, and how do i do it?!
hope someone can help
best regards
Mark Riley
You are currently subscribed to ntdev as: xxxxx@nsine.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@nsine.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com