Knowledge Base

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

Article ID: 150522

Article Last Modified on 11/21/2006


APPLIES TO


This article was previously published under Q150522

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: kbprb kbgraphic KB150522