DOC: AddPort, ConfigurePort, DeletePort Fail Remotely (131223)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), 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 Q131223
3.50 3.51 | 4.00
WINDOWS NT | WINDOWS
kbprint kbdocerr
SUMMARY
Using AddPort, ConfigurePort, or DeletePort with the Universal Naming
Convention (UNC) name of a remote server as the first parameter results in
a return value of FALSE. This indicates that a failure has occurred. The
error returned by GetLastError is ERROR_NOT_SUPPORTED. If the first
parameter is the UNC name of the local machine or NULL, the functions
succeed.
Calls to remote servers via AddPort, ConfigurePort and DeletePort are not
supported. The documentation gives the impression that the UNC name for a
remote server is permissible as the first parameter.
Use the UNC name to the local server or NULL as the first parameter.
MORE INFORMATION
These functions display a dialog associated with the hWnd that is supplied
in the second parameter. Because the call displays a dialog box and
requires a handle to a window in the second parameter, it is only supported
locally.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbdocfix KB131223 |
---|
|