2 out of 2 rated this helpful - Rate this topic

IFSK Samples

IFSK Samples

Note  IFSK samples for Windows 8 Consumer Preview are available in the MSDN Developer Samples code gallery.

Sample nameBuild environmentTarget operating systemPnP driverIn-box driverSample description

cancelSafe Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

cancelSafe is a sample minifilter that you use if you want to use cancel-safe queues.

CDO Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The CDO minifilter sample is an example if you intend to use a control device object (CDO) with your minifilters. Although the filter manager infrastructure provides a message interface for communication between applications and minifilters, you might need explicit CDOs while the minifilters interface with legacy software. This sample shows how to create and use a CDO with minifilters.

CD-ROM File System Driver

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

Yes

The Cdfs sample is a sample file-system driver that you can use to write new file-systems.

Ctx Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The Ctx minifilter is an example that demonstrates how to attach contexts to instances, files, streams, and stream handles in your minifilter.

fastfat File System Driver

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

Yes

The fastfat sample is file-system driver that you can use if you want to write new file systems.

Metadata Manager Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The metadata minifilter sample serves as an example if you want to use files for storing metadata that corresponds to your minifilters. The implementation of this sample depicts scenarios in which modifications to the file might have to be blocked or the minifilter might be required to close the file temporarily.

minispy Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The minispy sample is a tool to monitor and log any I/O and transaction activity that occurs in the system.

nullFilter Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The nullFilter minifilter is a sample minifilter that shows how to register a minifilter with the filter manager.

passThrough Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The passThrough minifilter demonstrates how to specify callback functions for different types of I/O requests.

scanner Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The scanner minifilter is an example for developers who intend to write filters that examine data in files. Typically, antivirus products fall into this category.

swapBuffers Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

The swapBuffers minifilter demonstrates how to switch buffers between reads and writes of data. This technique is particularly useful for encryption filters because they have to encrypt data before writing it to disk and decrypt it after reading it from disk. Because encryption/decryption has to be done transparently, you cannot use system-supplied buffers directly, so intermediate buffers have to be introduced.

Simrep Minifilter Sample

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

Windows 7

Windows Server 2008

Windows Vista

Windows Server 2003

Windows XP

Windows 2000

No

No

Simrep is a sample filter that demonstrates how a file system filter can simulate file-system like reparse-point behavior to redirect a file open to an alternate path. It is located in the src\filesys\miniFilter directory.

 

 

 

Send comments about this topic to Microsoft

Build date: 4/2/2012

Did you find this helpful?
(1500 characters remaining)