ndis.sys: Add NdisAllocateSpinLock stub.
Signed-off-by: Austin English <austinenglish@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9fb780ec08
commit
c9516970f9
|
@ -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_ */
|
||||
|
|
Loading…
Reference in New Issue