Commit c9516970 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ndis.sys: Add NdisAllocateSpinLock stub.

parent 9fb780ec
......@@ -43,3 +43,8 @@ NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG
FIXME("(%p, %u, %u): stub\n", address, length, tag);
return NDIS_STATUS_FAILURE;
}
void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *lock)
{
FIXME("(%p): stub\n", lock);
}
......@@ -16,7 +16,7 @@
@ stub NdisAllocatePacket
@ stub NdisAllocatePacketPool
@ stub NdisAllocatePacketPoolEx
@ stub NdisAllocateSpinLock
@ stdcall NdisAllocateSpinLock(ptr)
@ stub NdisAnsiStringToUnicodeString
@ stub NdisBufferLength
@ stub NdisBufferVirtualAddress
......
......@@ -23,8 +23,15 @@
typedef void *NDIS_HANDLE, *PNDIS_HANDLE;
typedef int NDIS_STATUS, *PNDIS_STATUS;
typedef struct _NDIS_SPIN_LOCK
{
KSPIN_LOCK SpinLock;
KIRQL OldIrql;
} NDIS_SPIN_LOCK, *PNDIS_SPIN_LOCK;
#define NDIS_STATUS_FAILURE ((NDIS_STATUS) STATUS_UNSUCCESSFUL)
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **, UINT, ULONG);
void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *);
#endif /* _NDIS_ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment