Refactor: Replace primitive types with Windows macros.