title: Why does the WinAPI use an int (32 bits) for the BOOL type?
body: <pre><code>// &lt;windef.h&gt;
  
  typedef int                 BOOL;
  </code></pre>
  
  <p>Isn't this a waste of memory since an int is 32 bits?</p>
  
  <p>Just in case I was wrong, I tried sending a normal <code>bool*</code> to a function that required <code>BOOL*</code> and didn't work until I used the typedef int.</p>