to complete UpdateCodeMessage in winmain.cpp ioctrldemo