title: How to get the desktop Rect while using ATL?
body: <p>I want to get the Rect of the entire desktop from within a dialog, and ATL has overridden the <code>GetWindowRect(HWND hWnd, LPRECT lpRect)</code> to <code>GetWindowRect(LPRECT lpRect)</code> and it assumes the current dialog window so it just fills the <code>lpRect</code> with its own dimensions.</p>
  
  <p>How do I get the desktop window's Rect? I've tried using the <code>GetDesktopWindow()</code>, but it returns a <code>HWND</code> which with I still can't find the Rect from.</p>