How do I use GetHitResultUnderCursorByChannel in C++?

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