PRB: Trouble Enumerating a Remote Server's Ports in Windows 95

ID: Q150522


The information in this article applies to:


SYMPTOMS

In Windows 95, when a valid remote server name is specified in the first parameter, the EnumPorts API fails and GetLastError reports error 0x87 (Invalid Parameter). The EnumPorts API succeeds in enumerating local ports when NULL is passed as the first parameter.


CAUSE

By design, the built-in print providers in Windows 95 do not support remote enumeration of ports.


RESOLUTION

Alternate print providers can be installed that do support remote enumeration of ports. For information on creation and installation of print providers in Windows 95, see the Windows 95 DDK.


STATUS

This behavior is by design.

This behavior is by design.

Additional query words: remote network list port permission


Keywords          : kbgraphic kbSDKWin32 kbWinOS95 kbDSupport 
Version           : winnt:
Platform          : winnt 
Issue type        : kbprb 

Last Reviewed: July 6, 1999