Question abou AIP function: GetDiskFreeSpaceEx(...)
From: Jeffrey Meng (mengjinjie_at_yahoo.com)
Date: 09/01/04
- Next message: Jonathan Arnold: "Re: Catching monitor sleep"
- Previous message: Thomas Johansen: "MajorFunction IRP_MJ_POWER does not get called"
- Next in thread: PP: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Reply: PP: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Reply: Joe Richards [MVP]: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 1 Sep 2004 10:36:39 -0400
Hi All,
I am experiencing a problem here when using GetDiskFreeSpaceEx(...) API
funcion.
The scenario is simple:
(1). GetDiskFreeSpaceEx (\\127.0.0.1\C$\, ...) works.
(2). GetDiskFreeSpaceEx (\\localhost\C$\...) fails, and Last Error Code =
52.
(52 = You were not connected because a duplicate name exists on the network.
Go to System in Control Panel to change the computer name and try again.)
Could anyone tell me why (2) doesn't work? Do I need to conver "localhost"
to "127.0.0.1" to get it to work?
Thanks a lot.
Best,
Jeffrey Meng
- Next message: Jonathan Arnold: "Re: Catching monitor sleep"
- Previous message: Thomas Johansen: "MajorFunction IRP_MJ_POWER does not get called"
- Next in thread: PP: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Reply: PP: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Reply: Joe Richards [MVP]: "Re: Question abou AIP function: GetDiskFreeSpaceEx(...)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|