Modifying iopb.Parameters.Write.ByteOffset

Hi, all.

I want to modify ByteOffset in PreWriteCallback.
Because I should consider header bytes.
I tried to modify ByteOffset value from 0x0 to 0x1000.
But it failed.

Isn’t it possible to modify offset originally?
Or do you know any other way?

Thank you for all response, and have a nice day!

Did you mark callback data as dirty?


Slava Imameyev, xxxxx@hotmail.com

wrote in message news:xxxxx@ntfsd…
> Hi, all.
>
> I want to modify ByteOffset in PreWriteCallback.
> Because I should consider header bytes.
> I tried to modify ByteOffset value from 0x0 to 0x1000.
> But it failed.
>
> Isn’t it possible to modify offset originally?
> Or do you know any other way?
>
> Thank you for all response, and have a nice day!
>

I did it, of course. :wink:

>I did it, of course. :wink:

There was a paging write request and you tried to increase the file
size ))).
Look one post down - “Changing file sizes”.


Slava Imameyev, xxxxx@hotmail.com

wrote in message news:xxxxx@ntfsd…
>I did it, of course. :wink:
>