typecasts.
separate VxD dlls. Moved VMM code to a separate dll, and removed the registry calls to get rid of the code duplication with advapi32.