RE: [NtDev] RE: what country am I in? (ZwQueryDefault- Locale)

The co-installer provides a tab on the device’s property page within device
manager. That tab bares the name that you call it and provides a property
sheet that you then use to create controls. I would assume that one of those
controls would be a drop-down combo-box listing English, Swahili, Zulu,
Japanese, Piglatin, Schmutzen or vat efer.

:slight_smile:

Gary G. Little
Staff Engineer
Broadband Storage, Inc.
xxxxx@Broadstor.com
xxxxx@inland.net

-----Original Message-----
From: Mark Riley [mailto:xxxxx@NSINE.com]
Sent: Wednesday, June 06, 2001 8:35 AM
To: NT Developers Interest List
Subject: [ntdev] RE: [NtDev] RE: what country am I in?
(ZwQueryDefaultLocale)

I’ve just looked at the toaster coinstaller example, and noticed that the
source states that a coinstaller should not display a popup dialog box,
this implies to me that the coinstaller should not have a ui - is this
assumption correct? if it is, then the coinstaller mechanism is of no use
to me as i need to explicitly ask the user to confirm their location via a
UI.

Mark

ps. and yes i can spell sea++ :slight_smile:

-----Original Message-----
From: Gary Little [mailto:xxxxx@Broadstor.com]
Sent: Tuesday, June 05, 2001 4:13 PM
To: NT Developers Interest List
Subject: [ntdev] RE: [NtDev] RE: what country am I in?
(ZwQueryDefaultLocale)

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 mailto:xxxxx
]
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 mailto:xxxxx
]
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 mailto:xxxxx]
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
mailto:xxxxx]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:
> 1. at installation explicitly ask the user what country the driver should
be
> configured for - is this via a co installer?
> 2. at installation extract the information from the current windows
> configuration - can the inf file do this for you?
> 3. 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: 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</mailto:xxxxx></mailto:xxxxx></mailto:xxxxx></mailto:xxxxx>