Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c643aec1
Commit
c643aec1
authored
Mar 19, 2011
by
Stefan Leichter
Committed by
Alexandre Julliard
Mar 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntoskrnl.exe: Add stub for PsSetLoadImageNotifyRoutine.
parent
e766a132
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
1 deletion
+32
-1
ntoskrnl.c
dlls/ntoskrnl.exe/ntoskrnl.c
+9
-0
ntoskrnl.exe.spec
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
+1
-1
ntddk.h
include/ddk/ntddk.h
+22
-0
No files found.
dlls/ntoskrnl.exe/ntoskrnl.c
View file @
c643aec1
...
@@ -1596,6 +1596,15 @@ NTSTATUS WINAPI IoWMIRegistrationControl(PDEVICE_OBJECT DeviceObject, ULONG Acti
...
@@ -1596,6 +1596,15 @@ NTSTATUS WINAPI IoWMIRegistrationControl(PDEVICE_OBJECT DeviceObject, ULONG Acti
}
}
/*****************************************************
/*****************************************************
* PsSetLoadImageNotifyRoutine (NTOSKRNL.EXE.@)
*/
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutine
(
PLOAD_IMAGE_NOTIFY_ROUTINE
routine
)
{
FIXME
(
"(%p) stub
\n
"
,
routine
);
return
STATUS_SUCCESS
;
}
/*****************************************************
* DllMain
* DllMain
*/
*/
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
inst
,
DWORD
reason
,
LPVOID
reserved
)
...
...
dlls/ntoskrnl.exe/ntoskrnl.exe.spec
View file @
c643aec1
...
@@ -911,7 +911,7 @@
...
@@ -911,7 +911,7 @@
@ stdcall PsSetCreateThreadNotifyRoutine(ptr)
@ stdcall PsSetCreateThreadNotifyRoutine(ptr)
@ stub PsSetJobUIRestrictionsClass
@ stub PsSetJobUIRestrictionsClass
@ stub PsSetLegoNotifyRoutine
@ stub PsSetLegoNotifyRoutine
@ st
ub PsSetLoadImageNotifyRoutine
@ st
dcall PsSetLoadImageNotifyRoutine(ptr)
@ stub PsSetProcessPriorityByClass
@ stub PsSetProcessPriorityByClass
@ stub PsSetProcessPriorityClass
@ stub PsSetProcessPriorityClass
@ stub PsSetProcessSecurityPort
@ stub PsSetProcessSecurityPort
...
...
include/ddk/ntddk.h
View file @
c643aec1
...
@@ -107,7 +107,28 @@ typedef enum _CONFIGURATION_TYPE
...
@@ -107,7 +107,28 @@ typedef enum _CONFIGURATION_TYPE
MaximunType
MaximunType
}
CONFIGURATION_TYPE
,
*
PCONFIGURATION_TYPE
;
}
CONFIGURATION_TYPE
,
*
PCONFIGURATION_TYPE
;
typedef
struct
_IMAGE_INFO
{
union
{
ULONG
Properties
;
struct
{
ULONG
ImageAddressingMode
:
8
;
ULONG
SystemModeImage
:
1
;
ULONG
ImageMappedToAllPids
:
1
;
ULONG
ExtendedInfoPresent
:
1
;
ULONG
Reserved
:
21
;
};
};
PVOID
ImageBase
;
ULONG
ImageSelector
;
SIZE_T
ImageSize
;
ULONG
ImageSectionNumber
;
}
IMAGE_INFO
,
*
PIMAGE_INFO
;
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
typedef
VOID
(
WINAPI
*
PDRIVER_REINITIALIZE
)(
PDRIVER_OBJECT
,
PVOID
,
ULONG
);
typedef
VOID
(
WINAPI
*
PLOAD_IMAGE_NOTIFY_ROUTINE
)(
PUNICODE_STRING
,
HANDLE
,
PIMAGE_INFO
);
typedef
NTSTATUS
(
WINAPI
*
PIO_QUERY_DEVICE_ROUTINE
)(
PVOID
,
PUNICODE_STRING
,
INTERFACE_TYPE
,
ULONG
,
typedef
NTSTATUS
(
WINAPI
*
PIO_QUERY_DEVICE_ROUTINE
)(
PVOID
,
PUNICODE_STRING
,
INTERFACE_TYPE
,
ULONG
,
PKEY_VALUE_FULL_INFORMATION
*
,
CONFIGURATION_TYPE
,
ULONG
,
PKEY_VALUE_FULL_INFORMATION
*
);
PKEY_VALUE_FULL_INFORMATION
*
,
CONFIGURATION_TYPE
,
ULONG
,
PKEY_VALUE_FULL_INFORMATION
*
);
...
@@ -115,5 +136,6 @@ NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_
...
@@ -115,5 +136,6 @@ NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_
PCONFIGURATION_TYPE
,
PULONG
,
PIO_QUERY_DEVICE_ROUTINE
,
PVOID
);
PCONFIGURATION_TYPE
,
PULONG
,
PIO_QUERY_DEVICE_ROUTINE
,
PVOID
);
void
WINAPI
IoRegisterDriverReinitialization
(
PDRIVER_OBJECT
,
PDRIVER_REINITIALIZE
,
PVOID
);
void
WINAPI
IoRegisterDriverReinitialization
(
PDRIVER_OBJECT
,
PDRIVER_REINITIALIZE
,
PVOID
);
NTSTATUS
WINAPI
IoRegisterShutdownNotification
(
PDEVICE_OBJECT
);
NTSTATUS
WINAPI
IoRegisterShutdownNotification
(
PDEVICE_OBJECT
);
NTSTATUS
WINAPI
PsSetLoadImageNotifyRoutine
(
PLOAD_IMAGE_NOTIFY_ROUTINE
);
#endif
#endif
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