title: Read len bytes of a file at offset and write it to FILETIME
body: <p>Is there any possibility to read sth from a binary file when knowing only the size of the element that should be red and the offset (in hexa)?</p>
  <p>For example, if I want to read a FILETIME variable of 8 bytes, that has offset 0x001C, how do I approach this is C or C++?</p>
  <p>I tried</p>
  <pre><code>fseek(pFile, 0x001C, SEEK_SET);
  FILETIME* temp =(FILETIME*) malloc(sizeof(FILETIME));
  fscanf(pFile, &quot;%d&quot;, *temp);
  </code></pre>
  <p>but it doesn't properly work, I don't know why.</p>
  <p>Thanks</p>