Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This function allocates the number of bytes needed for one RNDIS packet transfer.
PBYTE MDDAllocMem(void);
Parameters
None.
Return Values
A pointer to dwMaxRx number of bytes in a RNDIS_PDD_CHARACTERISTICS structure that indicates success. NULL indicates failure.
Remarks
During initialization, the MDD initializes PDD via the PDDInit function. On successful initialization, the PDD returns the RNDIS_PDD_CHARACTERISTICS structure with dwMaxRx indicating the maximum transfer size PDD can receive from the RNDIS host.
Generally dwMaxRx should be the same value that PDD returns in PDD_Get for REQ_ID_DEVICE_MAX_RX request ID.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Rndismini.h.
See Also
MDDAllocDataWrapper | RNDIS_PDD_CHARACTERISTICS
Send Feedback on this topic to the authors