Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
c9516970
Commit
c9516970
authored
Jan 05, 2016
by
Austin English
Committed by
Alexandre Julliard
Jan 29, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndis.sys: Add NdisAllocateSpinLock stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9fb780ec
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
main.c
dlls/ndis.sys/main.c
+5
-0
ndis.sys.spec
dlls/ndis.sys/ndis.sys.spec
+1
-1
ndis.h
include/ddk/ndis.h
+7
-0
No files found.
dlls/ndis.sys/main.c
View file @
c9516970
...
...
@@ -43,3 +43,8 @@ NDIS_STATUS WINAPI NdisAllocateMemoryWithTag(void **address, UINT length, ULONG
FIXME
(
"(%p, %u, %u): stub
\n
"
,
address
,
length
,
tag
);
return
NDIS_STATUS_FAILURE
;
}
void
WINAPI
NdisAllocateSpinLock
(
NDIS_SPIN_LOCK
*
lock
)
{
FIXME
(
"(%p): stub
\n
"
,
lock
);
}
dlls/ndis.sys/ndis.sys.spec
View file @
c9516970
...
...
@@ -16,7 +16,7 @@
@ stub NdisAllocatePacket
@ stub NdisAllocatePacketPool
@ stub NdisAllocatePacketPoolEx
@ st
ub NdisAllocateSpinLock
@ st
dcall NdisAllocateSpinLock(ptr)
@ stub NdisAnsiStringToUnicodeString
@ stub NdisBufferLength
@ stub NdisBufferVirtualAddress
...
...
include/ddk/ndis.h
View file @
c9516970
...
...
@@ -23,8 +23,15 @@
typedef
void
*
NDIS_HANDLE
,
*
PNDIS_HANDLE
;
typedef
int
NDIS_STATUS
,
*
PNDIS_STATUS
;
typedef
struct
_NDIS_SPIN_LOCK
{
KSPIN_LOCK
SpinLock
;
KIRQL
OldIrql
;
}
NDIS_SPIN_LOCK
,
*
PNDIS_SPIN_LOCK
;
#define NDIS_STATUS_FAILURE ((NDIS_STATUS) STATUS_UNSUCCESSFUL)
NDIS_STATUS
WINAPI
NdisAllocateMemoryWithTag
(
void
**
,
UINT
,
ULONG
);
void
WINAPI
NdisAllocateSpinLock
(
NDIS_SPIN_LOCK
*
);
#endif
/* _NDIS_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment