Re: Volume Serial No



How much cases with 0 did you get? You can consider someone changed his
volume serial number using tool like this:
http://www.codeproject.com/KB/system/change_drive_sn.aspx

--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"M.Engur" <MEngur@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6194C698-5A4A-4F4A-9FC0-2873466951E3@xxxxxxxxxxxxxxxx
Hello Volodymyr ,
Thanks for your kind help.
Now I am more delighted, but my question is still unanswered.
Using "GetVolumeInformation" api's "lpVolumeSerialNumber" returns 0 from
some computer. Acording to the info you provided this api should return a
valid numeric charecter in dword.
Why is that occuring or my understanding for this subject is wrong ?
Regards.

M.Engur

"Volodymyr M. Shcherbyna" wrote:

http://www.digital-detective.co.uk/documents/Volume%20Serial%20Numbers.pdf

--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"M.Engur" <MEngur@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:529D7B4B-749E-4ECF-B95C-3718B2D3DA14@xxxxxxxxxxxxxxxx
On some computers we are getting 0 (zero) as volume serial number. We
are
wondering why it is so. The serial number should allways be dword and
numeric.
That is why we want to know its logic and method whether it is allways
produced as a number or something else.

M. Engur


"Volodymyr M. Shcherbyna" wrote:

Why do you need to know the algorithm? If its undocumented, it may be
changed, and it can be different in different OS.

--
V.
This posting is provided "AS IS" with no warranties, and confers no
rights.
"M.Engur" <MEngur@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6E4045CD-2DF0-4716-895D-F2559D72A635@xxxxxxxxxxxxxxxx
Kerem,

In case of using "GetVolumeInformation" api's
"lpVolumeSerialNumber" ,
what
is the logic or method that windows uses to assign volume serial
number
to a
device ?

Regards.
M.Engur

"Kerem Gumrukcu" wrote:

AFAIK the Serial Num is a hangover
from DOS decade to be aware of a disk
change,...

To get this data either use WMI, DeviceIoControl,
or GetVolumeInformation to request this information,...

Regards

Kerem

--
-----------------------
Beste Grusse / Best regards / Votre bien devoue
Kerem Gumrukcu
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
-----------------------
"This reply is provided as is, without warranty express or
implied."
"M.Engur" <MEngur@xxxxxxxxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:A812A44B-9B23-418A-AF71-4C9AE50C9591@xxxxxxxxxxxxxxxx
When windows formats a disk it gives a volume serial number to
that
disk
or
to a partition. What is the logic or method of assigning volume
serial
number
to the disk or to the partition ?
Kind regards.

M. Engur











.



Relevant Pages