Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
There are no samples available for Windows Networking API/Redirector.
The following table shows Windows Networking API/Redirector code examples; these are not complete samples.
Code example description | Topic |
---|---|
A sample function, ErrorHandler, for application-defined error handling. | Retrieving Network Errors |
Shows how to identify available network resources. | Determining Available Network Resources |
Shows how to enumerate a shared directory on a server. | Determining Available Network Resources |
Shows how to enumerate servers in a domain. | Determining Available Network Resources |
Shows how an application-defined function, EnumerateFunc, enumerates all the resources in a subdirectory on a network. | Determining Available Network Resources |
Shows how WNetAddConnection3 is used to establish a connection with a network resource described by a NETRESOURCE structure. | Establishing a Network Connection |
Shows how WNetConnectionDialog1 is called to create a dialog box that displays all disk resources on a network. | Establishing a Network Connection |
Shows how WNetGetConnection retrieves the network name of a local device called MyDevice. | Retrieving a Connection Name |
Shows how WNetGetUser function retrieves a user name based on a device name called MyDevice | Retrieving a User Name |
Shows how WNetCancelConnection2 is used to disconnect from a network resource called MyDevice. | Terminating a Network Connection |
See Also
Windows Networking API/Redirector
Send Feedback on this topic to the authors