mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-15 16:22:43 -05:00
dll: FspFileSystemSetMountPoint: now supports directories
This commit is contained in:
@ -100,12 +100,7 @@ DWORD APIENTRY NPGetCaps(DWORD Index)
|
||||
|
||||
static inline BOOLEAN FspNpCheckLocalName(PWSTR LocalName)
|
||||
{
|
||||
return 0 != LocalName &&
|
||||
(
|
||||
(L'A' <= LocalName[0] && LocalName[0] <= L'Z') ||
|
||||
(L'a' <= LocalName[0] && LocalName[0] <= L'z')
|
||||
) &&
|
||||
L':' == LocalName[1] || L'\0' == LocalName[2];
|
||||
return 0 != LocalName && FspPathIsDrive(LocalName);
|
||||
}
|
||||
|
||||
static inline BOOLEAN FspNpCheckRemoteName(PWSTR RemoteName)
|
||||
|
Reference in New Issue
Block a user