Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <ntddk.h>
- #include <ntddbeep.h>
- #ifndef NDEBUG
- #define NDEBUG
- #endif
- #include <debug.h>
- DRIVER_UNLOAD BeepUnload;
- VOID
- NTAPI
- BeepUnload(IN PDRIVER_OBJECT DriverObject)
- {
- }
- NTSTATUS
- NTAPI
- DriverEntry(IN PDRIVER_OBJECT DriverObject,
- IN PUNICODE_STRING RegistryPath)
- {
- DriverObject->DriverUnload = BeepUnload;
- DPRINT1("Anthony's driver has been loaded\n");
- return STATUS_SUCCESS;
- }
- /* EOF */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement