Microsoft KB Archive/150522

{|
 * width="100%"|

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

 * }

Q150522

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), used with:
 * Microsoft Windows 95

-

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 kbOSWin95 kbDSupport

Issue type : kbprb

Technology : kbAudDeveloper kbWin32sSearch kbWin32API