Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> First and foremost, for reasons that are unclear to me, ObfDereferenceObject is exposed to driver developers through a macro3 called ObDereferenceObject. I don’t understand what the point of this even is, but in any case, we can find the documentation for the macro here.

Emphasis mine. The reason why this is done in big projects is adding just one more level of abstraction to be able to preserve how userland interacts with your library, but still allowing you to make underlying structural changes to the code.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: