I have MS Visual Studio 2010 and I am planning to start kernel level & hardware driver programming..
Can i use MS Studio 2010 to do that? if, what exactly i need to add for that IDE?
In another way... what i need to do if i want to compile the following code in MS visual studio 2010? and what kind of project should i choose?
#define _X86_
#include "wdm.h"
NTSTATUS DriverEntry( IN PDRIVER_OBJECT theDriverObject,
IN PUNICODE_STRING theRegistryPath )
{
DbgPrint("Hello World!");
return STATUS_SUCCESS;
}
updated: thanks guys... what i need to add here http://i56.tinypic.com/9jhw84.png
Use the compiler and build scripts from the DDK. You can use any IDE you like, as long as it can call the DDK build script.
EDIT: BTW, your code should not define _X86_
. The DDK build tool will define the right macros corresponding to the target version of Windows.