PyIExternalConnection.AddConnection

int = AddConnection(extconn, reserved )

Increments an object's count of its strong external connections (links).

Parameters

extconn : int

Type of external connection to the object. The only type of external connection currently supported by this interface is strong, which means that the object must remain alive as long as this external connection exists. Strong external connections are represented by the value EXTCONN_STRONG = 0x0001, which is defined in the enumeration EXTCON

reserved=0 : int

A reserved parameter

Return Value

The result is the number of reference counts on the object; used for debugging purposes only.