Printing on the Blue screen....

From my kernel mode driver, I want to print some messages on the blue screen.
How can we do that ?

thanks for the help
Maliye

On Wed, 26 Jul 2000, Amit Gorantivar wrote:

Date: Wed, 26 Jul 2000 11:39:43 +0200
From: Amit Gorantivar
> Reply-To: File Systems Developers
> To: File Systems Developers
> Subject: [ntfsd] Printing on the Blue screen…
>
> >From my kernel mode driver, I want to print some messages on the blue screen.
> How can we do that ?

You can use the (undocummented) function
ZwDisplayString(&messageUnicodeString);
I first saw it in source code from Ctrl2Cap, from www.sysinternals.com
Funny thing, that if you call it while not being on the blue screen from
the boot, no problem, it generates a blue screen. Of course that after
that the solution is to press the reset button. I didn’t had time to debug
on this.

____________________________________
Catalin Braica
xxxxx@edulib.ro
http://www.edulib.ro/~catalin/

// Undocumented HAL routine prints a string to the screen.
// This call is valid only during initialization before the
// display driver takes ownership of the display and also
// inside a bugcheck callback routine
VOID HalDisplayString(PSZ Buffer);


??: Amit Gorantivar[SMTP:amitg@i3-micro.com]
???: 26 ??? 2000 ?. 13:39
???: File Systems Developers
???: [ntfsd] Printing on the Blue screen…

From my kernel mode driver, I want to print some messages on the blue screen.
How can we do that ?

thanks for the help
Maliye

>From my kernel mode driver, I want to print some messages on the blue

screen.

Try HalDisplayString.

Max

Thanks Catalin i tried this function and got same results as you…
I will work on it and if i found some thing i will convey to you…
thanks again
maliye
-----Original Message-----
From: Catalin Braica
To: File Systems Developers
Date: Wednesday, July 26, 2000 12:00 PM
Subject: [ntfsd] Re: Printing on the Blue screen…

>On Wed, 26 Jul 2000, Amit Gorantivar wrote:
>
>> Date: Wed, 26 Jul 2000 11:39:43 +0200
>> From: Amit Gorantivar
>> Reply-To: File Systems Developers
>> To: File Systems Developers
>> Subject: [ntfsd] Printing on the Blue screen…
>>
>> >From my kernel mode driver, I want to print some messages on the blue
screen.
>> How can we do that ?
>
>You can use the (undocummented) function
>ZwDisplayString(&messageUnicodeString);
>I first saw it in source code from Ctrl2Cap, from www.sysinternals.com
>Funny thing, that if you call it while not being on the blue screen from
>the boot, no problem, it generates a blue screen. Of course that after
>that the solution is to press the reset button. I didn’t had time to debug
>on this.
>
> ____________________________________
>Catalin Braica
>xxxxx@edulib.ro
>http://www.edulib.ro/~catalin/
>
>
>—
>You are currently subscribed to ntfsd as: amitg@i3-micro.com
>To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>
>