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
0a5f0f74
Commit
0a5f0f74
authored
Nov 16, 2015
by
Austin English
Committed by
Alexandre Julliard
Nov 17, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add CmRegisterCallback/CmUnRegisterCallback stub.
Signed-off-by:
Austin English
<
austinenglish@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
11669fa5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
2 deletions
+24
-2
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+19
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+2
-2
wdm.h
include/ddk/wdm.h
+3
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
0a5f0f74
...
...
@@ -36,6 +36,7 @@
#include "ddk/csq.h"
#include "ddk/ntddk.h"
#include "ddk/ntifs.h"
#include "ddk/wdm.h"
#include "wine/unicode.h"
#include "wine/server.h"
#include "wine/list.h"
...
...
@@ -2378,3 +2379,21 @@ void WINAPI ProbeForWrite(void *address, SIZE_T length, ULONG alignment)
{
FIXME
(
"(%p %lu %u) stub
\n
"
,
address
,
length
,
alignment
);
}
/***********************************************************************
* CmRegisterCallback (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
CmRegisterCallback
(
EX_CALLBACK_FUNCTION
*
function
,
void
*
context
,
LARGE_INTEGER
*
cookie
)
{
FIXME
(
"(%p %p %p): stub
\n
"
,
function
,
context
,
cookie
);
return
STATUS_NOT_IMPLEMENTED
;
}
/***********************************************************************
* CmUnRegisterCallback (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
CmUnRegisterCallback
(
LARGE_INTEGER
cookie
)
{
FIXME
(
"(%s): stub
\n
"
,
wine_dbgstr_longlong
(
cookie
.
QuadPart
));
return
STATUS_NOT_IMPLEMENTED
;
}
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
0a5f0f74
...
...
@@ -100,8 +100,8 @@
@ stub CcUnpinRepinnedBcb
@ stub CcWaitForCurrentLazyWriterActivity
@ stub CcZeroData
@ st
ub CmRegisterCallback
@ st
ub CmUnRegisterCallback
@ st
dcall CmRegisterCallback(ptr ptr ptr)
@ st
dcall CmUnRegisterCallback(int64)
@ stdcall DbgBreakPoint() ntdll.DbgBreakPoint
@ stub DbgBreakPointWithStatus
@ stub DbgLoadImageSymbols
...
...
include/ddk/wdm.h
View file @
0a5f0f74
...
...
@@ -1163,6 +1163,9 @@ typedef struct _CALLBACK_OBJECT
UCHAR
reserved
[
3
];
}
CALLBACK_OBJECT
,
*
PCALLBACK_OBJECT
;
typedef
NTSTATUS
(
NTAPI
EX_CALLBACK_FUNCTION
)(
void
*
CallbackContext
,
void
*
Argument1
,
void
*
Argument2
);
typedef
EX_CALLBACK_FUNCTION
*
PEX_CALLBACK_FUNCTION
;
NTSTATUS
WINAPI
ObCloseHandle
(
IN
HANDLE
handle
);
#ifdef NONAMELESSUNION
...
...
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