Windows stuff for cory