Add \ include \ ndk \ iofuncs. h
----------------------------------------------------------------
Ntsyscallapi
Ntstatus
Ntapi
Ntmytest (
);
Add \ include \ ndk \ DDK. h
----------------------------------------------------------------
Ntsysapi
Ntstatus
Ntapi
Ntmytest (
);
Add \ ntoskrnl \ IO \ iomgr \ file. c
----------------------------------------------------------------
Ntstatus
Ntapi
Ntmytest (
)
{
Pvoid mypointer;
Kirql oldirql;
Dbuplint ("Enter ntmytest ()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \ N ");
Keraiseirql (dispatch_level, & oldirql );
Mypointer = mmcreatehyperspacemapping (0xc0000000 );
Dbgprs int ("08% 08x \ n", mypointer );
Kelowerirql (oldirql );
Dbuplint ("Leave ntmytest ()!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! \ N ");
Return (STATUS_SUCCESS );
}
Add \ ntoskrnl. pspec
----------------------------------------------------------------
@ Stdcall ntmytest ()
Add \ drivers \ base \ beep. c
----------------------------------------------------------------
Add to iocontrol
Ntmytest ();