次の方法で共有


RNDIS_PDD_CHARACTERISTICS (Compact 2013)

3/26/2014

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.

Requirements

Header

rndis.h

See Also

Reference

Remote NDIS Structures
MddIndicateRndisPacket
MDDAllocMem
RNDIS_PACKET