[Qt-interest] How can I get the hard disk serial number in Windows ?

Bill KING bill.king at trolltech.com
Tue Jun 30 06:36:19 CEST 2009


This is stock windows api functionality. If you #include <windows.h>
then this should also work under mingw as well.

Mhayk Whandson wrote:
> Hi Bill, I would like just using g++ compiler, because I am developing
> my project using Qt Creator.
>
> best regards,
>
> On Tue, Jun 30, 2009 at 12:13 AM, Bill KING<bill.king at trolltech.com> wrote:
>   
>> Mhayk Whandson wrote:
>>     
>>> Hi all,
>>>
>>> Qt have a class which get the hard disk serial number ? Anyone have an
>>> idea how can I get in Microsoft Windows without to use WMI.
>>>
>>> regards,
>>>
>>>
>>>       
>> http://msdn.microsoft.com/en-us/aa364993%28VS.85%29.aspx
>>
>> GetVolumeInformation function of the winapi.
>>
>>
>> --
>> Bill King, Software Engineer
>> Qt Software, Nokia Pty Ltd
>> Brisbane Office
>>
>>
>>     
>
>
>
>   


-- 
Bill King, Software Engineer
Qt Software, Nokia Pty Ltd
Brisbane Office




More information about the Qt-interest-old mailing list