ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
June 2005
----- 2024 -----
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
22 participants
649 discussions
Start a n
N
ew thread
[ion] 16119: Add free to libsupp
by ion@svn.reactos.com
Add free to libsupp Modified: trunk/reactos/lib/rtl/libsupp.h _____ Modified: trunk/reactos/lib/rtl/libsupp.h --- trunk/reactos/lib/rtl/libsupp.h 2005-06-19 21:40:29 UTC (rev 16118) +++ trunk/reactos/lib/rtl/libsupp.h 2005-06-19 21:50:05 UTC (rev 16119) @@ -20,10 +20,12 @@ VOID STDCALL -ExFreePool( - IN PVOID Pool +ExFreePoolWithTag( + IN PVOID Pool, + IN ULONG Tag ); #define ExAllocatePool(p,n) ExAllocatePoolWithTag(p,n, TAG_RTL) +#define ExFreePool(P) ExFreePoolWithTag(P, TAG_RTL) /* EOF */
19 years, 3 months
1
0
0
0
[ion] 16118: Add include to rosrtl where needed
by ion@svn.reactos.com
Add include to rosrtl where needed Modified: trunk/reactos/lib/rtl/thread.c _____ Modified: trunk/reactos/lib/rtl/thread.c --- trunk/reactos/lib/rtl/thread.c 2005-06-19 21:39:58 UTC (rev 16117) +++ trunk/reactos/lib/rtl/thread.c 2005-06-19 21:40:29 UTC (rev 16118) @@ -19,6 +19,7 @@ /* INCLUDES *****************************************************************/ #include "rtl.h" +#include <rosrtl/thread.h> #define NDEBUG #include <debug.h>
19 years, 3 months
1
0
0
0
[ion] 16117: Fix cshort definition
by ion@svn.reactos.com
Fix cshort definition Modified: trunk/reactos/include/ndk/rtltypes.h Modified: trunk/reactos/include/ndk/umtypes.h _____ Modified: trunk/reactos/include/ndk/rtltypes.h --- trunk/reactos/include/ndk/rtltypes.h 2005-06-19 21:37:01 UTC (rev 16116) +++ trunk/reactos/include/ndk/rtltypes.h 2005-06-19 21:39:58 UTC (rev 16117) @@ -83,6 +83,8 @@ typedef unsigned short RTL_ATOM; typedef unsigned short *PRTL_ATOM; +typedef ACL_REVISION_INFORMATION *PACL_REVISION_INFORMATION; +typedef ACL_SIZE_INFORMATION *PACL_SIZE_INFORMATION; typedef struct _ACE { ACE_HEADER Header; _____ Modified: trunk/reactos/include/ndk/umtypes.h --- trunk/reactos/include/ndk/umtypes.h 2005-06-19 21:37:01 UTC (rev 16116) +++ trunk/reactos/include/ndk/umtypes.h 2005-06-19 21:39:58 UTC (rev 16117) @@ -553,7 +553,7 @@ /* Basic Types that aren't defined in User-Mode Headers */ typedef CONST int CINT; typedef CONST char *PCSZ; -typedef CONST short CSHORT; +typedef short CSHORT; typedef CSHORT *PCSHORT; typedef LARGE_INTEGER PHYSICAL_ADDRESS, *PPHYSICAL_ADDRESS;
19 years, 3 months
1
0
0
0
[ion] 16116: Add libsupp.h for rtl's Kernel Allocation functions
by ion@svn.reactos.com
Add libsupp.h for rtl's Kernel Allocation functions Added: trunk/reactos/lib/rtl/libsupp.h _____ Added: trunk/reactos/lib/rtl/libsupp.h --- trunk/reactos/lib/rtl/libsupp.h 2005-06-19 21:35:57 UTC (rev 16115) +++ trunk/reactos/lib/rtl/libsupp.h 2005-06-19 21:37:01 UTC (rev 16116) @@ -0,0 +1,29 @@ +/* + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS System Libraries + * FILE: lib/rtl/libsupp.h + * PURPOSE: Run-Time Library Kernel Support Header + * PROGRAMMER: Alex Ionescu + */ + +/* INCLUDES ******************************************************************/ + +#define TAG_RTL TAG('R','t', 'l', ' ') + +PVOID +STDCALL +ExAllocatePoolWithTag( + IN POOL_TYPE PoolType, + IN SIZE_T NumberOfBytes, + IN ULONG Tag +); + +VOID +STDCALL +ExFreePool( + IN PVOID Pool +); + +#define ExAllocatePool(p,n) ExAllocatePoolWithTag(p,n, TAG_RTL) + +/* EOF */
19 years, 3 months
1
0
0
0
[ion] 16115: Add missing security types in winnt.h
by ion@svn.reactos.com
Add missing security types in winnt.h Modified: trunk/reactos/w32api/include/winnt.h _____ Modified: trunk/reactos/w32api/include/winnt.h --- trunk/reactos/w32api/include/winnt.h 2005-06-19 21:08:39 UTC (rev 16114) +++ trunk/reactos/w32api/include/winnt.h 2005-06-19 21:35:57 UTC (rev 16115) @@ -1136,6 +1136,7 @@ #define SE_SACL_AUTO_INHERITED 2048 #define SE_DACL_PROTECTED 4096 #define SE_SACL_PROTECTED 8192 +#define SE_RM_CONTROL_VALID 0x4000 #define SE_SELF_RELATIVE 0x8000 #define SECURITY_DESCRIPTOR_MIN_LENGTH 20 #define SECURITY_DESCRIPTOR_REVISION 1 @@ -1359,6 +1360,34 @@ } GUID, *REFGUID, *LPGUID; #define SYSTEM_LUID { QuadPart:999 } #endif /* GUID_DEFINED */ + +/* ACE Access Types, also in ntifs.h */ +#define ACCESS_MIN_MS_ACE_TYPE (0x0) +#define ACCESS_ALLOWED_ACE_TYPE (0x0) +#define ACCESS_DENIED_ACE_TYPE (0x1) +#define SYSTEM_AUDIT_ACE_TYPE (0x2) +#define SYSTEM_ALARM_ACE_TYPE (0x3) +#define ACCESS_MAX_MS_V2_ACE_TYPE (0x3) +#define ACCESS_ALLOWED_COMPOUND_ACE_TYPE (0x4) +#define ACCESS_MAX_MS_V3_ACE_TYPE (0x4) +#define ACCESS_MIN_MS_OBJECT_ACE_TYPE (0x5) +#define ACCESS_ALLOWED_OBJECT_ACE_TYPE (0x5) +#define ACCESS_DENIED_OBJECT_ACE_TYPE (0x6) +#define SYSTEM_AUDIT_OBJECT_ACE_TYPE (0x7) +#define SYSTEM_ALARM_OBJECT_ACE_TYPE (0x8) +#define ACCESS_MAX_MS_OBJECT_ACE_TYPE (0x8) +#define ACCESS_MAX_MS_V4_ACE_TYPE (0x8) +#define ACCESS_MAX_MS_ACE_TYPE (0x8) +#define ACCESS_ALLOWED_CALLBACK_ACE_TYPE (0x9) +#define ACCESS_DENIED_CALLBACK_ACE_TYPE (0xA) +#define ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE (0xB) +#define ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE (0xC) +#define SYSTEM_AUDIT_CALLBACK_ACE_TYPE (0xD) +#define SYSTEM_ALARM_CALLBACK_ACE_TYPE (0xE) +#define SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE (0xF) +#define SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE (0x10) +#define ACCESS_MAX_MS_V5_ACE_TYPE (0x10) +/* end ntifs.h */ typedef struct _GENERIC_MAPPING { ACCESS_MASK GenericRead; ACCESS_MASK GenericWrite;
19 years, 3 months
1
0
0
0
[ion] 16114: User helper header and don't use RTLROS string macros naymore
by ion@svn.reactos.com
User helper header and don't use RTLROS string macros naymore Modified: trunk/reactos/lib/ntdll/csr/lpc.c Modified: trunk/reactos/lib/ntdll/dbg/debug.c Modified: trunk/reactos/lib/ntdll/inc/ntdll.h Modified: trunk/reactos/lib/ntdll/ldr/startup.c _____ Modified: trunk/reactos/lib/ntdll/csr/lpc.c --- trunk/reactos/lib/ntdll/csr/lpc.c 2005-06-19 21:03:41 UTC (rev 16113) +++ trunk/reactos/lib/ntdll/csr/lpc.c 2005-06-19 21:08:39 UTC (rev 16114) @@ -114,7 +114,7 @@ CsrClientConnectToServer(VOID) { NTSTATUS Status; - UNICODE_STRING PortName; + UNICODE_STRING PortName = RTL_CONSTANT_STRING(L"\\Windows\\ApiPort"); ULONG ConnectInfoLength; CSRSS_API_REQUEST Request; CSRSS_API_REPLY Reply; @@ -139,7 +139,6 @@ { return(Status); } - RtlRosInitUnicodeStringFromLiteral(&PortName, L"\\Windows\\ApiPort"); ConnectInfoLength = 0; LpcWrite.Length = sizeof(LPC_SECTION_WRITE); LpcWrite.SectionHandle = CsrSectionHandle; _____ Modified: trunk/reactos/lib/ntdll/dbg/debug.c --- trunk/reactos/lib/ntdll/dbg/debug.c 2005-06-19 21:03:41 UTC (rev 16113) +++ trunk/reactos/lib/ntdll/dbg/debug.c 2005-06-19 21:08:39 UTC (rev 16114) @@ -82,7 +82,7 @@ ULONG Unknown3) { SECURITY_QUALITY_OF_SERVICE Qos; - UNICODE_STRING PortName = ROS_STRING_INITIALIZER(L"\\DbgSsApiPort"); + UNICODE_STRING PortName = RTL_CONSTANT_STRING(L"\\DbgSsApiPort"); NTSTATUS Status; Qos.Length = sizeof(SECURITY_QUALITY_OF_SERVICE); @@ -128,7 +128,7 @@ DbgUiConnectToDbg(VOID) { SECURITY_QUALITY_OF_SERVICE Qos; - UNICODE_STRING PortName = ROS_STRING_INITIALIZER(L"\\DbgUiApiPort"); + UNICODE_STRING PortName = RTL_CONSTANT_STRING(L"\\DbgUiApiPort"); NTSTATUS Status; PTEB Teb; ULONG InfoSize; _____ Modified: trunk/reactos/lib/ntdll/inc/ntdll.h --- trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-19 21:03:41 UTC (rev 16113) +++ trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-19 21:08:39 UTC (rev 16114) @@ -13,6 +13,9 @@ #define NTOS_MODE_USER #include <ndk/ntndk.h> +/* Helper Macros */ +#include <reactos/helper.h> + /* NTDLL Public Headers. FIXME: Combine/clean these after NDK */ #include <ntdll/csr.h> #include <ntdll/rtl.h> @@ -20,17 +23,4 @@ #include <ntdll/ntdll.h> #include <debug.h> /* FIXME REMOVE THIS */ -/* ROSRTL Headers */ -#include <rosrtl/string.h> /* FIXME: KILL ROSRTL */ - -/* Helper Macros FIXME: NDK */ -#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b)) -#define ROUND_DOWN(N, S) ((N) - ((N) % (S))) -#ifndef HIWORD -#define HIWORD(l) ((WORD)(((DWORD)(l) >> 16) & 0xFFFF)) -#endif -#ifndef LOWORD -#define LOWORD(l) ((WORD)(l)) -#endif - /* EOF */ _____ Modified: trunk/reactos/lib/ntdll/ldr/startup.c --- trunk/reactos/lib/ntdll/ldr/startup.c 2005-06-19 21:03:41 UTC (rev 16113) +++ trunk/reactos/lib/ntdll/ldr/startup.c 2005-06-19 21:08:39 UTC (rev 16114) @@ -105,7 +105,8 @@ HANDLE KeyHandle; HANDLE SubKeyHandle; OBJECT_ATTRIBUTES ObjectAttributes; - UNICODE_STRING KeyName; + UNICODE_STRING KeyName = RTL_CONSTANT_STRING( + L"Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers"); UNICODE_STRING ValueName; UCHAR ValueBuffer[VALUE_BUFFER_SIZE]; PKEY_VALUE_PARTIAL_INFORMATION ValueInfo; @@ -123,9 +124,6 @@ return FALSE; } - RtlRosInitUnicodeStringFromLiteral(&KeyName, - L"Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers"); - InitializeObjectAttributes(&ObjectAttributes, &KeyName, OBJ_CASE_INSENSITIVE,
19 years, 3 months
1
0
0
0
[ion] 16113: Fix Build
by ion@svn.reactos.com
Fix Build Modified: trunk/reactos/ntoskrnl/cm/registry.c Modified: trunk/reactos/ntoskrnl/ex/callback.c _____ Modified: trunk/reactos/ntoskrnl/cm/registry.c --- trunk/reactos/ntoskrnl/cm/registry.c 2005-06-19 20:56:11 UTC (rev 16112) +++ trunk/reactos/ntoskrnl/cm/registry.c 2005-06-19 21:03:41 UTC (rev 16113) @@ -601,8 +601,9 @@ RTL_QUERY_REGISTRY_TABLE QueryTable[5]; WCHAR TargetNameBuffer[80]; ULONG TargetNameLength; - UNICODE_STRING LinkName; - UNICODE_STRING LinkValue; + UNICODE_STRING LinkName = RTL_CONSTANT_STRING( + L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); + UNICODE_STRING LinkValue = RTL_CONSTANT_STRING(L"SymbolicLinkValue"); ULONG CurrentSet; ULONG DefaultSet; ULONG Failed; @@ -650,8 +651,6 @@ DPRINT("Link target '%S'\n", TargetNameBuffer); - LinkName = RTL_CONSTANT_STRING( - L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); InitializeObjectAttributes(&ObjectAttributes, &LinkName, OBJ_CASE_INSENSITIVE | OBJ_OPENIF | OBJ_OPENLINK, @@ -670,8 +669,6 @@ return(Status); } - LinkValue = RTL_CONSTANT_STRING( - L"SymbolicLinkValue"); Status = ZwSetValueKey(KeyHandle, &LinkValue, 0, @@ -918,15 +915,15 @@ CmiInitControlSetLink (VOID) { OBJECT_ATTRIBUTES ObjectAttributes; - UNICODE_STRING ControlSetKeyName; - UNICODE_STRING ControlSetLinkName; - UNICODE_STRING ControlSetValueName; + UNICODE_STRING ControlSetKeyName = RTL_CONSTANT_STRING( + L"\\Registry\\Machine\\SYSTEM\\ControlSet001"); + UNICODE_STRING ControlSetLinkName = RTL_CONSTANT_STRING( + L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); + UNICODE_STRING ControlSetValueName = RTL_CONSTANT_STRING(L"SymbolicLinkValue"); HANDLE KeyHandle; NTSTATUS Status; /* Create 'ControlSet001' key */ - ControlSetKeyName = RTL_CONSTANT_STRING( - L"\\Registry\\Machine\\SYSTEM\\ControlSet001"); InitializeObjectAttributes (&ObjectAttributes, &ControlSetKeyName, OBJ_CASE_INSENSITIVE, @@ -947,8 +944,6 @@ ZwClose (KeyHandle); /* Link 'CurrentControlSet' to 'ControlSet001' key */ - ControlSetLinkName = RTL_CONSTANT_STRING( - L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); InitializeObjectAttributes (&ObjectAttributes, &ControlSetLinkName, OBJ_CASE_INSENSITIVE | OBJ_OPENIF | OBJ_OPENLINK, @@ -967,8 +962,6 @@ return Status; } - ControlSetValueName = RTL_CONSTANT_STRING( - L"SymbolicLinkValue"); Status = ZwSetValueKey (KeyHandle, &ControlSetValueName, 0, @@ -991,8 +984,8 @@ PKEY_VALUE_PARTIAL_INFORMATION ValueInfo; OBJECT_ATTRIBUTES ObjectAttributes; UNICODE_STRING FileName; - UNICODE_STRING KeyName; - UNICODE_STRING ValueName; + UNICODE_STRING KeyName = RTL_CONSTANT_STRING(L"\\Registry\\Machine\\HARDWARE"); + UNICODE_STRING ValueName = RTL_CONSTANT_STRING(L"InstallPath"); HANDLE KeyHandle; NTSTATUS Status; @@ -1008,8 +1001,6 @@ if (SetupBoot == TRUE) { - KeyName = RTL_CONSTANT_STRING( - L"\\Registry\\Machine\\HARDWARE"); InitializeObjectAttributes(&ObjectAttributes, &KeyName, OBJ_CASE_INSENSITIVE, @@ -1024,9 +1015,6 @@ return(Status); } - ValueName = RTL_CONSTANT_STRING( - L"InstallPath"); - BufferSize = sizeof(KEY_VALUE_PARTIAL_INFORMATION) + 4096; ValueInfo = ExAllocatePool(PagedPool, BufferSize); _____ Modified: trunk/reactos/ntoskrnl/ex/callback.c --- trunk/reactos/ntoskrnl/ex/callback.c 2005-06-19 20:56:11 UTC (rev 16112) +++ trunk/reactos/ntoskrnl/ex/callback.c 2005-06-19 21:03:41 UTC (rev 16113) @@ -40,7 +40,7 @@ { OBJECT_ATTRIBUTES ObjectAttributes; NTSTATUS Status; - UNICODE_STRING DirName; + UNICODE_STRING DirName = RTL_CONSTANT_STRING(L"\\Callback"); UNICODE_STRING CallbackName; UNICODE_STRING Name; OBJECT_TYPE_INITIALIZER ObjectTypeInitializer; @@ -65,7 +65,6 @@ } /* Initialize the Object */ - DirName = RTL_CONSTANT_STRING(L"\\Callback" ); InitializeObjectAttributes( &ObjectAttributes, &DirName,
19 years, 3 months
1
0
0
0
[navaraf] 16112: Fxi build.
by navaraf@svn.reactos.com
Fxi build. Modified: trunk/reactos/lib/rosrtl/thread/stack.c _____ Modified: trunk/reactos/lib/rosrtl/thread/stack.c --- trunk/reactos/lib/rosrtl/thread/stack.c 2005-06-19 20:43:13 UTC (rev 16111) +++ trunk/reactos/lib/rosrtl/thread/stack.c 2005-06-19 20:56:11 UTC (rev 16112) @@ -7,10 +7,12 @@ #include <ntos.h> #define NDEBUG -#include <ntdll/ntdll.h> +#include <debug.h> #include <rosrtl/thread.h> +#define ROUNDUP(a,b) ((((a)+(b)-1)/(b))*(b)) + NTSTATUS NTAPI RtlRosCreateStack ( IN HANDLE ProcessHandle,
19 years, 3 months
1
0
0
0
[ion] 16111: Use RTL_CONSTANT_STRING instead of RtlRos macro
by ion@svn.reactos.com
Use RTL_CONSTANT_STRING instead of RtlRos macro Modified: trunk/reactos/ntoskrnl/cm/registry.c Modified: trunk/reactos/ntoskrnl/ex/callback.c _____ Modified: trunk/reactos/ntoskrnl/cm/registry.c --- trunk/reactos/ntoskrnl/cm/registry.c 2005-06-19 20:28:20 UTC (rev 16110) +++ trunk/reactos/ntoskrnl/cm/registry.c 2005-06-19 20:43:13 UTC (rev 16111) @@ -650,7 +650,7 @@ DPRINT("Link target '%S'\n", TargetNameBuffer); - RtlInitUnicodeString(&LinkName, + LinkName = RTL_CONSTANT_STRING( L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); InitializeObjectAttributes(&ObjectAttributes, &LinkName, @@ -670,7 +670,7 @@ return(Status); } - RtlInitUnicodeString(&LinkValue, + LinkValue = RTL_CONSTANT_STRING( L"SymbolicLinkValue"); Status = ZwSetValueKey(KeyHandle, &LinkValue, @@ -925,7 +925,7 @@ NTSTATUS Status; /* Create 'ControlSet001' key */ - RtlInitUnicodeString(&ControlSetKeyName, + ControlSetKeyName = RTL_CONSTANT_STRING( L"\\Registry\\Machine\\SYSTEM\\ControlSet001"); InitializeObjectAttributes (&ObjectAttributes, &ControlSetKeyName, @@ -947,7 +947,7 @@ ZwClose (KeyHandle); /* Link 'CurrentControlSet' to 'ControlSet001' key */ - RtlInitUnicodeString (&ControlSetLinkName, + ControlSetLinkName = RTL_CONSTANT_STRING( L"\\Registry\\Machine\\SYSTEM\\CurrentControlSet"); InitializeObjectAttributes (&ObjectAttributes, &ControlSetLinkName, @@ -967,7 +967,7 @@ return Status; } - RtlInitUnicodeString (&ControlSetValueName, + ControlSetValueName = RTL_CONSTANT_STRING( L"SymbolicLinkValue"); Status = ZwSetValueKey (KeyHandle, &ControlSetValueName, @@ -1008,7 +1008,7 @@ if (SetupBoot == TRUE) { - RtlInitUnicodeString(&KeyName, + KeyName = RTL_CONSTANT_STRING( L"\\Registry\\Machine\\HARDWARE"); InitializeObjectAttributes(&ObjectAttributes, &KeyName, @@ -1024,7 +1024,7 @@ return(Status); } - RtlInitUnicodeString(&ValueName, + ValueName = RTL_CONSTANT_STRING( L"InstallPath"); BufferSize = sizeof(KEY_VALUE_PARTIAL_INFORMATION) + 4096; _____ Modified: trunk/reactos/ntoskrnl/ex/callback.c --- trunk/reactos/ntoskrnl/ex/callback.c 2005-06-19 20:28:20 UTC (rev 16110) +++ trunk/reactos/ntoskrnl/ex/callback.c 2005-06-19 20:43:13 UTC (rev 16111) @@ -65,7 +65,7 @@ } /* Initialize the Object */ - RtlInitUnicodeString(&DirName, L"\\Callback" ); + DirName = RTL_CONSTANT_STRING(L"\\Callback" ); InitializeObjectAttributes( &ObjectAttributes, &DirName,
19 years, 3 months
1
0
0
0
[ion] 16110: Build NTDLL with NDK
by ion@svn.reactos.com
Build NTDLL with NDK Modified: trunk/reactos/lib/ntdll/inc/ntdll.h Modified: trunk/reactos/lib/ntdll/ldr/startup.c _____ Modified: trunk/reactos/lib/ntdll/inc/ntdll.h --- trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-19 20:18:30 UTC (rev 16109) +++ trunk/reactos/lib/ntdll/inc/ntdll.h 2005-06-19 20:28:20 UTC (rev 16110) @@ -10,9 +10,8 @@ /* SDK/DDK/NDK Headers. */ #include <windows.h> -#include <ddk/ntddk.h> /* FIXME: NDK */ -#include <ddk/ntifs.h> /* FIXME: NDK */ -#include <ntos/ldrtypes.h> /* FIXME: NDK */ +#define NTOS_MODE_USER +#include <ndk/ntndk.h> /* NTDLL Public Headers. FIXME: Combine/clean these after NDK */ #include <ntdll/csr.h> _____ Modified: trunk/reactos/lib/ntdll/ldr/startup.c --- trunk/reactos/lib/ntdll/ldr/startup.c 2005-06-19 20:18:30 UTC (rev 16109) +++ trunk/reactos/lib/ntdll/ldr/startup.c 2005-06-19 20:28:20 UTC (rev 16110) @@ -279,7 +279,7 @@ ZwTerminateProcess(NtCurrentProcess(), Status); } - Peb->NumberOfProcessors = SystemInformation.NumberProcessors; + Peb->NumberOfProcessors = SystemInformation.NumberOfProcessors; /* Initialize Critical Section Data */ RtlpInitDeferedCriticalSection();
19 years, 3 months
1
0
0
0
← Newer
1
...
22
23
24
25
26
27
28
...
65
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
Results per page:
10
25
50
100
200