title: const BYTE * and const LPBYTE
body: <p>It seems that there's a difference between 'const BYTE*' &amp; 'const LPBYTE', when i compile the folowing code (just an example):</p>
  
  <pre><code>void Test(const BYTE * c,const LPBYTE d) {
   c++; // OK
  *c++; // OK
   d++; // ERROR
  *d++; // ERROR
  </code></pre>
  
  <p>}</p>
  
  <p>I get "you cannot assign to a variable that is const" on visual studio, i tried it on codeblocks and i got "increment of read-only parameter 'd'". I also used <code>typedef BYTE* bytes</code> but got the same error.</p>
  
  <p>So whats going on here,Why i can modify the 'c' but not 'd' ?</p>