In order to display the output from the kernel driver, you'll need to install the DebugView application. Perform the following operations:
Open your web browser and navigate to http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx. Download the
DebugView
ZIP file and extract it to a folder. Run the DebugView application and, from the menu, select Capture. Add a tick to Capture Kernel or press Ctrl + K.Now, if you run your KernelDriver project, you will see the output from the driver, using DebugView.