VxD: IFSMgr_Ring0_FileIO in File System Hook

VxD: IFSMgr_Ring0_FileIO in File System Hook

Post by BeniBel » Tue, 31 Aug 2004 03:20:35

i write a FileSystemApiHook to simulate (like everybody) files, so I
intercept all calls of an drive, and call IFSMgr_Ring0_FileIO to
perform it some where else.
Now I have a problem with R0_OPENCREATFILE. The function goes like it
is descripe in the 98 DDK, but when I use (for example, with
R0_GETFILESIZE or R0_READFILE) the returned handle, there came an 0E
BSOD in IFSMsr(01).
Can OpenCreateFile be called from an hook function?
And how are the parameter exact, in the DDK stands the arguments are
in bx, cx, dl, dh, and the returned handle in ax, but this seems
strangs since the other functions want the handle in ebx, with 16 bit
In a post i have read, the handle came in eax, but there is allways 0,
and somewhere else stands, the parameters are in ebx, ecx and edx, but
then is the result INVALID_FUNCTION.

PS: Sorry for my bad english, but that is not my first language.

1. vnetsup.vxd,vredir.vxd, dfs.vxd files - SYSTEM INI

2. kb137454 _ fixing vnetsup.vxd,vredir.vxd,dfs.vxd,vfs.vxd,

Trying to fix the above errors. With ref to kb137454, line 5-8, quote

5. Click OK or Close until you return to Control Panel. When you are
prompted to restart your computer, do so.
6. In Control Panel, double-click Network.
7. Click the network adapter, and then click Remove.
8. Click OK. When you are prompted to restart your computer, do so. ...

ON line 7 "Network adapter" do it refers to "CLIENT for Microsoft
Networks" as I cannot find any other item besides that and "Dial Up
Adapter" (which is unlikely).
Care to verify this, thanks

3. vtdapi.386, pagefile.vxd, and blockdev.vxd not in system.ini or registry on boot

4. SYSTEM.INI file C:WINDOWS\SYSTEM\vshinit.vxd needs to be replaced

5. System-wide keyboard hook does not hook the console window?

6. c:\windows\system\vmm32\hpzio100.vxd file missing, need help

7. windows\system\VMM32\enable.vxd file missing

8. vxd file missing reinstall operating system

9. system.ini file and mrtrate.vxd

10. I deleted the windows\system\vmm32.vxd file and can't resore it

11. ifsmgr.vxd / installing file systems...

12. VXD files inserted by Norton System Works

13. System will not boot to Win98 desktop missing .vxd file

14. File required ?. C:\windows\system\vmm32.vxd

15. hooks and regexp (was: SOLVED: folder-hooks on Courier IMAP e: folder-hooks don't work)