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
December
November
October
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
August 2013
----- 2024 -----
December 2024
November 2024
October 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
10 participants
327 discussions
Start a n
N
ew thread
[akhaldi] 59902: [KERNEL32] * Fix yet another buggy DPRINT.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Aug 30 14:16:47 2013 New Revision: 59902 URL:
http://svn.reactos.org/svn/reactos?rev=59902&view=rev
Log: [KERNEL32] * Fix yet another buggy DPRINT. Modified: trunk/reactos/dll/win32/kernel32/client/vdm.c Modified: trunk/reactos/dll/win32/kernel32/client/vdm.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/client/…
============================================================================== --- trunk/reactos/dll/win32/kernel32/client/vdm.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/kernel32/client/vdm.c [iso-8859-1] Fri Aug 30 14:16:47 2013 @@ -693,7 +693,7 @@ } } - DPRINT1("Invalid binary type returned!\n", BinType); + DPRINT1("Invalid binary type %lu returned!\n", BinType); return FALSE; }
11 years, 3 months
1
0
0
0
[hbelusca] 59901: [CONSRV]: Add some DPRINT1 information.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Fri Aug 30 11:36:22 2013 New Revision: 59901 URL:
http://svn.reactos.org/svn/reactos?rev=59901&view=rev
Log: [CONSRV]: Add some DPRINT1 information. Modified: trunk/reactos/win32ss/user/winsrv/consrv/init.c Modified: trunk/reactos/win32ss/user/winsrv/consrv/init.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/consrv…
============================================================================== --- trunk/reactos/win32ss/user/winsrv/consrv/init.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/winsrv/consrv/init.c [iso-8859-1] Fri Aug 30 11:36:22 2013 @@ -404,7 +404,11 @@ ConnectionInfoLength == NULL || *ConnectionInfoLength != sizeof(CONSRV_API_CONNECTINFO) ) { - DPRINT1("CONSRV: Connection failed\n"); + DPRINT1("CONSRV: Connection failed - ConnectionInfo = 0x%p ; ConnectionInfoLength = 0x%p (%lu), wanted %lu\n", + ConnectionInfo, + ConnectionInfoLength, + ConnectionInfoLength ? *ConnectionInfoLength : (ULONG)-1, + sizeof(CONSRV_API_CONNECTINFO)); return STATUS_UNSUCCESSFUL; }
11 years, 3 months
1
0
0
0
[hbelusca] 59900: [USERSRV]: Stubplement all the APIs needed for Windows kernel32.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Fri Aug 30 11:33:25 2013 New Revision: 59900 URL:
http://svn.reactos.org/svn/reactos?rev=59900&view=rev
Log: [USERSRV]: Stubplement all the APIs needed for Windows kernel32. Modified: trunk/reactos/include/reactos/subsys/win/winmsg.h trunk/reactos/win32ss/user/winsrv/usersrv/api.h trunk/reactos/win32ss/user/winsrv/usersrv/init.c trunk/reactos/win32ss/user/winsrv/usersrv/shutdown.c Modified: trunk/reactos/include/reactos/subsys/win/winmsg.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/subsys/win…
============================================================================== --- trunk/reactos/include/reactos/subsys/win/winmsg.h [iso-8859-1] (original) +++ trunk/reactos/include/reactos/subsys/win/winmsg.h [iso-8859-1] Fri Aug 30 11:33:25 2013 @@ -19,15 +19,15 @@ typedef enum _USERSRV_API_NUMBER { UserpExitWindowsEx = USERSRV_FIRST_API_NUMBER, - // UserpEndTask, - // UserpLogon, + UserpEndTask, + UserpLogon, UserpRegisterServicesProcess, // Not present in Win7 - // UserpActivateDebugger, - // UserpGetThreadConsoleDesktop, // Not present in Win7 - // UserpDeviceEvent, + UserpActivateDebugger, + UserpGetThreadConsoleDesktop, // Not present in Win7 + UserpDeviceEvent, UserpRegisterLogonProcess, // Not present in Win7 - // UserpCreateSystemThreads, - // UserpRecordShutdownReason, + UserpCreateSystemThreads, + UserpRecordShutdownReason, // UserpCancelShutdown, // Added in Vista // UserpConsoleHandleOperation, // Added in Win7 // UserpGetSetShutdownBlockReason, // Added in Vista Modified: trunk/reactos/win32ss/user/winsrv/usersrv/api.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/usersr…
============================================================================== --- trunk/reactos/win32ss/user/winsrv/usersrv/api.h [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/winsrv/usersrv/api.h [iso-8859-1] Fri Aug 30 11:33:25 2013 @@ -10,6 +10,10 @@ /* init.c */ BOOL WINAPI _UserSoundSentry(VOID); +CSR_API(SrvCreateSystemThreads); +CSR_API(SrvActivateDebugger); +CSR_API(SrvGetThreadConsoleDesktop); +CSR_API(SrvDeviceEvent); /* harderror.c */ VOID WINAPI UserServerHardError(IN PCSR_THREAD ThreadData, @@ -21,5 +25,8 @@ /* shutdown.c */ CSR_API(SrvExitWindowsEx); +CSR_API(SrvEndTask); +CSR_API(SrvLogon); +CSR_API(SrvRecordShutdownReason); /* EOF */ Modified: trunk/reactos/win32ss/user/winsrv/usersrv/init.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/usersr…
============================================================================== --- trunk/reactos/win32ss/user/winsrv/usersrv/init.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/winsrv/usersrv/init.c [iso-8859-1] Fri Aug 30 11:33:25 2013 @@ -26,15 +26,15 @@ PCSR_API_ROUTINE UserServerApiDispatchTable[UserpMaxApiNumber - USERSRV_FIRST_API_NUMBER] = { SrvExitWindowsEx, - // SrvEndTask, - // SrvLogon, + SrvEndTask, + SrvLogon, SrvRegisterServicesProcess, // Not present in Win7 - // SrvActivateDebugger, - // SrvGetThreadConsoleDesktop, // Not present in Win7 - // SrvDeviceEvent, + SrvActivateDebugger, + SrvGetThreadConsoleDesktop, // Not present in Win7 + SrvDeviceEvent, SrvRegisterLogonProcess, // Not present in Win7 - // SrvCreateSystemThreads, - // SrvRecordShutdownReason, + SrvCreateSystemThreads, + SrvRecordShutdownReason, // SrvCancelShutdown, // Added in Vista // SrvConsoleHandleOperation, // Added in Win7 // SrvGetSetShutdownBlockReason, // Added in Vista @@ -43,15 +43,15 @@ BOOLEAN UserServerApiServerValidTable[UserpMaxApiNumber - USERSRV_FIRST_API_NUMBER] = { FALSE, // SrvExitWindowsEx - // FALSE, // SrvEndTask - // FALSE, // SrvLogon + FALSE, // SrvEndTask + FALSE, // SrvLogon FALSE, // SrvRegisterServicesProcess - // FALSE, // SrvActivateDebugger - // TRUE, // SrvGetThreadConsoleDesktop - // FALSE, // SrvDeviceEvent + FALSE, // SrvActivateDebugger + TRUE, // SrvGetThreadConsoleDesktop + FALSE, // SrvDeviceEvent FALSE, // SrvRegisterLogonProcess - // FALSE, // SrvCreateSystemThreads - // FALSE, // SrvRecordShutdownReason + FALSE, // SrvCreateSystemThreads + FALSE, // SrvRecordShutdownReason // FALSE, // SrvCancelShutdown // FALSE, // SrvConsoleHandleOperation // FALSE, // SrvGetSetShutdownBlockReason @@ -60,15 +60,15 @@ PCHAR UserServerApiNameTable[UserpMaxApiNumber - USERSRV_FIRST_API_NUMBER] = { "SrvExitWindowsEx", - // "SrvEndTask", - // "SrvLogon", + "SrvEndTask", + "SrvLogon", "SrvRegisterServicesProcess", - // "SrvActivateDebugger", - // "SrvGetThreadConsoleDesktop", - // "SrvDeviceEvent", + "SrvActivateDebugger", + "SrvGetThreadConsoleDesktop", + "SrvDeviceEvent", "SrvRegisterLogonProcess", - // "SrvCreateSystemThreads", - // "SrvRecordShutdownReason", + "SrvCreateSystemThreads", + "SrvRecordShutdownReason", // "SrvCancelShutdown", // "SrvConsoleHandleOperation", // "SrvGetSetShutdownBlockReason", @@ -236,13 +236,37 @@ NtUserCallOneParam(Check, ONEPARAM_ROUTINE_CSRSS_GUICHECK); } -DWORD -WINAPI +ULONG +NTAPI CreateSystemThreads(PVOID pParam) { NtUserCallOneParam((DWORD)pParam, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS); DPRINT1("This thread should not terminate!\n"); return 0; +} + +CSR_API(SrvCreateSystemThreads) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + +CSR_API(SrvActivateDebugger) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + +CSR_API(SrvGetThreadConsoleDesktop) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + +CSR_API(SrvDeviceEvent) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; } CSR_SERVER_DLL_INIT(UserServerDllInitialization) @@ -280,7 +304,10 @@ /* Start the Raw Input Thread and the Desktop Thread */ for (i = 0; i < 2; ++i) { - Status = RtlCreateUserThread(NtCurrentProcess(), NULL, TRUE, 0, 0, 0, (PTHREAD_START_ROUTINE)CreateSystemThreads, (PVOID)i, &ServerThread, &ClientId); + Status = RtlCreateUserThread(NtCurrentProcess(), + NULL, TRUE, 0, 0, 0, + CreateSystemThreads, + (PVOID)i, &ServerThread, &ClientId); if (NT_SUCCESS(Status)) { NtResumeThread(ServerThread, NULL); Modified: trunk/reactos/win32ss/user/winsrv/usersrv/shutdown.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/winsrv/usersr…
============================================================================== --- trunk/reactos/win32ss/user/winsrv/usersrv/shutdown.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/winsrv/usersrv/shutdown.c [iso-8859-1] Fri Aug 30 11:33:25 2013 @@ -931,4 +931,22 @@ } } +CSR_API(SrvEndTask) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + +CSR_API(SrvLogon) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + +CSR_API(SrvRecordShutdownReason) +{ + DPRINT1("%s not yet implemented\n", __FUNCTION__); + return STATUS_NOT_IMPLEMENTED; +} + /* EOF */
11 years, 3 months
1
0
0
0
[akhaldi] 59899: [GDI32] * Fix some print specifiers.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Aug 30 10:51:12 2013 New Revision: 59899 URL:
http://svn.reactos.org/svn/reactos?rev=59899&view=rev
Log: [GDI32] * Fix some print specifiers. Modified: trunk/reactos/win32ss/gdi/gdi32/misc/misc.c trunk/reactos/win32ss/gdi/gdi32/objects/bitmap.c trunk/reactos/win32ss/gdi/gdi32/objects/brush.c trunk/reactos/win32ss/gdi/gdi32/objects/dc.c trunk/reactos/win32ss/gdi/gdi32/objects/font.c Modified: trunk/reactos/win32ss/gdi/gdi32/misc/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/misc/mis…
============================================================================== --- trunk/reactos/win32ss/gdi/gdi32/misc/misc.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/gdi32/misc/misc.c [iso-8859-1] Fri Aug 30 10:51:12 2013 @@ -320,7 +320,7 @@ { if (pBrush_Attr->AttrFlags & ATTR_CACHED) { - DPRINT("Get Handle! Type %d Count %d PEB 0x%x\n", Type, GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock); + DPRINT("Get Handle! Type %d Count %lu PEB 0x%p\n", Type, GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock); pBrush_Attr->AttrFlags &= ~ATTR_CACHED; hPtr[Number - 1] = NULL; GdiHandleCache->ulNumHandles[Type]--; Modified: trunk/reactos/win32ss/gdi/gdi32/objects/bitmap.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
============================================================================== --- trunk/reactos/win32ss/gdi/gdi32/objects/bitmap.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/gdi32/objects/bitmap.c [iso-8859-1] Fri Aug 30 10:51:12 2013 @@ -129,7 +129,7 @@ *size = v5hdr->bV5SizeImage; return 5; } - DPRINT("(%ld): wrong size for header\n", header->biSize ); + DPRINT("(%lu): wrong size for header\n", header->biSize ); return -1; } @@ -527,7 +527,7 @@ return NULL; } - DPRINT("pBMI %x, Size bpp %d, dibsize %d, Conv %d, BSS %d\n", Data,bpp,dibsize,InfoSize,cjBmpScanSize); + DPRINT("pBMI %p, Size bpp %u, dibsize %d, Conv %u, BSS %u\n", Data,bpp,dibsize,InfoSize,cjBmpScanSize); if ( !width || !height ) hBmp = GetStockObject(DEFAULT_BITMAP); @@ -742,9 +742,9 @@ { // We don't die, we continue on with a allocated safe pointer to kernel // space..... - DPRINT1("SetDIBitsToDevice fail to read BitMapInfo: %x or Bits: %x & Size: %d\n",pConvertedInfo,Bits,cjBmpScanSize); + DPRINT1("SetDIBitsToDevice fail to read BitMapInfo: %p or Bits: %p & Size: %u\n",pConvertedInfo,Bits,cjBmpScanSize); } - DPRINT("SetDIBitsToDevice Allocate Bits %d!!!\n", cjBmpScanSize); + DPRINT("SetDIBitsToDevice Allocate Bits %u!!!\n", cjBmpScanSize); } if (!GdiGetHandleUserData(hdc, GDI_OBJECT_TYPE_DC, (PVOID)&pDc_Attr)) @@ -813,7 +813,7 @@ PVOID pvSafeBits = NULL; BOOL Hit = FALSE; - DPRINT("StretchDIBits %x : %x : %d\n", lpBits, lpBitsInfo, iUsage); + DPRINT("StretchDIBits %p : %p : %u\n", lpBits, lpBitsInfo, iUsage); #if 0 // Handle something other than a normal dc object. if (GDI_HANDLE_GET_TYPE(hdc) != GDI_OBJECT_TYPE_DC) @@ -888,9 +888,9 @@ { // We don't die, we continue on with a allocated safe pointer to kernel // space..... - DPRINT1("StretchDIBits fail to read BitMapInfo: %x or Bits: %x & Size: %d\n",pConvertedInfo,lpBits,cjBmpScanSize); + DPRINT1("StretchDIBits fail to read BitMapInfo: %p or Bits: %p & Size: %u\n",pConvertedInfo,lpBits,cjBmpScanSize); } - DPRINT("StretchDIBits Allocate Bits %d!!!\n", cjBmpScanSize); + DPRINT("StretchDIBits Allocate Bits %u!!!\n", cjBmpScanSize); } } Modified: trunk/reactos/win32ss/gdi/gdi32/objects/brush.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
============================================================================== --- trunk/reactos/win32ss/gdi/gdi32/objects/brush.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/gdi32/objects/brush.c [iso-8859-1] Fri Aug 30 10:51:12 2013 @@ -421,7 +421,7 @@ pTeb->GdiTebBatch.Offset += sizeof(GDIBSSETBRHORG); pTeb->GdiTebBatch.HDC = hdc; pTeb->GdiBatchCount++; - DPRINT("Loading the Flush!! COUNT-> %d\n", pTeb->GdiBatchCount); + DPRINT("Loading the Flush!! COUNT-> %lu\n", pTeb->GdiBatchCount); if (pTeb->GdiBatchCount >= GDI_BatchLimit) { Modified: trunk/reactos/win32ss/gdi/gdi32/objects/dc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
============================================================================== --- trunk/reactos/win32ss/gdi/gdi32/objects/dc.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/gdi32/objects/dc.c [iso-8859-1] Fri Aug 30 10:51:12 2013 @@ -26,7 +26,7 @@ } else { - DPRINT("WinSpooler.Drv Loaded! hMod -> 0x%x\n", ghSpooler); + DPRINT("WinSpooler.Drv Loaded! hMod -> 0x%p\n", ghSpooler); } if ((!lpwszDevice) && (!lpwszDriver)) @@ -328,7 +328,7 @@ if ((DWORD)hObject & GDI_HANDLE_STOCK_MASK) { // Relax! This is a normal return! - DPRINT("Trying to delete system object 0x%x\n", hObject); + DPRINT("Trying to delete system object 0x%p\n", hObject); return TRUE; } Modified: trunk/reactos/win32ss/gdi/gdi32/objects/font.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/gdi32/objects/…
============================================================================== --- trunk/reactos/win32ss/gdi/gdi32/objects/font.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/gdi/gdi32/objects/font.c [iso-8859-1] Fri Aug 30 10:51:12 2013 @@ -1082,7 +1082,7 @@ goto end; } - DPRINT("needed = %d\n", needed); + DPRINT("needed = %u\n", needed); if(needed > cbData) { /* Since the supplied buffer isn't big enough, we'll alloc one @@ -1801,7 +1801,7 @@ return FALSE; } if (index >= MAXTCIINDEX || FONT_tci[index].ciCharset == DEFAULT_CHARSET) return FALSE; - DPRINT("Index %d Charset %d CodePage %d FontSig %d\n", + DPRINT("Index %d Charset %u CodePage %u FontSig %lu\n", index,FONT_tci[index].ciCharset,FONT_tci[index].ciACP,FONT_tci[index].fs.fsCsb[0]); memcpy(lpCs, &FONT_tci[index], sizeof(CHARSETINFO)); return TRUE;
11 years, 3 months
1
0
0
0
[akhaldi] 59898: [USER32] * Fix some print specifiers.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Aug 30 10:25:16 2013 New Revision: 59898 URL:
http://svn.reactos.org/svn/reactos?rev=59898&view=rev
Log: [USER32] * Fix some print specifiers. Modified: trunk/reactos/win32ss/user/user32/misc/stubs.c trunk/reactos/win32ss/user/user32/windows/dialog.c Modified: trunk/reactos/win32ss/user/user32/misc/stubs.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/s…
============================================================================== --- trunk/reactos/win32ss/user/user32/misc/stubs.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/misc/stubs.c [iso-8859-1] Fri Aug 30 10:25:16 2013 @@ -41,7 +41,7 @@ WINAPI SetDebugErrorLevel( DWORD dwLevel ) { - DbgPrint("(%ld): stub\n", dwLevel); + DbgPrint("(%lu): stub\n", dwLevel); } Modified: trunk/reactos/win32ss/user/user32/windows/dialog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
============================================================================== --- trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] Fri Aug 30 10:25:16 2013 @@ -285,7 +285,7 @@ info->windowName = HeapAlloc( GetProcessHeap(), 0, sizeof(L"#65535") ); if (info->windowName != NULL) { - wsprintf((LPWSTR)info->windowName, L"#%d", GET_WORD(p + 1)); + wsprintf((LPWSTR)info->windowName, L"#%u", GET_WORD(p + 1)); info->windowNameFree = TRUE; } else
11 years, 3 months
1
0
0
0
[akhaldi] 59897: [PSDK] * Annotate sspi.h.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Aug 30 10:17:22 2013 New Revision: 59897 URL:
http://svn.reactos.org/svn/reactos?rev=59897&view=rev
Log: [PSDK] * Annotate sspi.h. Modified: trunk/reactos/include/psdk/sspi.h Modified: trunk/reactos/include/psdk/sspi.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/sspi.h?rev=59…
============================================================================== --- trunk/reactos/include/psdk/sspi.h [iso-8859-1] (original) +++ trunk/reactos/include/psdk/sspi.h [iso-8859-1] Fri Aug 30 10:17:22 2013 @@ -126,11 +126,10 @@ #define SECPKG_FLAG_APPCONTAINER_PASSTHROUGH 0x00400000 #define SECPKG_FLAG_APPCONTAINER_CHECKS 0x00800000 -typedef struct _SecBuffer -{ - ULONG cbBuffer; - ULONG BufferType; - void *pvBuffer; +typedef struct _SecBuffer { + ULONG cbBuffer; + ULONG BufferType; + _Field_size_bytes_(cbBuffer) void *pvBuffer; } SecBuffer, *PSecBuffer; /* values for BufferType */ @@ -155,11 +154,10 @@ #define SECBUFFER_READONLY_WITH_CHECKSUM 0x10000000 #define SECBUFFER_RESERVED 0x60000000 -typedef struct _SecBufferDesc -{ - ULONG ulVersion; - ULONG cBuffers; - PSecBuffer pBuffers; +typedef struct _SecBufferDesc { + ULONG ulVersion; + ULONG cBuffers; + _Field_size_(cBuffers) PSecBuffer pBuffers; } SecBufferDesc, *PSecBufferDesc; /* values for ulVersion */ @@ -168,10 +166,18 @@ typedef void (SEC_ENTRY *SEC_GET_KEY_FN)(void *Arg, void *Principal, ULONG KeyVer, void **Key, SECURITY_STATUS *Status); -SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesA(PULONG pcPackages, - PSecPkgInfoA *ppPackageInfo); -SECURITY_STATUS SEC_ENTRY EnumerateSecurityPackagesW(PULONG pcPackages, - PSecPkgInfoW *ppPackageInfo); +SECURITY_STATUS +SEC_ENTRY +EnumerateSecurityPackagesA( + _Out_ PULONG pcPackages, + _Outptr_ PSecPkgInfoA *ppPackageInfo); + +SECURITY_STATUS +SEC_ENTRY +EnumerateSecurityPackagesW( + _Out_ PULONG pcPackages, + _Outptr_ PSecPkgInfoW *ppPackageInfo); + #define EnumerateSecurityPackages WINELIB_NAME_AW(EnumerateSecurityPackages) typedef SECURITY_STATUS (SEC_ENTRY *ENUMERATE_SECURITY_PACKAGES_FN_A)(PULONG, @@ -180,10 +186,20 @@ PSecPkgInfoW *); #define ENUMERATE_SECURITY_PACKAGES_FN WINELIB_NAME_AW(ENUMERATE_SECURITY_PACKAGES_FN_) -SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesA( - PCredHandle phCredential, ULONG ulAttribute, void *pBuffer); -SECURITY_STATUS SEC_ENTRY QueryCredentialsAttributesW( - PCredHandle phCredential, ULONG ulAttribute, void *pBuffer); +SECURITY_STATUS +SEC_ENTRY +QueryCredentialsAttributesA( + _In_ PCredHandle phCredential, + _In_ ULONG ulAttribute, + _Inout_ void *pBuffer); + +SECURITY_STATUS +SEC_ENTRY +QueryCredentialsAttributesW( + _In_ PCredHandle phCredential, + _In_ ULONG ulAttribute, + _Inout_ void *pBuffer); + #define QueryCredentialsAttributes WINELIB_NAME_AW(QueryCredentialsAttributes) typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CREDENTIALS_ATTRIBUTES_FN_A) @@ -208,14 +224,32 @@ #define SecPkgCredentials_Names WINELIB_NAME_AW(SecPkgCredentials_Names) -SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleA( - SEC_CHAR *pszPrincipal, SEC_CHAR *pszPackage, ULONG fCredentialsUse, - PLUID pvLogonID, PVOID pAuthData, SEC_GET_KEY_FN pGetKeyFn, - PVOID pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry); -SECURITY_STATUS SEC_ENTRY AcquireCredentialsHandleW( - SEC_WCHAR *pszPrincipal, SEC_WCHAR *pszPackage, ULONG fCredentialsUse, - PLUID pvLogonID, PVOID pAuthData, SEC_GET_KEY_FN pGetKeyFn, - PVOID pvGetKeyArgument, PCredHandle phCredential, PTimeStamp ptsExpiry); +SECURITY_STATUS +SEC_ENTRY +AcquireCredentialsHandleA( + _In_opt_ SEC_CHAR *pszPrincipal, + _In_ SEC_CHAR *pszPackage, + _In_ ULONG fCredentialsUse, + _In_opt_ PLUID pvLogonID, + _In_opt_ PVOID pAuthData, + _In_opt_ SEC_GET_KEY_FN pGetKeyFn, + _In_opt_ PVOID pvGetKeyArgument, + _Out_ PCredHandle phCredential, + _Out_opt_ PTimeStamp ptsExpiry); + +SECURITY_STATUS +SEC_ENTRY +AcquireCredentialsHandleW( + _In_opt_ SEC_WCHAR *pszPrincipal, + _In_ SEC_WCHAR *pszPackage, + _In_ ULONG fCredentialsUse, + _In_opt_ PLUID pvLogonID, + _In_opt_ PVOID pAuthData, + _In_opt_ SEC_GET_KEY_FN pGetKeyFn, + _In_opt_ PVOID pvGetKeyArgument, + _Out_ PCredHandle phCredential, + _Out_opt_ PTimeStamp ptsExpiry); + #define AcquireCredentialsHandle WINELIB_NAME_AW(AcquireCredentialsHandle) /* flags for fCredentialsUse */ @@ -233,29 +267,51 @@ PCredHandle, PTimeStamp); #define ACQUIRE_CREDENTIALS_HANDLE_FN WINELIB_NAME_AW(ACQUIRE_CREDENTIALS_HANDLE_FN_) -SECURITY_STATUS SEC_ENTRY FreeContextBuffer(PVOID pv); - -typedef SECURITY_STATUS (SEC_ENTRY *FREE_CONTEXT_BUFFER_FN)(PVOID); - -SECURITY_STATUS SEC_ENTRY FreeCredentialsHandle(PCredHandle - phCredential); +SECURITY_STATUS SEC_ENTRY FreeContextBuffer(_Inout_ PVOID pv); + +typedef SECURITY_STATUS (SEC_ENTRY *FREE_CONTEXT_BUFFER_FN)(_Inout_ PVOID); + +SECURITY_STATUS +SEC_ENTRY +FreeCredentialsHandle( + _In_ PCredHandle phCredential); #define FreeCredentialHandle FreeCredentialsHandle typedef SECURITY_STATUS (SEC_ENTRY *FREE_CREDENTIALS_HANDLE_FN)(PCredHandle); -SECURITY_STATUS SEC_ENTRY InitializeSecurityContextA( - PCredHandle phCredential, PCtxtHandle phContext, - SEC_CHAR *pszTargetName, ULONG fContextReq, - ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, - ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, - ULONG *pfContextAttr, PTimeStamp ptsExpiry); -SECURITY_STATUS SEC_ENTRY InitializeSecurityContextW( - PCredHandle phCredential, PCtxtHandle phContext, - SEC_WCHAR *pszTargetName, ULONG fContextReq, - ULONG Reserved1, ULONG TargetDataRep, PSecBufferDesc pInput, - ULONG Reserved2, PCtxtHandle phNewContext, PSecBufferDesc pOutput, - ULONG *pfContextAttr, PTimeStamp ptsExpiry); +SECURITY_STATUS +SEC_ENTRY +InitializeSecurityContextA( + _In_opt_ PCredHandle phCredential, + _In_opt_ PCtxtHandle phContext, + _In_opt_ SEC_CHAR *pszTargetName, + _In_ ULONG fContextReq, + _In_ ULONG Reserved1, + _In_ ULONG TargetDataRep, + _In_opt_ PSecBufferDesc pInput, + _In_ ULONG Reserved2, + _Inout_opt_ PCtxtHandle phNewContext, + _Inout_opt_ PSecBufferDesc pOutput, + _Out_ ULONG *pfContextAttr, + _Out_opt_ PTimeStamp ptsExpiry); + +SECURITY_STATUS +SEC_ENTRY +InitializeSecurityContextW( + _In_opt_ PCredHandle phCredential, + _In_opt_ PCtxtHandle phContext, + _In_opt_ SEC_WCHAR *pszTargetName, + _In_ ULONG fContextReq, + _In_ ULONG Reserved1, + _In_ ULONG TargetDataRep, + _In_opt_ PSecBufferDesc pInput, + _In_ ULONG Reserved2, + _Inout_opt_ PCtxtHandle phNewContext, + _Inout_opt_ PSecBufferDesc pOutput, + _Out_ ULONG *pfContextAttr, + _Out_opt_ PTimeStamp ptsExpiry); + #define InitializeSecurityContext WINELIB_NAME_AW(InitializeSecurityContext) typedef SECURITY_STATUS (SEC_ENTRY *INITIALIZE_SECURITY_CONTEXT_FN_A) @@ -315,11 +371,18 @@ #define ISC_RET_RESERVED1 0x00100000 #define ISC_RET_FRAGMENT_ONLY 0x00200000 -SECURITY_STATUS SEC_ENTRY AcceptSecurityContext( - PCredHandle phCredential, PCtxtHandle phContext, PSecBufferDesc pInput, - ULONG fContextReq, ULONG TargetDataRep, - PCtxtHandle phNewContext, PSecBufferDesc pOutput, - ULONG *pfContextAttr, PTimeStamp ptsExpiry); +SECURITY_STATUS +SEC_ENTRY +AcceptSecurityContext( + _In_opt_ PCredHandle phCredential, + _In_opt_ PCtxtHandle phContext, + _In_opt_ PSecBufferDesc pInput, + _In_ ULONG fContextReq, + _In_ ULONG TargetDataRep, + _Inout_opt_ PCtxtHandle phNewContext, + _Inout_opt_ PSecBufferDesc pOutput, + _Out_ ULONG *pfContextAttr, + _Out_opt_ PTimeStamp ptsExpiry); typedef SECURITY_STATUS (SEC_ENTRY *ACCEPT_SECURITY_CONTEXT_FN)(PCredHandle, PCtxtHandle, PSecBufferDesc, ULONG, ULONG, PCtxtHandle, @@ -376,27 +439,42 @@ #define SECURITY_NATIVE_DREP 0x00000010 #define SECURITY_NETWORK_DREP 0x00000000 - -SECURITY_STATUS SEC_ENTRY CompleteAuthToken(PCtxtHandle phContext, - PSecBufferDesc pToken); +SECURITY_STATUS +SEC_ENTRY +CompleteAuthToken( + _In_ PCtxtHandle phContext, + _In_ PSecBufferDesc pToken); typedef SECURITY_STATUS (SEC_ENTRY *COMPLETE_AUTH_TOKEN_FN)(PCtxtHandle, PSecBufferDesc); -SECURITY_STATUS SEC_ENTRY DeleteSecurityContext(PCtxtHandle phContext); +SECURITY_STATUS SEC_ENTRY DeleteSecurityContext(_In_ PCtxtHandle phContext); typedef SECURITY_STATUS (SEC_ENTRY *DELETE_SECURITY_CONTEXT_FN)(PCtxtHandle); -SECURITY_STATUS SEC_ENTRY ApplyControlToken(PCtxtHandle phContext, - PSecBufferDesc pInput); +SECURITY_STATUS +SEC_ENTRY +ApplyControlToken( + _In_ PCtxtHandle phContext, + _In_ PSecBufferDesc pInput); typedef SECURITY_STATUS (SEC_ENTRY *APPLY_CONTROL_TOKEN_FN)(PCtxtHandle, PSecBufferDesc); -SECURITY_STATUS SEC_ENTRY QueryContextAttributesA(PCtxtHandle phContext, - ULONG ulAttribute, void *pBuffer); -SECURITY_STATUS SEC_ENTRY QueryContextAttributesW(PCtxtHandle phContext, - ULONG ulAttribute, void *pBuffer); +SECURITY_STATUS +SEC_ENTRY +QueryContextAttributesA( + _In_ PCtxtHandle phContext, + _In_ ULONG ulAttribute, + _Out_ void *pBuffer); + +SECURITY_STATUS +SEC_ENTRY +QueryContextAttributesW( + _In_ PCtxtHandle phContext, + _In_ ULONG ulAttribute, + _Out_ void *pBuffer); + #define QueryContextAttributes WINELIB_NAME_AW(QueryContextAttributes) typedef SECURITY_STATUS (SEC_ENTRY *QUERY_CONTEXT_ATTRIBUTES_FN_A)(PCtxtHandle, @@ -528,10 +606,9 @@ TimeStamp tsPasswordExpires; } SecPkgContext_PasswordExpiry, *PSecPkgContext_PasswordExpiry; -typedef struct _SecPkgContext_SessionKey -{ - ULONG SessionKeyLength; - unsigned char *SessionKey; +typedef struct _SecPkgContext_SessionKey { + ULONG SessionKeyLength; + _Field_size_bytes_(SessionKeyLength) unsigned char *SessionKey; } SecPkgContext_SessionKey, *PSecPkgContext_SessionKey; typedef struct _SecPkgContext_PackageInfoA @@ -632,31 +709,53 @@ char *Target; } SecPkgContext_Target, *PSecPkgContext_Target; -SECURITY_STATUS SEC_ENTRY ImpersonateSecurityContext(PCtxtHandle phContext); +_Check_return_ +SECURITY_STATUS +SEC_ENTRY +ImpersonateSecurityContext( + _In_ PCtxtHandle phContext); typedef SECURITY_STATUS (SEC_ENTRY *IMPERSONATE_SECURITY_CONTEXT_FN) (PCtxtHandle); -SECURITY_STATUS SEC_ENTRY RevertSecurityContext(PCtxtHandle phContext); +SECURITY_STATUS SEC_ENTRY RevertSecurityContext(_In_ PCtxtHandle phContext); typedef SECURITY_STATUS (SEC_ENTRY *REVERT_SECURITY_CONTEXT_FN)(PCtxtHandle); -SECURITY_STATUS SEC_ENTRY MakeSignature(PCtxtHandle phContext, - ULONG fQOP, PSecBufferDesc pMessage, ULONG MessageSeqNo); +SECURITY_STATUS +SEC_ENTRY +MakeSignature( + _In_ PCtxtHandle phContext, + _In_ ULONG fQOP, + _In_ PSecBufferDesc pMessage, + _In_ ULONG MessageSeqNo); typedef SECURITY_STATUS (SEC_ENTRY *MAKE_SIGNATURE_FN)(PCtxtHandle, ULONG, PSecBufferDesc, ULONG); -SECURITY_STATUS SEC_ENTRY VerifySignature(PCtxtHandle phContext, - PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP); +SECURITY_STATUS +SEC_ENTRY +VerifySignature( + _In_ PCtxtHandle phContext, + _In_ PSecBufferDesc pMessage, + _In_ ULONG MessageSeqNo, + _Out_ PULONG pfQOP); typedef SECURITY_STATUS (SEC_ENTRY *VERIFY_SIGNATURE_FN)(PCtxtHandle, PSecBufferDesc, ULONG, PULONG); -SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoA( - SEC_CHAR *pszPackageName, PSecPkgInfoA *ppPackageInfo); -SECURITY_STATUS SEC_ENTRY QuerySecurityPackageInfoW( - SEC_WCHAR *pszPackageName, PSecPkgInfoW *ppPackageInfo); +SECURITY_STATUS +SEC_ENTRY +QuerySecurityPackageInfoA( + _In_ SEC_CHAR *pszPackageName, + _Outptr_ PSecPkgInfoA *ppPackageInfo); + +SECURITY_STATUS +SEC_ENTRY +QuerySecurityPackageInfoW( + _In_ SEC_WCHAR *pszPackageName, + _Outptr_ PSecPkgInfoW *ppPackageInfo); + #define QuerySecurityPackageInfo WINELIB_NAME_AW(QuerySecurityPackageInfo) typedef SECURITY_STATUS (SEC_ENTRY *QUERY_SECURITY_PACKAGE_INFO_FN_A) @@ -665,8 +764,13 @@ (SEC_WCHAR *, PSecPkgInfoW *); #define QUERY_SECURITY_PACKAGE_INFO_FN WINELIB_NAME_AW(QUERY_SECURITY_PACKAGE_INFO_FN_) -SECURITY_STATUS SEC_ENTRY ExportSecurityContext(PCtxtHandle phContext, - ULONG fFlags, PSecBuffer pPackedContext, void **pToken); +SECURITY_STATUS +SEC_ENTRY +ExportSecurityContext( + _In_ PCtxtHandle phContext, + _In_ ULONG fFlags, + _Out_ PSecBuffer pPackedContext, + _Out_ void **pToken); typedef SECURITY_STATUS (SEC_ENTRY *EXPORT_SECURITY_CONTEXT_FN)(PCtxtHandle, ULONG, PSecBuffer, void **); @@ -675,10 +779,22 @@ #define SECPKG_CONTEXT_EXPORT_RESET_NEW 0x00000001 #define SECPKG_CONTEXT_EXPORT_DELETE_OLD 0x00000002 -SECURITY_STATUS SEC_ENTRY ImportSecurityContextA(SEC_CHAR *pszPackage, - PSecBuffer pPackedContext, void *Token, PCtxtHandle phContext); -SECURITY_STATUS SEC_ENTRY ImportSecurityContextW(SEC_WCHAR *pszPackage, - PSecBuffer pPackedContext, void *Token, PCtxtHandle phContext); +SECURITY_STATUS +SEC_ENTRY +ImportSecurityContextA( + _In_ SEC_CHAR *pszPackage, + _In_ PSecBuffer pPackedContext, + _In_ void *Token, + _Out_ PCtxtHandle phContext); + +SECURITY_STATUS +SEC_ENTRY +ImportSecurityContextW( + _In_ SEC_WCHAR *pszPackage, + _In_ PSecBuffer pPackedContext, + _In_ void *Token, + _Out_ PCtxtHandle phContext); + #define ImportSecurityContext WINELIB_NAME_AW(ImportSecurityContext) typedef SECURITY_STATUS (SEC_ENTRY *IMPORT_SECURITY_CONTEXT_FN_A)(SEC_CHAR *, @@ -687,14 +803,30 @@ PSecBuffer, void *, PCtxtHandle); #define IMPORT_SECURITY_CONTEXT_FN WINELIB_NAME_AW(IMPORT_SECURITY_CONTEXT_FN_) -SECURITY_STATUS SEC_ENTRY AddCredentialsA(PCredHandle hCredentials, - SEC_CHAR *pszPrincipal, SEC_CHAR *pszPackage, ULONG fCredentialUse, - void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, - PTimeStamp ptsExpiry); -SECURITY_STATUS SEC_ENTRY AddCredentialsW(PCredHandle hCredentials, - SEC_WCHAR *pszPrincipal, SEC_WCHAR *pszPackage, ULONG fCredentialUse, - void *pAuthData, SEC_GET_KEY_FN pGetKeyFn, void *pvGetKeyArgument, - PTimeStamp ptsExpiry); +SECURITY_STATUS +SEC_ENTRY +AddCredentialsA( + _In_ PCredHandle hCredentials, + _In_opt_ SEC_CHAR *pszPrincipal, + _In_ SEC_CHAR *pszPackage, + _In_ ULONG fCredentialUse, + _In_opt_ void *pAuthData, + _In_opt_ SEC_GET_KEY_FN pGetKeyFn, + _In_opt_ void *pvGetKeyArgument, + _Out_opt_ PTimeStamp ptsExpiry); + +SECURITY_STATUS +SEC_ENTRY +AddCredentialsW( + _In_ PCredHandle hCredentials, + _In_opt_ SEC_WCHAR *pszPrincipal, + _In_ SEC_WCHAR *pszPackage, + _In_ ULONG fCredentialUse, + _In_opt_ void *pAuthData, + _In_opt_ SEC_GET_KEY_FN pGetKeyFn, + _In_opt_ void *pvGetKeyArgument, + _Out_opt_ PTimeStamp ptsExpiry); + #define AddCredentials WINELIB_NAME_AW(AddCredentials) typedef SECURITY_STATUS (SEC_ENTRY *ADD_CREDENTIALS_FN_A)(PCredHandle, @@ -704,16 +836,30 @@ SEC_WCHAR *, SEC_WCHAR *, ULONG, void *, SEC_GET_KEY_FN, void *, PTimeStamp); -SECURITY_STATUS SEC_ENTRY QuerySecurityContextToken(PCtxtHandle phContext, - HANDLE *phToken); +SECURITY_STATUS +SEC_ENTRY +QuerySecurityContextToken( + _In_ PCtxtHandle phContext, + _Out_ HANDLE *phToken); typedef SECURITY_STATUS (SEC_ENTRY *QUERY_SECURITY_CONTEXT_TOKEN_FN) (PCtxtHandle, HANDLE *); -SECURITY_STATUS SEC_ENTRY EncryptMessage(PCtxtHandle phContext, ULONG fQOP, - PSecBufferDesc pMessage, ULONG MessageSeqNo); -SECURITY_STATUS SEC_ENTRY DecryptMessage(PCtxtHandle phContext, - PSecBufferDesc pMessage, ULONG MessageSeqNo, PULONG pfQOP); +SECURITY_STATUS +SEC_ENTRY +EncryptMessage( + _In_ PCtxtHandle phContext, + _In_ ULONG fQOP, + _In_ PSecBufferDesc pMessage, + _In_ ULONG MessageSeqNo); + +SECURITY_STATUS +SEC_ENTRY +DecryptMessage( + _In_ PCtxtHandle phContext, + _In_ PSecBufferDesc pMessage, + _In_ ULONG MessageSeqNo, + _Out_opt_ PULONG pfQOP); /* values for EncryptMessage fQOP */ #define SECQOP_WRAP_NO_ENCRYPT 0x80000001 @@ -723,10 +869,22 @@ typedef SECURITY_STATUS (SEC_ENTRY *DECRYPT_MESSAGE_FN)(PCtxtHandle, PSecBufferDesc, ULONG, PULONG); -SECURITY_STATUS SEC_ENTRY SetContextAttributesA(PCtxtHandle phContext, - ULONG ulAttribute, void *pBuffer, ULONG cbBuffer); -SECURITY_STATUS SEC_ENTRY SetContextAttributesW(PCtxtHandle phContext, - ULONG ulAttribute, void *pBuffer, ULONG cbBuffer); +SECURITY_STATUS +SEC_ENTRY +SetContextAttributesA( + _In_ PCtxtHandle phContext, + _In_ ULONG ulAttribute, + _In_reads_bytes_(cbBuffer) void *pBuffer, + _In_ ULONG cbBuffer); + +SECURITY_STATUS +SEC_ENTRY +SetContextAttributesW( + _In_ PCtxtHandle phContext, + _In_ ULONG ulAttribute, + _In_reads_bytes_(cbBuffer) void *pBuffer, + _In_ ULONG cbBuffer); + #define SetContextAttributes WINELIB_NAME_AW(SetContextAttributes) typedef SECURITY_STATUS (SEC_ENTRY *SET_CONTEXT_ATTRIBUTES_FN_A)(PCtxtHandle,
11 years, 3 months
1
0
0
0
[akhaldi] 59896: [CMAKE] * Set the subsystem version as 5.01 for recent MSVC toolchains.
by akhaldi@svn.reactos.org
Author: akhaldi Date: Fri Aug 30 10:09:56 2013 New Revision: 59896 URL:
http://svn.reactos.org/svn/reactos?rev=59896&view=rev
Log: [CMAKE] * Set the subsystem version as 5.01 for recent MSVC toolchains. Modified: trunk/reactos/cmake/msvc.cmake Modified: trunk/reactos/cmake/msvc.cmake URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=59896…
============================================================================== --- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original) +++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Fri Aug 30 10:09:56 2013 @@ -104,7 +104,7 @@ function(set_subsystem MODULE SUBSYSTEM) if(NOT CMAKE_C_COMPILER_VERSION VERSION_LESS 17) - add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.0") + add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM},5.01") else() add_target_link_flags(${MODULE} "/SUBSYSTEM:${SUBSYSTEM}") endif()
11 years, 3 months
1
0
0
0
[ion] 59895: [BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.
by ion@svn.reactos.org
Author: ion Date: Fri Aug 30 06:53:07 2013 New Revision: 59895 URL:
http://svn.reactos.org/svn/reactos?rev=59895&view=rev
Log: [BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo. Modified: trunk/reactos/subsystems/win/basesrv/nls.c Modified: trunk/reactos/subsystems/win/basesrv/nls.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/nls…
============================================================================== --- trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] Fri Aug 30 06:53:07 2013 @@ -306,7 +306,7 @@ if (NT_SUCCESS(Status)) { /* Do the copy now, then drop the lock */ - RtlCopyMemory(&NlsMsg->NlsUserInfo, pNlsRegUserInfo, NlsMsg->Size); + RtlCopyMemory(NlsMsg->NlsUserInfo, pNlsRegUserInfo, NlsMsg->Size); DPRINT1("NLS Data copy complete\n"); RtlLeaveCriticalSection(&NlsCacheCriticalSection); }
11 years, 3 months
1
0
0
0
[ion] 59894: [NTDLL/RTL]: Stub and export all the routines that Kernel32 needs.
by ion@svn.reactos.org
Author: ion Date: Fri Aug 30 06:34:16 2013 New Revision: 59894 URL:
http://svn.reactos.org/svn/reactos?rev=59894&view=rev
Log: [NTDLL/RTL]: Stub and export all the routines that Kernel32 needs. Modified: trunk/reactos/dll/ntdll/def/ntdll.spec trunk/reactos/dll/ntdll/ldr/ldrapi.c trunk/reactos/lib/rtl/actctx.c trunk/reactos/lib/rtl/env.c trunk/reactos/lib/rtl/message.c trunk/reactos/lib/rtl/path.c trunk/reactos/lib/rtl/security.c trunk/reactos/lib/rtl/unicode.c Modified: trunk/reactos/dll/ntdll/def/ntdll.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll.spec?r…
============================================================================== --- trunk/reactos/dll/ntdll/def/ntdll.spec [iso-8859-1] (original) +++ trunk/reactos/dll/ntdll/def/ntdll.spec [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -1,26 +1,5 @@ -;@ stdcall A_SHAFinal ; 6.0 and higher -;@ stdcall A_SHAInit ; 6.0 and higher -;@ stdcall A_SHAUpdate ; 6.0 and higher -;@ stdcall AitFireParentUsageEvent ; 6.1 and higher -;@ stdcall AitLogFeatureUsageByApp ; 6.1 and higher -;@ stdcall AlpcAdjustCompletionListConcurrencyCount ; 6.0 and higher -;@ stdcall AlpcFreeCompletionListMessage ; 6.0 and higher -;@ stdcall AlpcGetCompletionListLastMessageInformation ; 6.0 and higher -;@ stdcall AlpcGetCompletionListMessageAttributes ; 6.0 and higher -;@ stdcall AlpcGetHeaderSize ; 6.0 and higher -;@ stdcall AlpcGetMessageAttribute ; 6.0 and higher -;@ stdcall AlpcGetMessageFromCompletionList ; 6.0 and higher -;@ stdcall AlpcGetOutstandingCompletionListMessageCount ; 6.0 and higher -;@ stdcall AlpcInitializeMessageAttribute ; 6.0 and higher -;@ stdcall AlpcMaxAllowedMessageLength ; 6.0 and higher -;@ stdcall AlpcRegisterCompletionList ; 6.0 and higher -;@ stdcall AlpcRegisterCompletionListWorkerThread ; 6.0 and higher -;@ stdcall AlpcRundownCompletionList ; 6.1 and higher -;@ stdcall AlpcUnregisterCompletionList ; 6.0 and higher -;@ stdcall AlpcUnregisterCompletionListWorkerThread ; 6.0 and higher @ stdcall CsrAllocateCaptureBuffer(long long) -;@ stdcall CsrAllocateCapturePointer ; NT3, NT4 only @ stdcall CsrAllocateMessagePointer(ptr long ptr) @ stdcall CsrCaptureMessageBuffer(ptr ptr long ptr) @ stdcall CsrCaptureMessageMultiUnicodeStringsInPlace(ptr long ptr) @@ -28,9 +7,6 @@ @ stdcall CsrCaptureTimeout(long ptr) @ stdcall CsrClientCallServer(ptr ptr long long) @ stdcall CsrClientConnectToServer(str long ptr ptr ptr) -;@ stdcall CsrClientMaxMessage ; NT3 only -;@ stdcall CsrClientSendMessage ; NT3 only -;@ stdcall CsrClientThreadConnect ; NT3 only @ stdcall CsrFreeCaptureBuffer(ptr) @ stdcall CsrGetProcessId() @ stdcall CsrIdentifyAlertableThread() @@ -38,7 +14,6 @@ @ stdcall CsrProbeForRead(ptr long long) @ stdcall CsrProbeForWrite(ptr long long) @ stdcall CsrSetPriorityClass(ptr ptr) -;@ stdcall CsrpProcessCallbackRequest ; 3.51 only @ stdcall DbgBreakPoint() @ varargs DbgPrint(str) @ varargs DbgPrintEx(long long str) @@ -67,16 +42,16 @@ @ stdcall KiUserApcDispatcher(ptr ptr ptr ptr) @ stdcall KiUserCallbackDispatcher(ptr ptr long) ; CHECKME @ stdcall KiUserExceptionDispatcher(ptr ptr) -;@ stdcall LdrAccessOutOfProcessResource +@ stdcall LdrAccessOutOfProcessResource(ptr ptr ptr ptr ptr) @ stdcall LdrAccessResource(long ptr ptr ptr) @ stdcall LdrAddRefDll(long ptr) ;@ stdcall LdrAlternateResourcesEnabled -;@ stdcall LdrCreateOutOfProcessImage -;@ stdcall LdrDestroyOutOfProcessImage +@ stdcall LdrCreateOutOfProcessImage(long ptr ptr ptr) +@ stdcall LdrDestroyOutOfProcessImage(ptr) @ stdcall LdrDisableThreadCalloutsForDll(long) @ stdcall LdrEnumResources(ptr ptr long ptr ptr) @ stdcall LdrEnumerateLoadedModules(long ptr long) -;@ stdcall LdrFindCreateProcessManifest ; 5.1 and 5.2 only +@ stdcall LdrFindCreateProcessManifest(long ptr ptr long ptr) ; 5.1 and 5.2 only @ stdcall LdrFindEntryForAddress(ptr ptr) @ stdcall LdrFindResourceDirectory_U(long ptr long ptr) ;@ stdcall LdrFindResourceEx_U ; 5.1 and higher @@ -97,7 +72,7 @@ @ stdcall LdrQueryImageFileKeyOption(ptr ptr long ptr long ptr) @ stdcall LdrQueryProcessModuleInformation(ptr long ptr) ;@ stdcall LdrSetAppCompatDllRedirectionCallback -;@ stdcall LdrSetDllManifestProber +@ stdcall LdrSetDllManifestProber(ptr) @ stdcall LdrShutdownProcess() @ stdcall LdrShutdownThread() @ stdcall LdrUnloadAlternateResourceModule(ptr) @@ -132,7 +107,6 @@ @ stdcall NtCallbackReturn(ptr long long) @ stdcall NtCancelDeviceWakeupRequest(ptr) @ stdcall NtCancelIoFile(long ptr) -;@ stdcall NtCancelIoFileEx(long ptr ptr) ; 6.0 and higher @ stdcall NtCancelTimer(long ptr) @ stdcall NtClearEvent(long) @ stdcall NtClose(long) @@ -183,7 +157,6 @@ @ stdcall NtDuplicateObject(long long long ptr long long long) @ stdcall NtDuplicateToken(long long long long long long) @ stdcall NtEnumerateBootEntries(ptr ptr) -;@ stdcall NtEnumerateBus ; 3.51 only @ stdcall NtEnumerateKey (long long long long long long) @ stdcall NtEnumerateSystemEnvironmentValuesEx(long ptr long) @ stdcall NtEnumerateValueKey(long long long long long long) @@ -304,11 +277,9 @@ @ stdcall NtReadFileScatter(long long ptr ptr ptr ptr long ptr ptr) @ stdcall NtReadRequestData(ptr ptr long ptr long ptr) @ stdcall NtReadVirtualMemory(long ptr ptr long ptr) -;@ stdcall NtRegisterNewDevice ; 3.51 only @ stdcall NtRegisterThreadTerminatePort(ptr) @ stdcall NtReleaseKeyedEvent(ptr ptr long ptr) @ stdcall NtReleaseMutant(long ptr) -;@ stdcall NtReleaseProcessMutant ; 3.51 only @ stdcall NtReleaseSemaphore(long long ptr) @ stdcall NtRemoveIoCompletion(ptr ptr ptr ptr ptr) @ stdcall NtRemoveProcessDebug(ptr ptr) @@ -343,7 +314,6 @@ @ stdcall NtSetEventBoostPriority(ptr) @ stdcall NtSetHighEventPair(ptr) @ stdcall NtSetHighWaitLowEventPair(ptr) -;@ stdcall NtSetHighWaitLowThread ; 3.51 and 4.0 only @ stdcall NtSetInformationDebugObject(ptr long ptr long ptr) @ stdcall NtSetInformationFile(long long long long long) @ stdcall NtSetInformationJobObject(long long ptr long) @@ -357,7 +327,6 @@ @ stdcall NtSetLdtEntries(long double long double) ; CHECKME @ stdcall NtSetLowEventPair(ptr) @ stdcall NtSetLowWaitHighEventPair(ptr) -;@ stdcall NtSetLowWaitHighThread ; 3.51 and 4.0 only @ stdcall NtSetQuotaInformationFile(ptr ptr ptr long) @ stdcall NtSetSecurityObject(long long ptr) @ stdcall NtSetSystemEnvironmentValue(ptr ptr) @@ -391,11 +360,9 @@ @ stdcall NtUnlockVirtualMemory(long ptr ptr long) @ stdcall NtUnmapViewOfSection(long ptr) @ stdcall NtVdmControl(long ptr) -;@ stdcall NtW32Call(long ptr long ptr ptr) @ stdcall NtWaitForDebugEvent(ptr long ptr ptr) @ stdcall NtWaitForKeyedEvent(ptr ptr long ptr) @ stdcall NtWaitForMultipleObjects(long ptr long long ptr) -;@ stdcall NtWaitForProcessMutant ; 3.51 only @ stdcall NtWaitForSingleObject(long long long) @ stdcall NtWaitHighEventPair(ptr) @ stdcall NtWaitLowEventPair(ptr) @@ -462,7 +429,6 @@ @ stdcall RtlAreAnyAccessesGranted(long long) @ stdcall RtlAreBitsClear(ptr long long) @ stdcall RtlAreBitsSet(ptr long long) -;@ stdcall RtlAssert2 @ stdcall RtlAssert(ptr ptr long ptr) ;@ stdcall RtlCancelTimer @ stdcall -register RtlCaptureContext(ptr) @@ -475,7 +441,6 @@ @ stdcall RtlClearAllBits(ptr) @ stdcall RtlClearBits(ptr long long) ;@ stdcall RtlCloneMemoryStream -;@ stdcall RtlClosePropertySet ; NT 4.0 only ;@ stdcall RtlCommitMemoryStream @ stdcall RtlCompactHeap(long long) @ stdcall RtlCompareMemory(ptr ptr long) @@ -485,7 +450,7 @@ @ stdcall RtlCompressBuffer(long ptr long ptr long long ptr ptr) @ stdcall RtlComputeCrc32(long ptr long) @ stdcall RtlComputeImportTableHash(ptr ptr long) -;@ stdcall RtlComputePrivatizedDllName_U +@ stdcall RtlComputePrivatizedDllName_U(ptr ptr ptr) ;@ stdcall RtlConsoleMultiByteToUnicodeN @ stdcall RtlConvertExclusiveToShared(ptr) @ stdcall -arch=win32 -ret64 RtlConvertLongToLargeInteger(long) @@ -515,7 +480,6 @@ @ stdcall RtlCreateEnvironment(long ptr) @ stdcall RtlCreateHeap(long ptr long long ptr ptr) @ stdcall RtlCreateProcessParameters(ptr ptr ptr ptr ptr ptr ptr ptr ptr ptr) -;@ stdcall RtlCreatePropertySet ; 4.0 only @ stdcall RtlCreateQueryDebugBuffer(long long) @ stdcall RtlCreateRegistryKey(long wstr) @ stdcall RtlCreateSecurityDescriptor(ptr long) @@ -533,12 +497,11 @@ @ stdcall RtlDeNormalizeProcessParams(ptr) @ stdcall RtlDeactivateActivationContext(long long) @ fastcall RtlDeactivateActivationContextUnsafeFast(ptr) -;@ stdcall RtlDebugPrintTimes @ stdcall RtlDecodePointer(ptr) @ stdcall RtlDecodeSystemPointer(ptr) RtlEncodeSystemPointer @ stdcall RtlDecompressBuffer(long ptr long ptr long ptr) @ stdcall RtlDecompressFragment(long ptr long ptr long long ptr ptr) -;@ stdcall RtlDefaultNpAcl +@ stdcall RtlDefaultNpAcl(ptr) @ stdcall RtlDelete(ptr) @ stdcall RtlDeleteAce(ptr long) @ stdcall RtlDeleteAtomFromAtomTable(ptr long) @@ -569,9 +532,9 @@ @ stdcall RtlDoesFileExists_U(wstr) @ stdcall RtlDosApplyFileIsolationRedirection_Ustr(long ptr ptr ptr ptr ptr ptr ptr ptr) @ stdcall RtlDosPathNameToNtPathName_U(wstr ptr ptr ptr) -;@ stdcall RtlDosPathNameToNtPathName_U_WithStatus ; 5.2 SP1, and higher -@ stdcall RtlDosPathNameToRelativeNtPathName_U(ptr ptr ptr ptr) ; CHECKME -;@ stdcall RtlDosPathNameToRelativeNtPathName_U_WithStatus +@ stdcall RtlDosPathNameToNtPathName_U_WithStatus(wstr ptr ptr ptr) ; 5.2 SP1, and higher +@ stdcall RtlDosPathNameToRelativeNtPathName_U(ptr ptr ptr ptr) +@ stdcall RtlDosPathNameToRelativeNtPathName_U_WithStatus(wstr ptr ptr ptr) @ stdcall RtlDosSearchPath_U(wstr wstr wstr long ptr ptr) @ stdcall RtlDosSearchPath_Ustr(long ptr ptr ptr ptr ptr ptr ptr ptr) @ stdcall RtlDowncaseUnicodeChar(long) @@ -592,7 +555,6 @@ @ stdcall RtlEnumerateGenericTableLikeADirectory(ptr ptr ptr long ptr ptr ptr) @ stdcall RtlEnumerateGenericTableWithoutSplaying(ptr ptr) @ stdcall RtlEnumerateGenericTableWithoutSplayingAvl(ptr ptr) -;@ stdcall RtlEnumerateProperties ; 4.0 only @ stdcall RtlEqualComputerName(ptr ptr) @ stdcall RtlEqualDomainName(ptr ptr) @ stdcall RtlEqualLuid(ptr ptr) @@ -610,7 +572,7 @@ @ stdcall RtlFillMemory(ptr long long) @ stdcall RtlFillMemoryUlong(ptr long long) ;@ stdcall RtlFinalReleaseOutOfProcessMemoryStream -;@ stdcall RtlFindActivationContextSectionGuid +@ stdcall RtlFindActivationContextSectionGuid(long ptr long ptr ptr) @ stdcall RtlFindActivationContextSectionString(long ptr long ptr ptr) @ stdcall RtlFindCharInUnicodeString(long ptr ptr ptr) @ stdcall RtlFindClearBits(ptr long long) @@ -631,11 +593,10 @@ ;@ stdcall RtlFindSetRuns(ptr ptr long long) @ stdcall RtlFirstEntrySList(ptr) @ stdcall RtlFirstFreeAce(ptr ptr) -;@ stdcall RtlFlushPropertySet ; 4.0 only @ stdcall RtlFlushSecureMemoryCache(ptr ptr) @ stdcall RtlFormatCurrentUserKeyPath(ptr) @ stdcall RtlFormatMessage(ptr long long long long ptr ptr long) -;@ stdcall RtlFormatMessageEx +@ stdcall RtlFormatMessageEx(ptr long long long long ptr ptr long long) @ stdcall RtlFreeActivationContextStack(ptr) @ stdcall RtlFreeAnsiString(long) @ stdcall RtlFreeHandle(ptr ptr) @@ -667,11 +628,11 @@ @ stdcall RtlGetGroupSecurityDescriptor(ptr ptr ptr) @ stdcall RtlGetLastNtStatus() @ stdcall RtlGetLastWin32Error() -;@ stdcall RtlGetLengthWithoutLastFullDosOrNtPathElement +@ stdcall RtlGetLengthWithoutLastFullDosOrNtPathElement(long ptr ptr) ; Yes, Microsoft really misspelled this one! ;@ stdcall RtlGetLengthWithoutTrailingPathSeperators @ stdcall RtlGetLongestNtPathLength() -;@ stdcall RtlGetNativeSystemInformation +@ stdcall RtlGetNativeSystemInformation(long long long long) NtQuerySystemInformation @ stdcall RtlGetNextRange(ptr ptr long) @ stdcall RtlGetNtGlobalFlags() @ stdcall RtlGetNtProductType(ptr) @@ -686,7 +647,6 @@ ;@ stdcall RtlGetUnloadEventTrace @ stdcall RtlGetUserInfoHeap(ptr long ptr ptr ptr) @ stdcall RtlGetVersion(ptr) -;@ stdcall RtlGuidToPropertySetName ; 4.0 only @ stdcall RtlHashUnicodeString(ptr long long ptr) @ stdcall RtlIdentifierAuthoritySid(ptr) @ stdcall RtlImageDirectoryEntryToData(long long long ptr) @@ -786,7 +746,7 @@ ;@ stdcall RtlMapSecurityErrorToNtStatus @ stdcall RtlMergeRangeLists(ptr ptr ptr long) @ stdcall RtlMoveMemory(ptr ptr long) -;@ stdcall RtlMultiAppendUnicodeStringBuffer +@ stdcall RtlMultiAppendUnicodeStringBuffer(ptr long ptr) @ stdcall RtlMultiByteToUnicodeN(ptr long ptr ptr long) @ stdcall RtlMultiByteToUnicodeSize(ptr str long) @ stdcall RtlNewInstanceSecurityObject(long long ptr ptr ptr ptr ptr long ptr ptr) @@ -876,7 +836,7 @@ @ stdcall RtlSetCurrentDirectory_U(ptr) @ stdcall RtlSetCurrentEnvironment(wstr ptr) @ stdcall RtlSetDaclSecurityDescriptor(ptr long ptr long) -;@ stdcall RtlSetEnvironmentStrings +@ stdcall RtlSetEnvironmentStrings(wstr long) @ stdcall RtlSetEnvironmentVariable(ptr ptr ptr) @ stdcall RtlSetGroupSecurityDescriptor(ptr ptr long) @ stdcall RtlSetHeapInformation(ptr long ptr ptr) @@ -983,7 +943,7 @@ @ stdcall RtlZeroHeap(ptr long) @ stdcall RtlZeroMemory(ptr long) @ stdcall RtlZombifyActivationContext(ptr) -;@ stdcall RtlpApplyLengthFunction +@ stdcall RtlpApplyLengthFunction(long long ptr ptr) @ stdcall RtlpEnsureBufferSize(ptr ptr ptr) ; CHECKME ;@ stdcall RtlpNotOwnerCriticalSection @ stdcall RtlpNtCreateKey(ptr long ptr long ptr ptr) Modified: trunk/reactos/dll/ntdll/ldr/ldrapi.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrapi.c?rev…
============================================================================== --- trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] (original) +++ trunk/reactos/dll/ntdll/ldr/ldrapi.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -22,6 +22,56 @@ ULONG AlternateResourceModuleCount; /* FUNCTIONS *****************************************************************/ + +NTSTATUS +NTAPI +LdrFindCreateProcessManifest(IN ULONG Flags, + IN PVOID Image, + IN PVOID IdPath, + IN ULONG IdPathLength, + IN PVOID OutDataEntry) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +NTSTATUS +NTAPI +LdrDestroyOutOfProcessImage(IN PVOID Image) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +NTSTATUS +NTAPI +LdrCreateOutOfProcessImage(IN ULONG Flags, + IN HANDLE ProcessHandle, + IN HANDLE DllHandle, + IN PVOID Unknown3) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +NTSTATUS +NTAPI +LdrAccessOutOfProcessResource(IN PVOID Unknown, + IN PVOID Image, + IN PVOID Unknown1, + IN PVOID Unknown2, + IN PVOID Unknown3) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +VOID +NTAPI +LdrSetDllManifestProber(IN PVOID ProberFunction) +{ + UNIMPLEMENTED; +} BOOLEAN NTAPI Modified: trunk/reactos/lib/rtl/actctx.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/actctx.c?rev=59894…
============================================================================== --- trunk/reactos/lib/rtl/actctx.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/actctx.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -2778,6 +2778,14 @@ return status; } +NTSTATUS +NTAPI +RtlFindActivationContextSectionGuid(ULONG flags, const GUID *guid, ULONG section_kind, UNICODE_STRING *section_name, PVOID ptr) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + /* Stubs */ NTSTATUS Modified: trunk/reactos/lib/rtl/env.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/env.c?rev=59894&r1…
============================================================================== --- trunk/reactos/lib/rtl/env.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/env.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -14,6 +14,14 @@ #include <debug.h> /* FUNCTIONS *****************************************************************/ + +NTSTATUS +NTAPI +RtlSetEnvironmentStrings(IN PWCHAR NewEnvironment, IN ULONG NewEnvironmentSize) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} /* * @implemented Modified: trunk/reactos/lib/rtl/message.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/message.c?rev=5989…
============================================================================== --- trunk/reactos/lib/rtl/message.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/message.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -122,6 +122,26 @@ return STATUS_SUCCESS; } +NTSTATUS +NTAPI +RtlFormatMessageEx( + PWSTR Message, + UCHAR MaxWidth, + BOOLEAN IgnoreInserts, + BOOLEAN Ansi, + BOOLEAN ArgumentIsArray, + va_list *Arguments, + PWSTR Buffer, + ULONG BufferSize, + ULONG Flags) +{ + DPRINT1("RtlFormatMessage(%S, %u, %s, %s, %s, %s, %p, %lu %lx)\n", + Message, MaxWidth, IgnoreInserts ? "TRUE" : "FALSE", Ansi ? "TRUE" : "FALSE", + ArgumentIsArray ? "TRUE" : "FALSE", (PSTR)Arguments, Buffer, BufferSize, Flags); + + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} /********************************************************************** * RtlFormatMessage (NTDLL.@) @@ -141,7 +161,7 @@ * RETURNS * NTSTATUS code. * - * @unimplemented + * @implemented */ NTSTATUS NTAPI @@ -155,12 +175,7 @@ PWSTR Buffer, ULONG BufferSize) { - DPRINT1("RtlFormatMessage(%S, %u, %s, %s, %s, %s, %p, %lu)\n", - Message, MaxWidth, IgnoreInserts ? "TRUE" : "FALSE", Ansi ? "TRUE" : "FALSE", - ArgumentIsArray ? "TRUE" : "FALSE", (PSTR)Arguments, Buffer, BufferSize); - - UNIMPLEMENTED; - return STATUS_NOT_IMPLEMENTED; + return RtlFormatMessageEx(Message, MaxWidth, IgnoreInserts, Ansi, ArgumentIsArray, Arguments, Buffer, BufferSize, 0); } /* EOF */ Modified: trunk/reactos/lib/rtl/path.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/path.c?rev=59894&r…
============================================================================== --- trunk/reactos/lib/rtl/path.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/path.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -400,6 +400,37 @@ return (UncPath - FileNameBuffer); } +NTSTATUS +NTAPI +RtlpApplyLengthFunction(IN ULONG Flags, + IN ULONG Type, + IN PVOID UnicodeStringOrUnicodeStringBuffer, + IN PVOID LengthFunction) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +NTSTATUS +NTAPI +RtlGetLengthWithoutLastFullDosOrNtPathElement(IN ULONG Flags, + IN PWCHAR Path, + OUT PULONG LengthOut) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +NTSTATUS +NTAPI +RtlComputePrivatizedDllName_U(IN PUNICODE_STRING DllName, + IN PUNICODE_STRING a2, + IN PUNICODE_STRING a3) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + ULONG NTAPI RtlGetFullPathName_Ustr( Modified: trunk/reactos/lib/rtl/security.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/security.c?rev=598…
============================================================================== --- trunk/reactos/lib/rtl/security.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/security.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -59,6 +59,14 @@ } /* PUBLIC FUNCTIONS ***********************************************************/ + +NTSTATUS +NTAPI +RtlDefaultNpAcl(OUT PACL Acl) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} /* * @unimplemented Modified: trunk/reactos/lib/rtl/unicode.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/unicode.c?rev=5989…
============================================================================== --- trunk/reactos/lib/rtl/unicode.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/unicode.c [iso-8859-1] Fri Aug 30 06:34:16 2013 @@ -27,6 +27,16 @@ /* FUNCTIONS *****************************************************************/ + +NTSTATUS +NTAPI +RtlMultiAppendUnicodeStringBuffer(IN PVOID Unknown, + IN ULONG Unknown2, + IN PVOID Unknown3) +{ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} /* * @implemented
11 years, 3 months
1
0
0
0
[hbelusca] 59893: [NTOS] buzdelabuz2 !! We've unveiled who you are !! Fix header information.
by hbelusca@svn.reactos.org
Author: hbelusca Date: Thu Aug 29 22:24:46 2013 New Revision: 59893 URL:
http://svn.reactos.org/svn/reactos?rev=59893&view=rev
Log: [NTOS] buzdelabuz2 !! We've unveiled who you are !! Fix header information. Modified: trunk/reactos/ntoskrnl/fsrtl/fastio.c Modified: trunk/reactos/ntoskrnl/fsrtl/fastio.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/fsrtl/fastio.c?re…
============================================================================== --- trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/fsrtl/fastio.c [iso-8859-1] Thu Aug 29 22:24:46 2013 @@ -3,8 +3,9 @@ * LICENSE: GPL - See COPYING in the top level directory * FILE: ntoskrnl/fsrtl/fastio.c * PURPOSE: Provides Fast I/O entrypoints to the Cache Manager - * PROGRAMMERS: buzdelabuz2@gmail.com,alex.ionescu@reactos.org - * Aleksey Bragin <aleksey(a)reactos.org> + * PROGRAMMERS: Dominique Cote (buzdelabuz2(a)gmail.com) + * Alex Ionescu (alex.ionescu(a)reactos.org) + * Aleksey Bragin (aleksey(a)reactos.org) */ /* INCLUDES ******************************************************************/
11 years, 3 months
1
0
0
0
← Newer
1
2
3
4
5
6
7
...
33
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
Results per page:
10
25
50
100
200