title: GetWindowText and GetWindowTextLength running without parenthesis?
body: <p>Examining this piece of code, with buffer being declared as LPWSTR and using Visual Studio 2010:</p>
  
  <pre><code>        buffer = (LPWSTR)GetWindowText;
          int x = GetWindowTextLength(hDlg);
  </code></pre>
  
  <p>This compiles and runs just fine (other than I have to figure out how to process the string to make it readable), but what's more, for at least these two functions, the compiler accepts them either with an appropriate cast, or with their parameters, why does it accept them without parentheses? I haven't seen something similar, any Clues?</p>