Thread: Error using "GetVolumeInformation"

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

    Error using "GetVolumeInformation"

    Hi all,

    I´m 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 IDE´s controller serial number ? Would it work with network drives ?

    Thanks for the help.

    Claudio Gualberto.

Popular pages Recent additions subscribe to a feed