Hey guys, me again. I ran in to a wall today, before when I asked question I kinda knew how to do it. But this time I have no clue.

I'm trying to get a user input in min or milliseconds to close a window. The code I use to close a window
Code:
hWin = FindWindow(NULL,"WINDOW NAME HERE");
    SendMessage(hWin,WM_CLOSE,(LPARAM)0,(WPARAM)0);
The problem is that I want the user to be able to set a time when to close the window. EX in 2min...

I will be really grateful if someone could help me out OR point me to somewhere. =)