UNIT_AllocateLocalPlug_Request (Windows CE 5.0)
This structure is used by IOCTL_UNIT_ALLOCATE_LOCAL_PLUG.
typedef struct {PVOID ualp_RegistrationToken;STREAM_MediaType ualp_MediaType;ULONG ualp_Direction;ULONG ualp_Flags;ULONG ualp_SubunitPlugID;union { ULONG ualp_MaximumThroughput; struct {ULONG ualp_ClusterDimension;ULONG ualp_SampleFrequency; }; };} UNIT_AllocateLocalPlug_Request;
Members
- ualp_RegistrationToken
Registration token value from a previous IOCTL_UNIT_REGISTER_SUBUNIT command. - ualp_MediaType
Defines the digital media type that the subunit can receive, for an input plug, or transmit for an output plug. Set to one of the values in the STREAM_MediaType enumeration. - ualp_Direction
Defines whether the subunit intends to utilize the plug as an input plug, UNIT_PLUG_Direction_Input, or an output plug UNIT_PLUG_Direction_Output. - ualp_Flags
Set to one or more of the following values:- UNIT_LOCALPLUG_FLAG_PERMANENT
- UNIT_LOCALPLUG_FLAG_LOCKED
- ualp_SubunitPlugID
Subunit plug identifier. - ualp_MaximumThroughput
Defines the maximum number of bits per second expected to be transmitted through this plug. This is applicable only for MPEG or DSS output plugs. If this plug will not be used for those cases, set to 0. - ualp_ClusterDimension
Defines the cluster dimension of the data expected to be transmitted over this plug. This is applicable only for audio output plugs. If this plug will not be used for those cases, set to 0. - ualp_SampleFrequency
Defines the sample frequency in hertz of the data expected to be transmitted over this plug. This is applicable only for audio output plugs. If this plug will not be used for those cases, set to 0. Otherwise, set to one of the values in the AUDIO_SampleFrequency enumeration.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_unit.h.
See Also
AUDIO_SampleFrequency | IOCTL_UNIT_ALLOCATE_LOCAL_PLUG | IOCTL_UNIT_REGISTER_SUBUNIT | STREAM_MediaType
Send Feedback on this topic to the authors