- Notifications
You must be signed in to change notification settings - Fork526
Open
Description
How to Reproduce
- Use File Explorer map a memfs64 file system to X:
- Calling the sample application and pass the "X:"
The source code of sample application are list below:
int wmain(int argc, wchar_t** argv) {std::wstring filename = std::wstring(argv[1]);WCHAR buffer[MAX_PATH];DWORD size = MAX_PATH;DWORD ret = WNetGetUniversalNameW(filename.c_str(), REMOTE_NAME_INFO_LEVEL, buffer, &size);if (ret != NO_ERROR) {auto lastError = GetLastError();std::wcout << L"Failed to get universal name W, error: " << ret << L",lasterror=" << lastError << std::endl;return lastError;}else {std::wcout << L"REMOTE name: " << buffer << std::endl;}}
Behaviors
Expected:
- call WNetGetUniversalNameW ok
- I also tested another network drive which is a Samba client, The API call worked without error.
Actual:
- Output: error code 1203
Environment
- OS version and build: win11 pro 22631.4571
- WinFsp version and build: 23075
Metadata
Metadata
Assignees
Labels
No labels