2014-10-29 18:30:39 +01:00
|
|
|
/*
|
|
|
|
* ndis.sys
|
|
|
|
*
|
|
|
|
* Copyright 2014 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
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2015-02-28 18:30:59 +01:00
|
|
|
#include "ntstatus.h"
|
|
|
|
#define WIN32_NO_STATUS
|
2014-10-29 18:30:39 +01:00
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2015-02-28 18:30:59 +01:00
|
|
|
#include "winternl.h"
|
|
|
|
#include "ddk/wdm.h"
|
2015-12-16 06:56:01 +01:00
|
|
|
#include "ddk/ndis.h"
|
2015-02-28 18:30:59 +01:00
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(ndis);
|
2014-10-29 18:30:39 +01:00
|
|
|
|
2015-02-28 18:30:59 +01:00
|
|
|
NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
|
2014-10-29 18:30:39 +01:00
|
|
|
{
|
2015-02-28 18:30:59 +01:00
|
|
|
TRACE("(%p, %s)\n", driver, debugstr_w(path->Buffer));
|
2014-10-29 18:30:39 +01:00
|
|
|
|
2015-02-28 18:30:59 +01:00
|
|
|
return STATUS_SUCCESS;
|
2014-10-29 18:30:39 +01:00
|
|
|
}
|
2015-12-16 06:56:01 +01:00
|
|
|
|
|
|
|
NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag)
|
|
|
|
{
|
|
|
|
FIXME("(%p, %u, %u): stub\n", address, length, tag);
|
|
|
|
return NDIS_STATUS_FAILURE;
|
|
|
|
}
|