The KSPROPERTY_GENERAL_COMPONENTID property is an optional property that allows a client to access general component information stored in the KSCOMPONENTID structure. A client can access information in this property using the following sample code:
DeviceIoControl(
DeviceHandle,
IOCTL_KS_PROPERTY,
&Property,
sizeof(KSPROPERTY),
&Component,
sizeof(KSCOMPONENTID),
&BytesReturned,
&Overlapped);