Skip to content

Commit

Permalink
Update filter.c (microsoft#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
justanotheranonymoususer authored and wm1 committed Jun 20, 2018
1 parent cb98c44 commit bf3ce6a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions general/toaster/toastDrv/kmdf/filter/sideband/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Return Value:
KdPrint(("Toaster SideBand Filter Driver Sample - Driver Framework Edition.\n"));

//
// Initiialize driver config to control the attributes that
// Initialize driver config to control the attributes that
// are global to the driver. Note that framework by default
// provides a driver unload routine. If you create any resources
// in the DriverEntry and want to be cleaned in driver unload,
Expand Down Expand Up @@ -216,7 +216,7 @@ Return Value:

//
// Tell the framework that you are filter driver. Framework
// takes care of inherting all the device flags & characterstics
// takes care of inheriting all the device flags & characteristics
// from the lower device you are attaching to.
//
WdfFdoInitSetFilter(DeviceInit);
Expand All @@ -231,13 +231,13 @@ Return Value:
//
// We will just register for cleanup notification because we have to
// delete the control-device when the last instance of the device goes
// away. If we don't delete, the driver wouldn't get unloaded automatcially
// away. If we don't delete, the driver wouldn't get unloaded automatically
// by the PNP subsystem.
//
deviceAttributes.EvtCleanupCallback = FilterEvtDeviceContextCleanup;

//
// Create a framework device object.This call will inturn create
// Create a framework device object. This call will in turn create
// a WDM deviceobject, attach to the lower stack and set the
// appropriate flags and attributes.
//
Expand Down Expand Up @@ -586,7 +586,7 @@ Return Value:

PAGED_CODE();

KdPrint(("Ioctl recieved into filter control object.\n"));
KdPrint(("Ioctl received into filter control object.\n"));

WdfWaitLockAcquire(FilterDeviceCollectionLock, NULL);

Expand Down

0 comments on commit bf3ce6a

Please sign in to comment.