Add support for old and new kext together
This commit is contained in:
@@ -76,6 +76,15 @@ func Start() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func SetKextHandler(handle windows.Handle) {
|
||||
kextHandle = handle
|
||||
}
|
||||
|
||||
func SetKextService(handle windows.Handle, path string) {
|
||||
service = &KextService{handle: handle}
|
||||
driverPath = path
|
||||
}
|
||||
|
||||
// Stop intercepting.
|
||||
func Stop() error {
|
||||
// Prepare kernel for shutdown
|
||||
|
||||
Reference in New Issue
Block a user