If you just did a TicTacToe console game, why the heck are you jumping to DirectX? Please lay down and ponder what you are really talking about.
Do you know what this is?
If you have no clue then atleast take six more months to master you C++ console stuff. Then move on to a Window tutorial. Then, finally, onto DirectX.
LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam)
return(DefWindowProc(hwnd, msg, wparam, lparam));