windows api working through hello sequence