NTSTATUS ntStatus = STATUS_SUCCESS;
AFSDeviceExt *pDeviceExt;
- ULONG ulTimeIncrement = 0;
UNICODE_STRING uniDeviceName;
ULONG ulIndex = 0;
UNICODE_STRING uniRoutine;
}
//
- // Initilize the control device
+ // Initialize the control device
//
RtlInitUnicodeString( &uniDeviceName,
ntStatus = IoCreateDevice( DriverObject,
sizeof( AFSDeviceExt),
&uniDeviceName,
- FILE_DEVICE_DISK_FILE_SYSTEM,
+ FILE_DEVICE_NETWORK_FILE_SYSTEM,
0,
FALSE,
&AFSLibraryDeviceObject);
}
}
}
- __except( AFSExceptionFilter( GetExceptionCode(), GetExceptionInformation()) )
+ __except( AFSExceptionFilter( __FUNCTION__, GetExceptionCode(), GetExceptionInformation()) )
{
AFSPrint( "EXCEPTION - AFS DriverEntry\n");
+
+ AFSDumpTraceFilesFnc();
}
return ntStatus;
AFSUnload( IN PDRIVER_OBJECT DriverObject)
{
+ UNREFERENCED_PARAMETER(DriverObject);
if( AFSGlobalRoot != NULL)
{