次の方法で共有


RNDIS_PDD_CHARACTERISTICS (Windows Embedded CE 6.0)

1/6/2010

This structure is used to specify the PDD functions used to handle RNDIS messages and data packets.

Syntax

struct RNDIS_PDD_CHARACTERISTICS {
  PFN_PDD_SEND_RNDIS_MESSAGE SendRndisMessageHandler;
  PFN_PDD_SEND_RNDIS_PACKET SendRndisPacketHandler;
  PFN_PDD_INDICATE_RNDIS_PACKET_COMPLETE 
    IndicateRndisPacketCompleteHandler;
  PFN_PDD_SET SetHandler;
  PFN_PDD_GET GetHandler;
  PFN_PDD_ISR ISRHandler;
  DWORD dwIRQ;
  DWORD dwMaxRx;
  DWORD dwBaseAddr;
};

Members

  • SendRndisMessageHandler
    Required function MDD uses to send a remote NDIS message.
  • SendRndisPacketHandler
    Required function MDD uses to send a remote NDIS packet.
  • IndicateRndisPacketCompleteHandler
    Required function MDD uses to return the remote NDIS packet indicated by PDD in MddIndicateRndisPacket.
  • SetHandler
    Required function MDD uses to set miscellaneous features of the PDD.
  • GetHandler
    Required function MDD uses to query features PDD supports.
  • ISRHandler
    Required function MDD uses to call PDD when interrupt occurs.
  • dwIRQ
    The hardware interrupt number used.
  • dwMaxRx
    For PDD to inform MDD on how much data it can receive in one RNDIS packet transfer. This number determines the number of bytes allocated in one call to MDDAllocMem.
  • dwBaseAddr
    The hardware IO base address used.
  • bPCIDevice
    Set to TRUE by PDD if hardware is PCI based device, FALSE otherwise. If this is set to TRUE, then PDD should fill up the PortIsIO, UseMaskReg, PortAddr, PortSize, Mask, MaskAddr in this structure. For more information about ISR Handlers for PCI devices, see Installable ISRs and Device Drivers.

Requirements

Header rndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Remote NDIS Structures
MddIndicateRndisPacket
MDDAllocMem
RNDIS_PACKET

Concepts

Installable ISRs and Device Drivers