// ksmedia.h
typedef struct {
KSPROPERTY Property;
union {
DEVCAPS Capabilities;
ULONG DevPort;
ULONG PowerState;
WCHAR pawchString[MAX_PATH];
DWORD NodeUniqueID[2];
} u;
} KSPROPERTY_EXTDEVICE_S, *PKSPROPERTY_EXTDEVICE_S;
View the official Windows Driver Kit DDI referenceNo description available.
The KSPROPERTY_EXTDEVICE_S structure describes an external device and its capabilities.
PropertySpecifies an initialized KSPROPERTY structure that describes the property set, property ID, and request type.
uu.CapabilitiesDescribes the external device's capabilities.
u.DevPortSpecifies the external device's port. For example:
DEV_PORT_1394
DEV_PORT_USB
u.PowerStateSpecifies the external device's power state:
ED_POWER_ON
ED_POWER_STANDBY
ED_POWER_OFF
u.pawchStringSpecifies the external device's ID and version.
u.NodeUniqueIDSpecifies the external device's unique node Id.
Any ED_Xxx or DEV_PORT_Xxx tokens are defined in xprtdefs.h in the Microsoft DirectX SDK.