- PKEVENT pEvent;
- NTSTATUS DriverEntry( IN PDRIVER_OBJECT KeyDriverObject,IN PUNICODE_STRING RegistryPath)
- {
- WCHAR wEventNameBuf[] = L"\\\\BaseNamedObjects\\yyttrreeww";
- UNICODE_STRING uEventName;
- RtlInitUnicodeString(&uEventName,wEventNameBuf);
- pEvent = IoCreateNotificationEvent(&uEventName,&Hadmin);
- if( pEvent==NULL )
- {
- DbgPrint( "创建有名事件失败");
- return STATUS_INSUFFICIENT_RESOURCES;
- }
- }
永远都 DbgPrint( "创建有名事件失败");
我我我~~~~~~ 我想杀人