Debug a simple driver for windows 2008 x64

I debug a simple "hello world" driver.Here is my code:

#include <ntddk.h>

VOID DriverUnload(PDRIVER_OBJECT driver)

    _asm int 3

    DbgPrint("hello word!!\n");

    driver->DriverUnload = DriverUnload;
    return STATUS_SUCCESS;

Compile error:

'__asm' keyword not supported on this architecture

I use WDK build environments Windows Vista and Windows Server 2008.


Need Your Help

Php RandomPick Numbers

php mysql

I have an HTML from with 9 checkboxes, ie, Checkbox 1 value=1-10, checkbox 2 value = checkbox 10 with value=80-90. A mysql table called 'frequency' with 2 fields: number and frequency.

xcode horizontal table like app store

xcode tableview horizontal-scrolling

I have attempted to create a table within a table cell to present similarly of the horizontal table cell slide like that of the app store.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.