KSPROPERTY_EXTDEVICE_S structure (ksmedia.h)
The KSPROPERTY_EXTDEVICE_S structure describes an external device and its capabilities.
Syntax
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;
Members
Property
Specifies an initialized KSPROPERTY structure that describes the property set, property ID, and request type.
u
u.Capabilities
Describes the external device's capabilities.
u.DevPort
Specifies the external device's port. For example:
DEV_PORT_1394
DEV_PORT_USB
u.PowerState
Specifies the external device's power state:
ED_POWER_ON
ED_POWER_STANDBY
ED_POWER_OFF
u.pawchString[MAX_PATH]
Specifies the external device's ID and version.
u.NodeUniqueID[2]
Specifies the external device's unique node Id.
Remarks
Any ED_Xxx or DEV_PORT_Xxx tokens are defined in xprtdefs.h in the Microsoft DirectX SDK.
Requirements
Requirement | Value |
---|---|
Header | ksmedia.h (include Ksmedia.h) |