David
Sat Jul 19 19:23:41 CDT 2008
Yes, you can use quick and dirty hacks. It has several advantages:
1. Promotion - you will be done with something that will pass a minimal QA
so quickly they will promote you (maybe just a job title change with no
raise in pay, but it helps on the next job search).
2. Ego boost - you will be able to tell all your coworkers and friends you
got a multi man-year job done in a few weeks.
3. Job security - you will NEVER be done fixing the edge cases
4. Experience - you can leverage the above to get the time to do it
correctly or maybe contract it out with you as the manager (just don't tell
your contractor it was you that wrote the hook based piece of garbage).
"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
news:e9Njind6IHA.4596@TK2MSFTNGP03.phx.gbl...
> Note that you cannot hook paging IO from Notepad or so.
>
> The proper solution is FltMgr's minifilter, sorry. Quick-and-dirty
> hacks
> cannot work reliably.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
>
http://www.storagecraft.com
>
> "Bercea Gabriel" <Bercea Gabriel@discussions.microsoft.com> wrote in
> message
> news:D9631B0F-3F91-4FDA-96D2-085A17359F7B@microsoft.com...
>> Hello all. I need to implement a fast hook for some I/O system service
>> calls,
>> like ZwCreateFile, ZwWriteFile, . . . . I don't have the time to write a
>> FS
>> Filter Driver, my app really needs to come out pretty fast. I thought of
>> using the KeServiceDescriptorTable hook method. I've read some posts on
>> OSR
>> and no one really recommended this method. I believe that if I stick to
>> some
>> really simple things in the hooks, and only hook few functions, the
>> driver
>> will work fine.
>> Can you support, that or suggest something else.
>