ZwCreateFile on Drive A

Hi

I am trying to create a file on the floppy using ZwCreateFile. This works
fine if there is a floppy in the drive but causes an error message to appear
on the screen if there is no floppy. How do I stop this message ? Or how do
I check that a floppy is in the drive without causing an error ?

TIA
Paul Delivett

Hi,

Stop this message by ZwSetInformationProcess, in Win32 use SetErrorMode.

Regards.
Oleg

On 08/07/00, ““Paul Delivett” ” wrote:
> Hi
>
> I am trying to create a file on the floppy using ZwCreateFile. This works
> fine if there is a floppy in the drive but causes an error message to appear
> on the screen if there is no floppy. How do I stop this message ? Or how do
> I check that a floppy is in the drive without causing an error ?
>
> TIA
> Paul Delivett

Hi

I can find nothing on ZwSetInformationProcess in MSDN, IFS Kit or DDK. What
is the prototype

TIA
Paul

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of
xxxxx@tarzan.cr.cyco.com
Sent: Tuesday, 08 August 2000 10:00 am
To: File Systems Developers
Subject: [ntfsd] Re: ZwCreateFile on Drive A

Hi,

Stop this message by ZwSetInformationProcess, in Win32 use SetErrorMode.

Regards.
Oleg

On 08/07/00, ““Paul Delivett” ” wrote:
> > Hi
> >
> > I am trying to create a file on the floppy using ZwCreateFile.
> This works
> > fine if there is a floppy in the drive but causes an error
> message to appear
> > on the screen if there is no floppy. How do I stop this message
> ? Or how do
> > I check that a floppy is in the drive without causing an error ?
> >
> > TIA
> > Paul Delivett
>
> —
> You are currently subscribed to ntfsd as: xxxxx@Carraig.co.uk
> To unsubscribe send a blank email to $subst(‘Email.Unsub’)
>

Buy this title then:

“Windows NT/2000 Native API Reference”
Macmillan Technical Publishing, Garry Nebbett; ISBN: 1-57870-199-6

http://www.amazon.co.uk/exec/obidos/ASIN/1578701996

Greetings.
Oleg

On 08/09/00, ““Paul Delivett” ” wrote:
> Hi
>
> I can find nothing on ZwSetInformationProcess in MSDN, IFS Kit or DDK. What
> is the prototype
>
> TIA
> Paul
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com
> > [mailto:xxxxx@lists.osr.com]On Behalf Of
> > xxxxx@tarzan.cr.cyco.com
> > Sent: Tuesday, 08 August 2000 10:00 am
> > To: File Systems Developers
> > Subject: [ntfsd] Re: ZwCreateFile on Drive A
> >
> >
> > Hi,
> >
> > Stop this message by ZwSetInformationProcess, in Win32 use SetErrorMode.
> >
> > Regards.
> > Oleg
> >
> > On 08/07/00, ““Paul Delivett” ” wrote:
> > > Hi
> > >
> > > I am trying to create a file on the floppy using ZwCreateFile.
> > This works
> > > fine if there is a floppy in the drive but causes an error
> > message to appear
> > > on the screen if there is no floppy. How do I stop this message
> > ? Or how do
> > > I check that a floppy is in the drive without causing an error ?
> > >
> > > TIA
> > > Paul Delivett
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@Carraig.co.uk
> > To unsubscribe send a blank email to $subst(‘Email.Unsub’)
> >