title: How I can define the IOCTL_ATA_PASS_THROUGH in delphi?
body: <p>I'm working with the  <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/aa363216%28v=vs.85%29.aspx" rel="nofollow">DeviceIoControl</a> function and I need pass the <code>IOCTL_ATA_PASS_THROUGH</code> value to that function. I can't found any delphi translatation for this constant, just i found this C++ definition.</p>
  
  <pre><code># define IOCTL_ATA_PASS_THROUGH  CTL_CODE(IOCTL_SCSI_BASE, 0x040B, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
  </code></pre>
  
  <p>but i have problems to translate that value to delphi using the <code>CTL_CODE</code> macro. the question is how i can define the IOCTL_ATA_PASS_THROUGH in delphi?</p>