You cannot unmount volumes with paging files. You can request an unmount
of C: all you want, but generally it ain’t going to happen.
===========================
Mark Roddy
Consultant, Microsoft DDK MVP
Hollis Technology Solutions
xxxxx@hollistech.com
www.hollistech.com
603-321-1032
-----Original Message-----
From: “Arlie Davis”
To: “Windows System Software Devs Interest List”
Date: Thu, 6 Nov 2003 21:32:47 -0500
Subject: [ntdev] RE: Did anyone know how to check the keystroke in native
application?
> DeviceIoControl with FSCTL_DISMOUNT_VOLUME can force a volume to
> dismount. You need to use CreateFile to open the volume (NOT the
> directory!). The syntax for this is “\.\X:”.
>
> However, the system itself handles dismounting volumes on shutdown.
> You
> don’t need to do this.
>
> – arlie
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of protale
> Sent: Wednesday, November 05, 2003 10:33 PM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] RE: Did anyone know how to check the keystroke in
> native application?
>
>
> Thanks Arlie for your response, that’s great helpful for me. And I have
> another questions: I want to unmount C: to do file reading/writing, can
> I do it before shuting down, can this be done in native or win32 apps?
>
> Any ideas would be appreciated.
>
> Regards,
> Protale
>
> ----- Original Message -----
> From: “Arlie Davis”
> To: “Windows System Software Devs Interest List”
> Sent: Wednesday, November 05, 2003 12:59 PM
> Subject: [ntdev] RE: Did anyone know how to check the keystroke in
> native application?
>
>
> > Keystrokes are handled almost entirely by the Win32 side of things.
> > Which means that native NT apps have no (clean) way to access
> keyboard
>
> > input.
> >
> > If you want keyboard input, use Win32.
> >
> > – arlie
> >
> >
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com] On Behalf Of protale
> > Sent: Tuesday, November 04, 2003 11:43 PM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Did anyone know how to check the keystroke in native
> > application?
> >
> >
> > Hi all,
> >
> > Did anyone know how to check the keystroke in native application
> > that run before logon? Could I call one API to get it?
> >
> >
> > Thanks in advance!
> > -Protale
> >
> >
> >
> > —
> > 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
> >
> >
> > —
> > Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
> >
> > You are currently subscribed to ntdev as: xxxxx@21cn.com
> > 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@sublinear.org 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@hollistech.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com