title: GetCurrentConsoleFont not declared in scope, what I do wrong?
body: <p>at the beginning I have:</p>
  
  <pre><code>#include &lt;sstream&gt;
  #include &lt;iostream&gt;
  #include &lt;stdio.h&gt;
  #include &lt;iomanip&gt;
  #include &lt;string&gt;
  #define _WIN32_WINNT 0x500 //tells that this is win 2000 or higher, without GetConsoleWindow would not work
  #include &lt;windows.h&gt;
  
  using namespace std;
  
  int main() {
    PCONSOLE_FONT_INFO lpConsoleCurrentFont;
    GetCurrentConsoleFont(GetStdHandle(STD_OUTPUT_HANDLE), false,  lpConsoleCurrentFont);
    return 0;
  }
  </code></pre>
  
  <p>And undocumented function <code>SetConsoleFont</code> works, but <code>GetCurrentConsoleFont</code> fails at compilation saying that it was not declared in this scope.</p>
  
  <p>-- edit: changed to self sustained code.</p>