// avc.h
typedef struct _AVCCONNECTINFO {
GUID DeviceID;
UCHAR SubunitAddress[AVCCONNECTINFO_MAX_SUBUNITADDR_LEN];
ULONG SubunitPlugNumber;
KSPIN_DATAFLOW DataFlow;
HANDLE hPlug;
ULONG UnitPlugNumber;
} AVCCONNECTINFO, *PAVCCONNECTINFO;
View the official Windows Driver Kit DDI referenceNo description available.
The AVCCONNECTINFO structure is used to initialize a subunit driver and establish pin connections.
DeviceIDA GUID representing the unit as a whole. All subunits within the same unit share the same GUID. No two units share the same GUID.
SubunitAddressThe encoded subunit type and subunit ID of the subunit.
SubunitPlugNumberThe plug number (within the subunit) described by the AVCPRECONNECTINFO structure.
DataFlowThe direction of data flow on this subunit plug. Destination plugs have KSPIN_DATAFLOW_IN; source plugs have KSPIN_DATAFLOW_OUT.
hPlugA plug handle obtained from 61883.sys by the intersect handler according to the bit flags set in the associated AVCPRECONNECTINFO structure for this pin. If the proposed connection is between two subunits within the same unit, this value is NULL.
UnitPlugNumberThe plug number (within the subunit) described by the AVCPRECONNECTINFO structure.
This structure is used only as member inside the AVC_SETCONNECT_INFO structure. It is not used by itself.