Yet more incompetence from Microsoft
Feb. 23rd, 2005 04:06 pm
So in an effort to cut down on buggy drivers crashing Windows, Microsoft have created test suites to hammer on drivers to help shake out bugs. This is a good idea. One of the first things the DC2 utility does, though, is call ZwQueryObject() to obtain ObjectNameInformation about your driver. Where did I find documentation about this function? Not in MSDN. Not in the documentation for the Windows DDK and IFS kit. I wound up finding a web site called— I kid you not— undocumented.ntinternals.net. They even have all their information in a handy CHM-formatted file. Why are Microsoft mentioning the result of this in their test code if they’re not going to document the API by which you can make your code pass the test?