Error using "GetVolumeInformation"

This is a discussion on Error using "GetVolumeInformation" within the Windows Programming forums, part of the Platform Specific Boards category; Hi all, Im trying to use the Win API "GetVolumeInformation" to retrieve info about a drive. The problem is when ...

  1. #1
    Registered User
    Join Date
    Aug 2003
    Posts
    2

    Error using "GetVolumeInformation"

    Hi all,

    Im trying to use the Win API "GetVolumeInformation" to retrieve info about a drive. The problem is when the drive path refers to a network drive ( Win NT mapped drive ), this way the "volume serial number" always is filled with 0 ( zero ).
    It happens only when the program is executing from a Win 98 station, everything works well on NT stations.
    How can i get the serial number of a network drive on Win98 ?

    Thanks in advance.

    Claudio Gualberto.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    From msdn for GetVolumeInformation:
    Windows Me/98/95: If the queried volume is a network drive, the serial number will not be returned.
    >> How can i get the serial number of a network drive on Win98 ?<<

    Sorry, don't have a clue.
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Registered User
    Join Date
    Aug 2003
    Posts
    2
    Well,

    Is there some way to get the IDEs controller serial number ? Would it work with network drives ?

    Thanks for the help.

    Claudio Gualberto.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21