// avc.h
typedef struct _AVCPRECONNECTINFO {
GUID DeviceID;
UCHAR SubunitAddress[AVCCONNECTINFO_MAX_SUBUNITADDR_LEN];
ULONG SubunitPlugNumber;
KSPIN_DATAFLOW DataFlow;
ULONG Flags;
ULONG UnitPlugNumber;
} AVCPRECONNECTINFO, *PAVCPRECONNECTINFO;
View the official Windows Driver Kit DDI referenceNo description available.
The AVCPRECONNECTINFO 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.
FlagsA bitmap with one or more bits set from the KSPIN_FLAG_AVC enumeration.
UnitPlugNumberThe plug number (within the subunit) described by the AVCPRECONNECTINFO structure.
This structure is used with the AVC_FUNCTION_GET_CONNECTINFO function code.
This structure is used only as member of the AVC_PRECONNECT_INFO structure. It is not used by itself.