阅读:884回复:0
还是Notification Event
各路高手,接招啦。
驱动: RtlInitUnicodeString(&uszProcessEventString, L\"\\\\BaseNamedObjects\\\\ShareEvent\"); hEvent = IoCreateNotificationEvent(&uszProcessEventString, &hHandle); KeClearEvent(hEvent); app中: app使用是Service时就出问题了,把App service与Driver组成一个组。 OpenEvent(SYNCHRONIZE, FALSE, _T(\"ShareEvent\")); OpenEvent返回NULL,使用GetLastError()返回是0。ft,这是为什么。 在2k server和advance server中不用组成group也会出现这个情况。为什么会这样? 不用Service没有这些问题。 分不多了. :( :( :( :( |
|
|