Use win32ole's builtin methods for console pages instead of using ffi.