title: error: request for member (maybe you meant to use '->' ?) while using '->' already
body: <p>Is there an easy explanation for what this error means?</p>
  
  <blockquote>
    <p>error: request for member 'Attributes' in '* printerInfo', which is of
    pointer type 'PPRINTER_INFO_2 {aka _PRINTER_INFO_2A*}' (maybe you
    meant to use '->' ?)</p>
  </blockquote>
  
  <pre><code>PPRINTER_INFO_2* printerInfo = NULL;
  
      void ChangedPrinter()
      {
         ...
         DWORD attributesPrinterInfo;
  
         printerInfo = (PPRINTER_INFO_2*) malloc(bufferSize);
  
         attributesPrinterInfo = printerInfo-&gt;Attributes; // error
  
         free(printerInfo);
      }
  </code></pre>
  
  <p>What am I doing wrong???</p>