ddraw/tests: Add some tests for the properties of the DC returned by surface GetDC().
[wine.git] / dlls / ndis.sys / main.c
blob90c8c3cc886b380a2f78fee16dbeffd674350ece
1 /*
2 * ndis.sys
4 * Copyright 2014 Austin English
5 * Copyright 2016 André Hentschel
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
22 #include <stdarg.h>
24 #include "ntstatus.h"
25 #define WIN32_NO_STATUS
26 #include "windef.h"
27 #include "winbase.h"
28 #include "winternl.h"
29 #include "ddk/wdm.h"
30 #include "ddk/ndis.h"
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(ndis);
35 NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
37 TRACE("(%p, %s)\n", driver, debugstr_w(path->Buffer));
39 return STATUS_SUCCESS;
42 NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG tag)
44 FIXME("(%p, %u, %u): stub\n", address, length, tag);
45 return NDIS_STATUS_FAILURE;
48 void WINAPI NdisAllocateSpinLock(NDIS_SPIN_LOCK *lock)
50 FIXME("(%p): stub\n", lock);
53 void WINAPI NdisRegisterProtocol(NDIS_STATUS *status, NDIS_HANDLE *handle,
54 NDIS_PROTOCOL_CHARACTERISTICS *prot, UINT len)
56 FIXME("(%p, %p, %p, %u): stub\n", status, handle, prot, len);
57 *status = NDIS_STATUS_FAILURE;
60 CCHAR WINAPI NdisSystemProcessorCount(void)
62 SYSTEM_INFO si;
64 TRACE("()\n");
65 GetSystemInfo(&si);
67 return si.dwNumberOfProcessors;