Note NDIS 5. x has been deprecated and is superseded by NDIS 6. x. For new NDIS driver development, see Network Drivers Starting with Windows Vista. For information about porting NDIS 5. x drivers to NDIS 6. x, see Porting NDIS 5.x Drivers to NDIS 6.0.
NdisMCompleteBufferPhysicalMapping flushes any data remaining in a bus-master NIC's internal cache at the end of a transfer that was set up with NdisMStartBufferPhysicalMapping.
VOID NdisMCompleteBufferPhysicalMapping( _In_ NDIS_HANDLE MiniportAdapterHandle, _In_ PNDIS_BUFFER Buffer, _In_ ULONG PhysicalMapRegister );
- MiniportAdapterHandle [in]
Specifies the handle input to MiniportInitialize.
- Buffer [in]
Pointer to the buffer descriptor, for a shared memory buffer previously mapped with NdisMStartBufferPhysicalMapping.
- PhysicalMapRegister [in]
Specifies the index of the map register used for the mapping. This value is identical to the PhysicalMapRegister index passed with the descriptor at Buffer in the preceding call to NdisMStartBufferPhysicalMapping.
PhysicalMapRegister is a zero-based value that falls within the index range for the map registers the miniport driver allocated during initialization with NdisMAllocateMapRegisters.
|Not supported for NDIS 6.0 drivers in Windows Vista. Use NdisMFreeNetBufferSGListinstead. Supported for NDIS 5.1 drivers in Windows Vista and Windows XP.|