I have a process in c++ in which I am using window API. I want to get the HWND of own process. Kindly guide me how can I make it possible.
You can use HANDLE WINAPI GetCurrentProcess(void); from Kernel32.dll.
HANDLE WINAPI GetCurrentProcess(void);
See MSDN entry here.