How to rotate bone in C++?

@Rama I want to do this for all skeletal bones. Here I have realtime motion capture data from a custom made system which has 17 bones. I just want to implement these data in a skeletalmesh. As you have mentioned before do I need to create 17 “Transform(Modify) Bone” functions to do this? And how to get each bone reference to this function?