Filtering All Paging File I/O Under Windows 95

Last reviewed: August 13, 1997
Article ID: Q141204

The information in this article applies to:

  • Microsoft Win32 Application Programming Interface (API) included with Microsoft Windows 95

SUMMARY

A file system API hook installed by a VxD by calling IFSMGR_InstallFileSystemAPIHook will not see initial file I/O requests for the paging file unless it installs the hook during Device_Init.

MORE INFORMATION

Some file system API hooker VxDs need to see all file I/O, including all the initial requests for the paging file used by Windows. The FS_ReadFile and FS_WriteFile requests will be sent for the paging file with the R0_SWAPPER_CALL flag set for paging file I/O. The paging file is opened at the Init_Complete system control message sent to VxDs. If the VxD installs

the hook during Device_Init, it will see all paging file I/O requests.

Keywords          : kbhowto kbprg
Version           : 4.0
Platform          : WINDOWS
Issue type        : kbhowto


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 13, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.