dwmstatus in C