dde: Fix use-after-free.
[wine.git] / dlls / ndis.sys / main.c
blobb2c1da4be1c5d0c0097e18a95600da66b4cbed64
1 /*
2 * ndis.sys
4 * Copyright 2014 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "ntstatus.h"
24 #define WIN32_NO_STATUS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winternl.h"
28 #include "ddk/wdm.h"
29 #include "ddk/ndis.h"
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(ndis);
34 NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
36 TRACE("(%p, %s)\n", driver, debugstr_w(path->Buffer));
38 return STATUS_SUCCESS;
41 NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag)
43 FIXME("(%p, %u, %u): stub\n", address, length, tag);
44 return NDIS_STATUS_FAILURE;