Hi all!
Does anybody know how to “throw out” from the kernel a message box in style of
user-mode MessageBoxA without using any intermediate things? I’d like
to show up to the user a modelless message box window without using
user-mode software… and just from inside of my kernel-mode driver.
Michael
Doesnt ZwRaiseHardError() or something like ZwRaiseError() do that
i remember reading it in the book by Gary Nebbet?? (sp?)
would that work???
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Michael Alekseev
Sent: Wednesday, November 12, 2003 7:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] A funny question
Hi all!
Does anybody know how to “throw out” from the kernel a message box in style of
user-mode MessageBoxA without using any intermediate things? I’d like
to show up to the user a modelless message box window without using
user-mode software… and just from inside of my kernel-mode driver.
Michael
Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@rivin.net
To unsubscribe send a blank email to xxxxx@lists.osr.com
See IoRaiseInformationalHardError and IoRaiseHardError. Wasn’t it mentioned
yesterday in another thread? I’m not sure if it was exactly fulfils your
needs; it is long time ago I played with it…
Best regards,
Michal Vodicka
STMicroelectronics Design and Application s.r.o.
[michal.vodicka@st.com, http:://www.st.com]
From: xxxxx@nadatel.com[SMTP:xxxxx@nadatel.com]
Reply To: xxxxx@lists.osr.com
Sent: Thursday, November 13, 2003 2:51 AM
To: xxxxx@lists.osr.com
Subject: [ntdev] A funny question
Hi all!
Does anybody know how to “throw out” from the kernel a message box in
style of
user-mode MessageBoxA without using any intermediate things? I’d like
to show up to the user a modelless message box window without using
user-mode software… and just from inside of my kernel-mode driver.
Michael
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: michal.vodicka@st.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
No!
Why not use a user-mode application or service; this is their purpose in
life.
Jamey
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michael Alekseev
Sent: Wednesday, November 12, 2003 5:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] A funny question
Hi all!
Does anybody know how to “throw out” from the kernel a message box in
style of
user-mode MessageBoxA without using any intermediate things? I’d like
to show up to the user a modelless message box window without using
user-mode software… and just from inside of my kernel-mode driver.
Michael
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
More:
“…show user…” and “user-mode”. Think about it!
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michael Alekseev
Sent: Wednesday, November 12, 2003 5:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] A funny question
Hi all!
Does anybody know how to “throw out” from the kernel a message box in
style of
user-mode MessageBoxA without using any intermediate things? I’d like
to show up to the user a modelless message box window without using
user-mode software… and just from inside of my kernel-mode driver.
Michael
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Hello Michal,
Unfortunately it doesn’t fulfil my needs, I’l like to show up my own
message without having deal with standard NTSTATUS codes.
Is there any other way?
Michael
Thursday, November 13, 2003, 10:59:35 AM, you wrote:
MV> See IoRaiseInformationalHardError and IoRaiseHardError. Wasn’t it mentioned
MV> yesterday in another thread? I’m not sure if it was exactly fulfils your
MV> needs; it is long time ago I played with it…
MV> Best regards,
MV> Michal Vodicka
MV> STMicroelectronics Design and Application s.r.o.
MV> [michal.vodicka@st.com, http:://www.st.com]
That’s what the event log is for. You know, the standard? The one that
the DDK says to use?
Write a specific error message to the event log. After that, raise some
vague, unsettling message using IoRaiseInformationalHardError, so that
s/he goes and checks out the event log.
– arlie
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michael Alekseev
Sent: Wednesday, November 12, 2003 11:08 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] RE: A funny question
Hello Michal,
Unfortunately it doesn’t fulfil my needs, I’l like to show up my own
message without having deal with standard NTSTATUS codes. Is there any
other way?
Michael
Thursday, November 13, 2003, 10:59:35 AM, you wrote:
MV> See IoRaiseInformationalHardError and IoRaiseHardError. Wasn’t it
MV> mentioned yesterday in another thread? I’m not sure if it was
MV> exactly fulfils your needs; it is long time ago I played with it…
MV> Best regards,
MV> Michal Vodicka
MV> STMicroelectronics Design and Application s.r.o.
MV> [michal.vodicka@st.com, http:://www.st.com]
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@sublinear.org To
unsubscribe send a blank email to xxxxx@lists.osr.com
Actually, the real answer is the evemt log period. Between headless
operation and multiple sessions with terminal server trying to tie a
message to the desktop is a bad thing. If your design needs this
capability and your firm cannot specify everything about the
configuration, YOU HAVE A BROKEN DESIGN.
Don Burn (MVP for the DDK(
Windows Filesystem and Driver Consulting
That’s what the event log is for. You know, the standard? The one that
the DDK says to use?
Write a specific error message to the event log. After that, raise some
vague, unsettling message using IoRaiseInformationalHardError, so that
s/he goes and checks out the event log.
– arlie
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Michael Alekseev
Sent: Wednesday, November 12, 2003 11:08 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] RE: A funny question
Hello Michal,
Unfortunately it doesn’t fulfil my needs, I’l like to show up my own
message without having deal with standard NTSTATUS codes. Is there any
other way?
Michael
Thursday, November 13, 2003, 10:59:35 AM, you wrote:
MV> See IoRaiseInformationalHardError and IoRaiseHardError. Wasn’t it
MV> mentioned yesterday in another thread? I’m not sure if it was
MV> exactly fulfils your needs; it is long time ago I played with it…
MV> Best regards,
MV> Michal Vodicka
MV> STMicroelectronics Design and Application s.r.o.
MV> [michal.vodicka@st.com, http:://www.st.com]
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@sublinear.org To
unsubscribe send a blank email to xxxxx@lists.osr.com
Write a helper app (in VB/C# possibly) which will catch the WMI events from
your driver, and run it by the Explorer’s Run registry key.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Michael Alekseev”
To: “Windows System Software Devs Interest List”
Sent: Thursday, November 13, 2003 4:51 AM
Subject: [ntdev] A funny question
> Hi all!
>
> Does anybody know how to “throw out” from the kernel a message box in style
of
> user-mode MessageBoxA without using any intermediate things? I’d like
> to show up to the user a modelless message box window without using
> user-mode software… and just from inside of my kernel-mode driver.
>
> Michael
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
Yes, a good thing, this also goes to the event log.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “Asa Yeamans”
To: “Windows System Software Devs Interest List”
Sent: Thursday, November 13, 2003 4:56 AM
Subject: [ntdev] RE: A funny question
> Doesnt ZwRaiseHardError() or something like ZwRaiseError() do that
> i remember reading it in the book by Gary Nebbet?? (sp?)
> would that work???
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com]On Behalf Of Michael Alekseev
> Sent: Wednesday, November 12, 2003 7:51 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] A funny question
>
>
> Hi all!
>
> Does anybody know how to “throw out” from the kernel a message box in style
of
> user-mode MessageBoxA without using any intermediate things? I’d like
> to show up to the user a modelless message box window without using
> user-mode software… and just from inside of my kernel-mode driver.
>
> Michael
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@rivin.net
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> Unfortunately it doesn’t fulfil my needs, I’l like to show up my own
message without having deal with standard NTSTATUS codes.
Is there any other way?
WMI events.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com