Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinKernelDev/ctrl2cap/ctrl2cap.c 代码有误 #1

Open
xxr0ss opened this issue Apr 25, 2020 · 0 comments
Open

WinKernelDev/ctrl2cap/ctrl2cap.c 代码有误 #1

xxr0ss opened this issue Apr 25, 2020 · 0 comments

Comments

@xxr0ss
Copy link

xxr0ss commented Apr 25, 2020

声明extern POBJECT_TYPE IoDriverObjectType会导致ObReferenceObjectByName返回STATUS_OBJECT_TYPE_MISMATCH
应声明extern POBJECT_TYPE *IoDriverObjectType,给ObReferenceObjectByName也传入带**IoDriverObjectType

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant