大网数据广告活动
账户与安全

Device-Redirecting Functions

· 52CE 我爱测

The device-redirecting functions redirect standard MS-DOS devices, drive letters and LPT ports. This enables applications running on the system to use the devices and access the network in a totally transparent manner.

The device-redirecting functions redirect standard MS-DOS devices, drive letters and LPT ports. This enables applications running on the system to use the devices and access the network in a totally transparent manner.

Function Description
NPAddConnection Redirects or connects a local device to a network resource.
NPAddConnection3 Performs the same action as NPAddConnection, but lets the user specify which window should own any dialog boxes and how the connection should be established.
NPCancelConnection Breaks a network connection. The changes are remembered if a device is disconnected unless the connection is a deviceless connection.
NPGetConnection Returns information about a connection.
NPGetConnection3 Returns information about a connection, even if the connection is currently disconnected.
NPGetConnectionPerformance Returns performance information about a connection.
NPGetUniversalName Returns the remote or local universal name, in the format specified during the function call.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。