Check out example codes for "Get handle in C++". It will help you in understanding the concepts better.

Code Example 1

hwnd = FindWindow(NULL,(LPCWSTR)"NAMEOFWINDOW");

Learn ReactJs, React Native from akashmittal.com