Reference: CancelConnection
Author: Ellen Siever, Stephen Spainhour & Nathan Patwardhan
Date: 1999-07-02T01:59:55Z

#

| Chapter 19 Win32 Modules and Extensions |

## CancelConnection

    CancelConnection (name, connection, force)

Cancels a connection to a resource connected to the local device specified by name. connection indicates the type of connection, with 1 being a persistent connection and 0 being non-persistent. The force value is a Boolean indicating whether or not to force the connection.

Reference: AddConnection |  | Reference: WNetGetLastError