The CONNECTION_INFO_0 structure specifies the identification number of a connection.
typedef struct _CONNECTION_INFO_0 { DWORD coni0_id;} CONNECTION_INFO_0, *PCONNECTION_INFO_0, *LPCONNECTION_INFO_0;
NetConnectionEnum