Now that you say it, it's obvious that it's a bitmask as it's about capabilities, which each drive can have in various combined ways; I've missed it out, but it wouldn't be bad to add at least a comment about this like <br>
<br>/* Drive capabilities bitmask */<br><br>Thanks for clearing it up.<br><br><div><span class="gmail_quote">On 11/26/06, <b class="gmail_sendername">Artem Kachitchkine</b> &lt;<a href="mailto:Artem.Kachitchkin@sun.com">Artem.Kachitchkin@sun.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt;&nbsp;&nbsp; LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRDL&nbsp;&nbsp;= 0x00200,<br>&gt;&nbsp;&nbsp; LIBHAL_DRIVE_CDROM_CAPS_DVDPLUSRWDL = 0x00201,
<br>&gt;&nbsp;&nbsp; LIBHAL_DRIVE_CDROM_CAPS_BDROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0x00400,<br>&gt;&nbsp;&nbsp; LIBHAL_DRIVE_CDROM_CAPS_BDR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 0x00800,<br><br>Nope, it's a bitmask.<br><br>-Artem.<br><br></blockquote></div><br>