How do I use GetHitResultUnderCursorByChannel in C++?

after almost 6 years, thank you so many much!