Hi,
There was ZwSetInformationFile() in NT DDK declared in ntddk.h. I can’t find
this function in DDK of Win2K (wdm.h) even though it still appears in the
documentation.
Actual I just want to an API to delete a file from my driver. How can it be
done in Win2k?
thx
Roman.
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> -----Original Message-----
From: Roman Geller [mailto:xxxxx@envara.com]
Sent: Sunday, September 02, 2001 2:31 AM
Hi,
There was ZwSetInformationFile() in NT DDK declared in
ntddk.h. I can’t find
this function in DDK of Win2K (wdm.h) even though it still
appears in the
documentation.
Actual I just want to an API to delete a file from my driver.
How can it be
done in Win2k?
thx
Roman.
Prehaps setting your ZwCreateFile() CreateOptions to FILE_DELETE_ON_CLOSE
will help?
This will automatically delete the file when the last handle to it is is
passed to ZwClose.
Hope this helps,
Christine
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Is ZwDeleteFile() defined yet? It’s in my Nebbett (Native API) reference.
ERX
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Roman Geller
Sent: Sunday, September 02, 2001 5:31 AM
To: NT Developers Interest List
Subject: [ntdev] How to delete a file?
Hi,
There was ZwSetInformationFile() in NT DDK declared in
ntddk.h. I can’t find
this function in DDK of Win2K (wdm.h) even though it still
appears in the
documentation.
Actual I just want to an API to delete a file from my driver.
How can it be
done in Win2k?
thx
Roman.
You are currently subscribed to ntdev as: xxxxx@spinnakernet.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> -----Original Message-----
From: Eric Lee Steadle [mailto:xxxxx@spinnakernet.com]
Sent: Tuesday, September 04, 2001 3:21 PM
Is ZwDeleteFile() defined yet? It’s in my Nebbett (Native
API) reference.
ZwDeleteFile() is not defined in my copy of the Win2K DDK.
The ZwXxx Routines section is dated Wednesday, June 28, 2000.
–Christine
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com