Removed references to advapi32 registry functions from some of the
kernel functions.

6 files changed