Yes, we used MS recommendations. Don't worry about SendMessage, according to MS recommendations we used system defined int type, instead of System.Int32 or System.Int64. System defined int is scalable and native to both 32 and 64 bit environments (so in 64bit environment int will be 64bit).