Monday, October 17, 2005

A new strategy

Well, it seems that trying to use the DDK samples is more painful than just learning the API calls, so my next step is to dive into the wonderful world of driver development from scratch, something I feel FAR more comfortable in doing. Microsoft should learn to put more meaningful comments into their code, instead of comments which state the obvious.

For example:

// BUGBUG set this to number of miniports
#define MAX_MINIPORTS 3 // Number of maximum miniports.

Now, I don't claim to be the worlds biggest genius, but I think I figured out that MAX_MINIPORTS should be set to the maximum number of miniports. Maybe explaining WHAT the "3" miniports are would have been FAR more useful, but then again, maybe the author doesn't know either.

0 Comments:

Post a Comment

<< Home