Author: tkreuzer
Date: Wed Sep 25 17:14:21 2013
New Revision: 60349
URL:
http://svn.reactos.org/svn/reactos?rev=60349&view=rev
Log:
[WIN23K]
Fix prototype of NtUserNotifyProcessCreate and BASE_PROCESS_CREATE_NOTIFY_ROUTINE
Modified:
trunk/reactos/include/reactos/subsys/win/base.h
trunk/reactos/win32ss/include/ntuser.h
trunk/reactos/win32ss/user/ntuser/ntstubs.c
Modified: trunk/reactos/include/reactos/subsys/win/base.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/subsys/win…
==============================================================================
--- trunk/reactos/include/reactos/subsys/win/base.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/subsys/win/base.h [iso-8859-1] Wed Sep 25 17:14:21 2013
@@ -11,7 +11,13 @@
#pragma once
-typedef VOID (CALLBACK * BASE_PROCESS_CREATE_NOTIFY_ROUTINE)(PVOID);
+typedef
+BOOL
+(CALLBACK * BASE_PROCESS_CREATE_NOTIFY_ROUTINE)(
+ HANDLE NewProcessId,
+ HANDLE SourceThreadId,
+ DWORD dwUnknown,
+ ULONG CreateFlags);
NTSTATUS WINAPI BaseSetProcessCreateNotify(BASE_PROCESS_CREATE_NOTIFY_ROUTINE);
@@ -62,7 +68,7 @@
} NLS_USER_INFO, *PNLS_USER_INFO;
C_ASSERT(sizeof(NLS_USER_INFO) == 0x1870);
-typedef struct _INIFILE_MAPPING_TARGET
+typedef struct _INIFILE_MAPPING_TARGET
{
struct _INIFILE_MAPPING_TARGET *Next;
UNICODE_STRING RegistryPath;
@@ -125,7 +131,9 @@
BOOLEAN LUIDDeviceMapsEnabled;
ULONG TermsrvClientTimeZoneChangeNum;
} BASE_STATIC_SERVER_DATA, *PBASE_STATIC_SERVER_DATA;
+#ifndef _WIN64
C_ASSERT(sizeof(BASE_STATIC_SERVER_DATA) == 0x1AC8);
+#endif
VOID WINAPI BaseSrvNLSInit(IN PBASE_STATIC_SERVER_DATA StaticData);
Modified: trunk/reactos/win32ss/include/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/include/ntuser.h?r…
==============================================================================
--- trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/win32ss/include/ntuser.h [iso-8859-1] Wed Sep 25 17:14:21 2013
@@ -2436,7 +2436,7 @@
DWORD Unknown1,
DWORD Unknown2);
-DWORD
+BOOL
NTAPI
NtUserNotifyProcessCreate(
HANDLE NewProcessId,
Modified: trunk/reactos/win32ss/user/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/ntstub…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/ntstubs.c [iso-8859-1] Wed Sep 25 17:14:21 2013
@@ -707,7 +707,7 @@
return 0;
}
-DWORD
+BOOL
NTAPI
NtUserNotifyProcessCreate(
HANDLE NewProcessId,
@@ -716,7 +716,7 @@
ULONG CreateFlags)
{
STUB;
- return 0;
+ return FALSE;
}
NTSTATUS