// ndis.h
FREE_SHARED_MEMORY_HANDLER FreeSharedMemoryHandler;
VOID FreeSharedMemoryHandler(
[in] NDIS_HANDLE ProviderContext,
[in] NDIS_HANDLE SharedMemoryProviderContext
)
{...}
View the official Windows Driver Kit DDI reference
No description available.
The NetFreeSharedMemory function (FREE_SHARED_MEMORY_HANDLER entry point) is called by NDIS when a driver frees shared memory from a shared memory provider.
ProviderContext
[in]An NDIS_HANDLE to a block of driver-allocated context information that identifies the provider. The provider supplied this information in the ProviderContext member of the NDIS_SHARED_MEMORY_PROVIDER_CHARACTERISTICS structure.
SharedMemoryProviderContext
[in]A handle for a context area that identifies the shared memory block. This is the handle that the shared memory provider supplied at the pSharedMemoryProviderContext parameter of the NetAllocateSharedMemory function.
NDIS calls the NetFreeSharedMemory function of a shared memory provider when a driver calls the NdisFreeSharedMemory function.
The shared memory provider specified the entry point (FREE_SHARED_MEMORY_HANDLER) for NetFreeSharedMemory in the NDIS_SHARED_MEMORY_PROVIDER_CHARACTERISTICS structure.
NDIS_SHARED_MEMORY_PROVIDER_CHARACTERISTICS