Notes
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
3/26/2014
This function allocates the number of bytes needed for one RNDIS packet transfer.
Syntax
PBYTE MDDAllocMem(void);
Parameters
None.
Return Value
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
Header |
rndismini.h |
See Also
Reference
Remote NDIS Functions
MDDAllocDataWrapper
RNDIS_PDD_CHARACTERISTICS