Extremely Active Member
Group: Moderators
Posts: 313
Member No.: 5004
Joined: 11-May 07
|
CODE | #include <ntddk.h>
DRIVER_INITIALIZE DriverEntry; DRIVER_UNLOAD DriverUnload;
void DriverUnload( PDRIVER_OBJECT DriverObject ) { DbgPrint("Driver unloading\n"); }
NTSTATUS DriverEntry( __in PDRIVER_OBJECT DriverObject, __in PUNICODE_STRING RegistryPath ) { DriverObject->DriverUnload = DriverUnload; DbgPrint("We are gonna bang bang bust. Now wanna see some blue screen with me ?\n"); DbgPrint("Some western classical music in the background with rodeo guns blazing\n"); _asm { mov eax,0 mov [eax],0 } return STATUS_SUCCESS; // What the compiler knows we arent returning ever.
|
This post has been edited by Gunner on Aug 11 2013, 06:58 PM
|