How do I use GetHitResultUnderCursorByChannel in C++?

after almost 8 years, thank you so very many much!