cert461 improved windows functions examples