Modified from the original Microsoft versions to pull code/headers in from the sys/contrib/dev directory.