Re: Driver Question
- From: "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx>
- Date: Mon, 27 Nov 2006 07:56:31 -0800
There is no requirement for UNICODE_STRING to be null-terminated.
<soviet_bloke@xxxxxxxxxxx> wrote in message
news:1164602157.003390.216720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Steve,
I thought it was perfectly legal to have non-null-terminated strings in
the registry.
This is true
I don't think a missing 0-term qualifies as "malformed", making your
advice even
more important
As long as you expect to get an array of WCHARs, missing 0-term does
not make a string malformed, but if you expect UNICODE_STRING, it does.
This is why I took Skywing's advice a bit sceptically
.
- References:
- Re: Driver Question
- From: Tim Roberts
- Re: Driver Question
- From: soviet_bloke
- Re: Driver Question
- From: Maxim S. Shatskih
- Re: Driver Question
- From: soviet_bloke
- Re: Driver Question
- From: Alexander Grigoriev
- Re: Driver Question
- From: soviet_bloke
- Re: Driver Question
- From: Thomas F. Divine
- Re: Driver Question
- From: Skywing [MVP]
- Re: Driver Question
- From: Steve Dispensa
- Re: Driver Question
- From: soviet_bloke
- Re: Driver Question
- Prev by Date: Re: 64-bit and SetupAPI
- Next by Date: Re: Vista WDK on MSDN?
- Previous by thread: Re: Driver Question
- Next by thread: Re: Driver Question
- Index(es):
Relevant Pages
|