Shell32PathIsSlow Method
Determines whether a file path is a high-latency network connection.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool PathIsSlow(
string file,
uint attr = 4294967295
)
<DllImportAttribute("Shell32.dll", CharSet := CharSet.Auto, BestFitMapping := false,
ThrowOnUnmappableChar := true, SetLastError := true>]
Public Shared Function PathIsSlow (
file As String,
Optional attr As UInteger = 4294967295
) As Boolean
Dim file As String
Dim attr As UInteger
Dim returnValue As Boolean
returnValue = Shell32.PathIsSlow(file,
attr)
public:
[DllImportAttribute(L"Shell32.dll", CharSet = CharSet::Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)]
static bool PathIsSlow(
String^ file,
unsigned int attr = 4294967295
)
[<DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false,
ThrowOnUnmappableChar = true, SetLastError = true)>]
static member PathIsSlow :
file : string *
?attr : uint32
(* Defaults:
let _attr = defaultArg attr 4294967295
*)
-> bool
No code example is currently available or this language may not be supported.
- file String
-
A pointer to a null-terminated string that contains the fully qualified path of the file.
- attr UInt32 (Optional)
-
The file attributes, if known;
otherwise, pass –1 and this function gets the attributes by calling GetFileAttributes function.
Boolean
Returns
if the connection is high-latency; otherwise,
.