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 resident system-space memory.
NDIS_STATUS NdisAllocateMemoryWithTag(PVOID* VirtualAddress,UINTLength,ULONGTag);
Parameters
- VirtualAddress
[out] Points to a caller-supplied variable in which this function returns the base virtual address of the allocated memory or NULL if sufficient memory is currently unavailable. - Length
[in] Specifies the size in bytes to be allocated. - Tag
Unused in Windows CE.
Return Values
The following table shows the return values for NdisAllocateMemoryWithTag.
Value | Description |
---|---|
NDIS_STATUS_SUCCESS | The caller can use the allocated memory range starting at the value returned at VirtualAddress. |
NDIS_STATUS_FAILURE | An attempt to allocate the requested memory failed. This return does not necessarily mean that a subsequent call will fail. |
Remarks
A call to NdisAllocateMemoryWithTag is equivalent to calling NdisAllocateMemory.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Ndis.h.
Link Library: Ndis.lib
See Also
NdisAllocateMemory | NdisFreeMemory | NdisMSetAttributes | NdisMSetAttributesEx
Send Feedback on this topic to the authors