Windows Handler is not initialized because the software is console application. Please modify the source code to create Window using CreateWindow API and then, test WT_PACKET message is received or not.