Use Windows memory functions.