|
From: | Jason Rumney |
Subject: | Re: testing for a remote file to include file on a Windows mappeddrive |
Date: | Fri, 25 Jan 2008 22:18:21 +0000 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Drew Adams wrote:
Googling showed that local drive vs mapped network drive can be tested, in C# at least (using GetDriveType() or DriveInfo.DriveType). I didn't come across a way to test it from C, however.
GetDriveType can be called from C. Emacs already uses it in w32.c, but only to determine which drives are fixed, thus their information can be cached indefinitely.
[Prev in Thread] | Current Thread | [Next in Thread] |