Commit 2bb17745 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

ndis.sys: Add NdisAllocateMemoryWithTag stub.

parent de712713
......@@ -26,6 +26,7 @@
#include "winbase.h"
#include "winternl.h"
#include "ddk/wdm.h"
#include "ddk/ndis.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(ndis);
......@@ -36,3 +37,9 @@ NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
return STATUS_SUCCESS;
}
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag)
{
FIXME("(%p, %u, %u): stub\n", address, length, tag);
return NDIS_STATUS_FAILURE;
}
......@@ -12,7 +12,7 @@
@ stub NdisAllocateBufferPool
@ stub NdisAllocateFromBlockPool
@ stub NdisAllocateMemory
@ stub NdisAllocateMemoryWithTag
@ stdcall NdisAllocateMemoryWithTag(ptr long long)
@ stub NdisAllocatePacket
@ stub NdisAllocatePacketPool
@ stub NdisAllocatePacketPoolEx
......
......@@ -276,6 +276,7 @@ HEADER_SRCS = \
ddk/hidtypes.h \
ddk/imm.h \
ddk/mountmgr.h \
ddk/ndis.h \
ddk/ntddcdvd.h \
ddk/ntddk.h \
ddk/ntddser.h \
......
/*
* ndis.h
*
* Copyright 2015 Austin English
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _NDIS_
#define _NDIS_
typedef void *NDIS_HANDLE, *PNDIS_HANDLE;
typedef int NDIS_STATUS, *PNDIS_STATUS;
#define NDIS_STATUS_FAILURE ((NDIS_STATUS) STATUS_UNSUCCESSFUL)
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **, UINT, ULONG);
#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