include: Define some types before including ntddndis.h.
Note that Windows only defines some types before the include (specifically, NDIS_STATUS, NDIS_HANDLE, NDIS_STRING). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50426 Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
06a92a85ba
commit
acd9c7085d
|
@ -21,8 +21,6 @@
|
||||||
#ifndef _NDIS_
|
#ifndef _NDIS_
|
||||||
#define _NDIS_
|
#define _NDIS_
|
||||||
|
|
||||||
#include <ntddndis.h>
|
|
||||||
|
|
||||||
typedef ULONG NDIS_AF, *PNDIS_AF;
|
typedef ULONG NDIS_AF, *PNDIS_AF;
|
||||||
typedef MDL NDIS_BUFFER, *PNDIS_BUFFER;
|
typedef MDL NDIS_BUFFER, *PNDIS_BUFFER;
|
||||||
typedef void *NDIS_HANDLE, **PNDIS_HANDLE, *PNDIS_PACKET_POOL;
|
typedef void *NDIS_HANDLE, **PNDIS_HANDLE, *PNDIS_PACKET_POOL;
|
||||||
|
@ -30,6 +28,8 @@ typedef ULONG NDIS_OID, *PNDIS_OID;
|
||||||
typedef int NDIS_STATUS, *PNDIS_STATUS;
|
typedef int NDIS_STATUS, *PNDIS_STATUS;
|
||||||
typedef UNICODE_STRING NDIS_STRING, *PNDIS_STRING;
|
typedef UNICODE_STRING NDIS_STRING, *PNDIS_STRING;
|
||||||
|
|
||||||
|
#include <ntddndis.h>
|
||||||
|
|
||||||
typedef enum _NDIS_REQUEST_TYPE
|
typedef enum _NDIS_REQUEST_TYPE
|
||||||
{
|
{
|
||||||
NdisRequestQueryInformation,
|
NdisRequestQueryInformation,
|
||||||
|
|
Loading…
Reference in New Issue