UNIT_RegisterSubunit_Request (Windows CE 5.0)

Send Feedback

This structure is used by IOCTL_UNIT_REGISTER_SUBUNIT.

typedef struct {ULONG urs_SubunitType;PVOID urs_Context;PDEVICE_OBJECT urs_ParentDeviceObject;UNIT_AllocateLocalPlugCB* urs_AllocateLocalPlug;UNIT_FreeLocalPlugCB* urs_FreeLocalPlug;UNIT_ConnectToRemotePlugCB* urs_ConnectToRemotePlug;UNIT_DisconnectFromRemotePlugCB* urs_DisconnectFromRemotePlug;} UNIT_RegisterSubunit_Request;

Members

  • urs_SubunitType
    AV/C subunit identifier for the subunit driver.
  • urs_ParentDeviceObject
    Parent device of your subunit driver. AVC_STREAM or another filter driver.
  • urs_Context
    Context value that the unit filter driver is to pass in as an argument into the urs_ConnectToPlug and urs_DisconnectFromPlug callback functions.
  • urs_AllocateLocalPlug
    Pointer to a function called when an outside node has requested that the registered subunit allocate a local plug.
  • urs_FreeLocalPlug
    Pointer to a function called when an outside node has requested that the registered subunit free a previously allocated local plug.
  • urs_ConnectToRemotePlug
    Pointer to a function called when an outside node has requested that the registered subunit launch a connection attempt to a particular plug on an arbitrary node.
  • urs_DisconnectFromRemotePlug
    Pointer to a function called when an outside node has requested that the registered subunit launch a disconnection attempt from a particular plug on an arbitrary node.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Avc_unit.h.

See Also

IOCTL_UNIT_REGISTER_SUBUNIT

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.