How to rotate a bone in C++

http://puu.sh/mNXYZ/2859879778.jpg

How would i go about Rotating the selected bone in C++?