Hello,
i have a scenerio where i would like to catch the last write operation to a file .
For example if the user mode programs creates a new file and writes data to it, i would like to return an error/success to the program based on some logic. And the logic can only be detrmined once i see all teh writes to the block.
Any thought how can this achieved?
Thank you,
OCN
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping
You never know which write is ‘last’.
best regards,
Lu Lin
TTC senior engineer
http://ttcone.com
Inside Programming
http://lu0.126.com
----- Original Message -----
From: v g
To: Windows File Systems Devs Interest List
Sent: Wednesday, December 14, 2005 8:16 AM
Subject: [ntfsd] Failing the last write
Hello,
i have a scenerio where i would like to catch the last write operation to a file .
For example if the user mode programs creates a new file and writes data to it, i would like to return an error/success to the program based on some logic. And the logic can only be detrmined once i see all teh writes to the block.
Any thought how can this achieved?
Thank you,
OCN
Yahoo! Shopping
Find Great Deals on Holiday Gifts at Yahoo! Shopping — Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 You are currently subscribed to ntfsd as: lulinsha@163.com To unsubscribe send a blank email to xxxxx@lists.osr.com
If you need to fail writes - fail CREATE with write in DesiredAccess.
Failing writes themselves is not an option.
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: “v g”
To: “Windows File Systems Devs Interest List”
Sent: Wednesday, December 14, 2005 3:16 AM
Subject: [ntfsd] Failing the last write
> Hello,
>
> i have a scenerio where i would like to catch the last write operation
to a file .
>
> For example if the user mode programs creates a new file and writes
data to it, i would like to return an error/success to the program based on
some logic. And the logic can only be detrmined once i see all teh writes to
the block.
>
> Any thought how can this achieved?
>
> Thank you,
> OCN
>
>
>
> ---------------------------------
> Yahoo! Shopping
> Find Great Deals on Holiday Gifts at Yahoo! Shopping
> —
> Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17
>
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com