PRB: GetVolumeInformation() Fails with UNC Name
Article ID: 119219
Article Last Modified on 11/21/2006
APPLIES TO
- Microsoft Win32 Application Programming Interface, when used with:
- Microsoft Windows NT Server 3.5
- Microsoft Windows NT Server 3.51
- Microsoft Windows NT Workstation 3.5
- Microsoft Windows NT Workstation 3.51
This article was previously published under Q119219
SYMPTOMS
GetVolumeInformation() fails and GetLastError() returns 123
(ERROR_INVALID_NAME) if a UNC name is used. The UNC name has the form
\\<SERVER>\<SHARE>.
RESOLUTION
GetVolumeInformation() requires an extra backslash with UNC names, so that
the name has the form \\<SERVER>\<SHARE>\.
Additional query words: 3.10 3.50 4.00
Keywords: kbprb KB119219