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
2025
January
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 2007
----- 2025 -----
January 2025
----- 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
21 participants
666 discussions
Start a n
N
ew thread
[hpoussin] 28338: Implement BackupEventLogA/W, ClearEventLogA/W, CloseEventLog, DeregisterEventSource, GetNumberOfEventLogRecords, GetOldestEventLogRecord, OpenBackupEventLogA/W, OpenEventLogA/W, ReadEventLogA/W, RegisterEventSourceA/W by calling appropriate method in eventlog.exe Add correct implementation for ReportEventW, but do not activate it (WIDL doesn't support the prototype)
by hpoussin@svn.reactos.org
Author: hpoussin Date: Tue Aug 14 17:20:14 2007 New Revision: 28338 URL:
http://svn.reactos.org/svn/reactos?rev=28338&view=rev
Log: Implement BackupEventLogA/W, ClearEventLogA/W, CloseEventLog, DeregisterEventSource, GetNumberOfEventLogRecords, GetOldestEventLogRecord, OpenBackupEventLogA/W, OpenEventLogA/W, ReadEventLogA/W, RegisterEventSourceA/W by calling appropriate method in eventlog.exe Add correct implementation for ReportEventW, but do not activate it (WIDL doesn't support the prototype) Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
============================================================================== --- trunk/reactos/dll/win32/advapi32/service/eventlog.c (original) +++ trunk/reactos/dll/win32/advapi32/service/eventlog.c Tue Aug 14 17:20:14 2007 @@ -4,6 +4,7 @@ * Copyright 1995 Sven Verdoolaege * Copyright 1998 Juergen Schmied * Copyright 2003 Mike Hearn + * Copyright 2007 Hervé Poussineau * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -25,15 +26,46 @@ #include <debug.h> +typedef struct _LOG_INFO +{ + RPC_BINDING_HANDLE BindingHandle; + LOGHANDLE LogHandle; + BOOL bLocal; +} LOG_INFO, *PLOG_INFO; + /****************************************************************************** * BackupEventLogA [ADVAPI32.@] */ BOOL WINAPI -BackupEventLogA (HANDLE hEventLog, - LPCSTR lpBackupFileName) -{ - DPRINT1("stub\n"); - return TRUE; +BackupEventLogA( + IN HANDLE hEventLog, + IN LPCSTR lpBackupFileName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + ANSI_STRING BackupFileName; + + DPRINT("%p, %s\n", hEventLog, lpBackupFileName); + + RtlInitAnsiString(&BackupFileName, lpBackupFileName); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrBackupELFA( + pLog->BindingHandle, + pLog->LogHandle, + BackupFileName.Buffer); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; } /****************************************************************************** @@ -44,11 +76,35 @@ * lpBackupFileName [] */ BOOL WINAPI -BackupEventLogW (HANDLE hEventLog, - LPCWSTR lpBackupFileName) -{ - DPRINT1("stub\n"); - return TRUE; +BackupEventLogW( + IN HANDLE hEventLog, + IN LPCWSTR lpBackupFileName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING BackupFileName; + + DPRINT("%p, %s\n", hEventLog, lpBackupFileName); + + RtlInitUnicodeString(&BackupFileName, lpBackupFileName); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrBackupELFW( + pLog->BindingHandle, + pLog->LogHandle, + BackupFileName.Buffer); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; } @@ -56,11 +112,35 @@ * ClearEventLogA [ADVAPI32.@] */ BOOL WINAPI -ClearEventLogA (HANDLE hEventLog, - LPCSTR lpBackupFileName) -{ - DPRINT1("stub\n"); - return TRUE; +ClearEventLogA( + IN HANDLE hEventLog, + IN LPCSTR lpBackupFileName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + ANSI_STRING BackupFileName; + + DPRINT("%p, %s\n", hEventLog, lpBackupFileName); + + RtlInitAnsiString(&BackupFileName, lpBackupFileName); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrClearELFA( + pLog->BindingHandle, + pLog->LogHandle, + BackupFileName.Buffer); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; } @@ -68,11 +148,35 @@ * ClearEventLogW [ADVAPI32.@] */ BOOL WINAPI -ClearEventLogW (HANDLE hEventLog, - LPCWSTR lpBackupFileName) -{ - DPRINT1("stub\n"); - return TRUE; +ClearEventLogW( + IN HANDLE hEventLog, + IN LPCWSTR lpBackupFileName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING BackupFileName; + + DPRINT("%p, %s\n", hEventLog, lpBackupFileName); + + RtlInitUnicodeString(&BackupFileName, lpBackupFileName); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrClearELFW( + pLog->BindingHandle, + pLog->LogHandle, + BackupFileName.Buffer); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; } @@ -80,10 +184,41 @@ * CloseEventLog [ADVAPI32.@] */ BOOL WINAPI -CloseEventLog (HANDLE hEventLog) -{ - DPRINT1("stub\n"); - return TRUE; +CloseEventLog( + IN HANDLE hEventLog) +{ + PLOG_INFO pLog; + NTSTATUS Status; + + DPRINT("%p", hEventLog); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + return TRUE; + + if (pLog->bLocal == FALSE) + { + if (!EvtUnbindRpc(pLog->BindingHandle)) + { + SetLastError(ERROR_ACCESS_DENIED); + return FALSE; + } + } + else + { + Status = ElfrCloseEL( + pLog->BindingHandle, + &pLog->LogHandle); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + } + + HeapFree(GetProcessHeap(), 0, pLog); + + return TRUE; } @@ -100,21 +235,18 @@ DeregisterEventSource( IN HANDLE hEventLog) { - RPC_BINDING_HANDLE BindingHandle = NULL; - LOGHANDLE Handle = (LOGHANDLE)hEventLog; + PLOG_INFO pLog; NTSTATUS Status; DPRINT("%p\n", hEventLog); - if (!EvtGetLocalHandle(&BindingHandle)) - { - SetLastError(ERROR_GEN_FAILURE); - return FALSE; - } + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + return TRUE; Status = ElfrDeregisterEventSource( - BindingHandle, - &Handle); + pLog->BindingHandle, + &pLog->LogHandle); if (!NT_SUCCESS(Status)) { SetLastError(RtlNtStatusToDosError(Status)); @@ -132,11 +264,34 @@ * NumberOfRecords [] */ BOOL WINAPI -GetNumberOfEventLogRecords (HANDLE hEventLog, - PDWORD NumberOfRecords) -{ - DPRINT1("stub\n"); - return TRUE; +GetNumberOfEventLogRecords( + IN HANDLE hEventLog, + OUT PDWORD NumberOfRecords) +{ + PLOG_INFO pLog; + NTSTATUS Status; + long Records; + + DPRINT("%p, %p\n", hEventLog, NumberOfRecords); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrNumberOfRecords( + pLog->BindingHandle, + pLog->LogHandle, + &Records); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + + *NumberOfRecords = Records; + return TRUE; } @@ -148,11 +303,34 @@ * OldestRecord [] */ BOOL WINAPI -GetOldestEventLogRecord (HANDLE hEventLog, - PDWORD OldestRecord) -{ - DPRINT1("stub\n"); - return TRUE; +GetOldestEventLogRecord( + IN HANDLE hEventLog, + OUT PDWORD OldestRecord) +{ + PLOG_INFO pLog; + NTSTATUS Status; + long Oldest; + + DPRINT("%p, %p\n", hEventLog, OldestRecord); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrOldestRecord( + pLog->BindingHandle, + pLog->LogHandle, + &Oldest); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + + *OldestRecord = Oldest; + return TRUE; } @@ -164,11 +342,14 @@ * hEvent [] */ BOOL WINAPI -NotifyChangeEventLog (HANDLE hEventLog, - HANDLE hEvent) -{ - DPRINT1("stub\n"); - return TRUE; +NotifyChangeEventLog( + IN HANDLE hEventLog, + IN HANDLE hEvent) +{ + /* Use ElfrChangeNotify */ + UNIMPLEMENTED; + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; } @@ -176,11 +357,36 @@ * OpenBackupEventLogA [ADVAPI32.@] */ HANDLE WINAPI -OpenBackupEventLogA (LPCSTR lpUNCServerName, - LPCSTR lpFileName) -{ - DPRINT1("stub\n"); - return (HANDLE)1; +OpenBackupEventLogA( + IN LPCSTR lpUNCServerName, + IN LPCSTR lpFileName) +{ + UNICODE_STRING UNCServerName; + UNICODE_STRING FileName; + HANDLE Handle; + + DPRINT("%s, %s\n", lpUNCServerName, lpFileName); + + if (!RtlCreateUnicodeStringFromAsciiz(&UNCServerName, lpUNCServerName)) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + if (!RtlCreateUnicodeStringFromAsciiz(&FileName, lpFileName)) + { + RtlFreeUnicodeString(&UNCServerName); + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + + Handle = OpenBackupEventLogW( + UNCServerName.Buffer, + FileName.Buffer); + + RtlFreeUnicodeString(&UNCServerName); + RtlFreeUnicodeString(&FileName); + + return Handle; } @@ -192,11 +398,66 @@ * lpFileName [] */ HANDLE WINAPI -OpenBackupEventLogW (LPCWSTR lpUNCServerName, - LPCWSTR lpFileName) -{ - DPRINT1("stub\n"); - return (HANDLE)1; +OpenBackupEventLogW( + IN LPCWSTR lpUNCServerName, + IN LPCWSTR lpFileName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING UNCServerName; + UNICODE_STRING FileName; + + DPRINT("%s, %s\n", lpUNCServerName, lpFileName); + + RtlInitUnicodeString(&UNCServerName, lpUNCServerName); + RtlInitUnicodeString(&FileName, lpFileName); + + pLog = HeapAlloc(GetProcessHeap(), 0, sizeof(LOG_INFO)); + if (!pLog) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + ZeroMemory(pLog, sizeof(LOG_INFO)); + + if (lpUNCServerName == NULL || *lpUNCServerName == 0) + { + pLog->bLocal = TRUE; + + if (!EvtGetLocalHandle(&pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_GEN_FAILURE); + return NULL; + } + } + else + { + pLog->bLocal = FALSE; + + if (!EvtBindRpc(lpUNCServerName, &pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_INVALID_COMPUTERNAME); + return NULL; + } + } + + Status = ElfrOpenBELW( + pLog->BindingHandle, + UNCServerName.Buffer, + FileName.Buffer, + 0, + 0, + &pLog->LogHandle); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + HeapFree(GetProcessHeap(), 0, pLog); + return NULL; + } + return pLog; } @@ -204,12 +465,32 @@ * OpenEventLogA [ADVAPI32.@] */ HANDLE WINAPI -OpenEventLogA (LPCSTR lpUNCServerName, - LPCSTR lpSourceName) -{ - DPRINT1("(%s,%s),stub!\n", - lpUNCServerName, lpSourceName); - return (HANDLE)0xcafe4242; +OpenEventLogA( + IN LPCSTR lpUNCServerName, + IN LPCSTR lpSourceName) +{ + UNICODE_STRING UNCServerName; + UNICODE_STRING SourceName; + HANDLE Handle; + + if (!RtlCreateUnicodeStringFromAsciiz(&UNCServerName, lpUNCServerName)) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + if (!RtlCreateUnicodeStringFromAsciiz(&SourceName, lpSourceName)) + { + RtlFreeUnicodeString(&UNCServerName); + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + + Handle = OpenEventLogW(UNCServerName.Buffer, SourceName.Buffer); + + RtlFreeUnicodeString(&UNCServerName); + RtlFreeUnicodeString(&SourceName); + + return Handle; } @@ -217,15 +498,71 @@ * OpenEventLogW [ADVAPI32.@] * * PARAMS - * uncname [] - * source [] + * lpUNCServerName [] + * lpSourceName [] */ HANDLE WINAPI -OpenEventLogW (LPCWSTR lpUNCServerName, - LPCWSTR lpSourceName) -{ - DPRINT1("stub\n"); - return (HANDLE)1; +OpenEventLogW( + IN LPCWSTR lpUNCServerName, + IN LPCWSTR lpSourceName) +{ + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING UNCServerName; + UNICODE_STRING SourceName; + + DPRINT("%s, %s\n", lpUNCServerName, lpSourceName); + + RtlInitUnicodeString(&UNCServerName, lpUNCServerName); + RtlInitUnicodeString(&SourceName, lpSourceName); + + pLog = HeapAlloc(GetProcessHeap(), 0, sizeof(LOG_INFO)); + if (!pLog) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + ZeroMemory(pLog, sizeof(LOG_INFO)); + + if (lpUNCServerName == NULL || *lpUNCServerName == 0) + { + pLog->bLocal = TRUE; + + if (!EvtGetLocalHandle(&pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_GEN_FAILURE); + return NULL; + } + } + else + { + pLog->bLocal = FALSE; + + if (!EvtBindRpc(lpUNCServerName, &pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_INVALID_COMPUTERNAME); + return NULL; + } + } + + Status = ElfrOpenELW( + pLog->BindingHandle, + UNCServerName.Buffer, + SourceName.Buffer, + NULL, + 0, + 0, + &pLog->LogHandle); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + HeapFree(GetProcessHeap(), 0, pLog); + return NULL; + } + return pLog; } @@ -233,16 +570,47 @@ * ReadEventLogA [ADVAPI32.@] */ BOOL WINAPI -ReadEventLogA (HANDLE hEventLog, - DWORD dwReadFlags, - DWORD dwRecordOffset, - LPVOID lpBuffer, - DWORD nNumberOfBytesToRead, - DWORD *pnBytesRead, - DWORD *pnMinNumberOfBytesNeeded) -{ - DPRINT1("stub\n"); - return TRUE; +ReadEventLogA( + IN HANDLE hEventLog, + IN DWORD dwReadFlags, + IN DWORD dwRecordOffset, + OUT LPVOID lpBuffer, + IN DWORD nNumberOfBytesToRead, + OUT DWORD *pnBytesRead, + OUT DWORD *pnMinNumberOfBytesNeeded) +{ + PLOG_INFO pLog; + NTSTATUS Status; + long bytesRead, minNumberOfBytesNeeded; + + DPRINT("%p, %lu, %lu, %p, %lu, %p, %p\n", + hEventLog, dwReadFlags, dwRecordOffset, lpBuffer, + nNumberOfBytesToRead, pnBytesRead, pnMinNumberOfBytesNeeded); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrReadELA( + pLog->BindingHandle, + pLog->LogHandle, + dwReadFlags, + dwRecordOffset, + nNumberOfBytesToRead, + lpBuffer, + &bytesRead, + &minNumberOfBytesNeeded); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + + *pnBytesRead = (DWORD)bytesRead; + *pnMinNumberOfBytesNeeded = (DWORD)minNumberOfBytesNeeded; + return TRUE; } @@ -259,16 +627,47 @@ * pnMinNumberOfBytesNeeded [] */ BOOL WINAPI -ReadEventLogW (HANDLE hEventLog, - DWORD dwReadFlags, - DWORD dwRecordOffset, - LPVOID lpBuffer, - DWORD nNumberOfBytesToRead, - DWORD *pnBytesRead, - DWORD *pnMinNumberOfBytesNeeded) -{ - DPRINT1("stub\n"); - return TRUE; +ReadEventLogW( + IN HANDLE hEventLog, + IN DWORD dwReadFlags, + IN DWORD dwRecordOffset, + OUT LPVOID lpBuffer, + IN DWORD nNumberOfBytesToRead, + OUT DWORD *pnBytesRead, + OUT DWORD *pnMinNumberOfBytesNeeded) +{ + PLOG_INFO pLog; + NTSTATUS Status; + long bytesRead, minNumberOfBytesNeeded; + + DPRINT("%p, %lu, %lu, %p, %lu, %p, %p\n", + hEventLog, dwReadFlags, dwRecordOffset, lpBuffer, + nNumberOfBytesToRead, pnBytesRead, pnMinNumberOfBytesNeeded); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + Status = ElfrReadELW( + pLog->BindingHandle, + pLog->LogHandle, + dwReadFlags, + dwRecordOffset, + nNumberOfBytesToRead, + lpBuffer, + &bytesRead, + &minNumberOfBytesNeeded); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + + *pnBytesRead = (DWORD)bytesRead; + *pnMinNumberOfBytesNeeded = (DWORD)minNumberOfBytesNeeded; + return TRUE; } @@ -276,25 +675,34 @@ * RegisterEventSourceA [ADVAPI32.@] */ HANDLE WINAPI -RegisterEventSourceA (LPCSTR lpUNCServerName, - LPCSTR lpSourceName) -{ - UNICODE_STRING UNCServerName; - UNICODE_STRING SourceName; - HANDLE ret; - - RtlCreateUnicodeStringFromAsciiz (&UNCServerName, - (PSTR)lpUNCServerName); - RtlCreateUnicodeStringFromAsciiz (&SourceName, - (PSTR)lpSourceName); - - ret = RegisterEventSourceW (UNCServerName.Buffer, - SourceName.Buffer); - - RtlFreeUnicodeString (&UNCServerName); - RtlFreeUnicodeString (&SourceName); - - return ret; +RegisterEventSourceA( + IN LPCSTR lpUNCServerName, + IN LPCSTR lpSourceName) +{ + UNICODE_STRING UNCServerName; + UNICODE_STRING SourceName; + HANDLE Handle; + + DPRINT("%s, %s\n", lpUNCServerName, lpSourceName); + + if (!RtlCreateUnicodeStringFromAsciiz(&UNCServerName, lpUNCServerName)) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + if (!RtlCreateUnicodeStringFromAsciiz(&SourceName, lpSourceName)) + { + RtlFreeUnicodeString(&UNCServerName); + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + + Handle = RegisterEventSourceW(UNCServerName.Buffer, SourceName.Buffer); + + RtlFreeUnicodeString(&UNCServerName); + RtlFreeUnicodeString(&SourceName); + + return Handle; } @@ -315,40 +723,63 @@ IN LPCWSTR lpUNCServerName, IN LPCWSTR lpSourceName) { - RPC_BINDING_HANDLE BindingHandle = NULL; - LOGHANDLE Handle; - NTSTATUS Status; - - DPRINT("%S, %S\n", lpUNCServerName, lpSourceName); - - if (lpUNCServerName != NULL) - { - DPRINT1("lpUNCServerName argument not supported\n"); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return NULL; - } - - if (!EvtGetLocalHandle(&BindingHandle)) - { - SetLastError(ERROR_GEN_FAILURE); - return NULL; + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING UNCServerName; + UNICODE_STRING SourceName; + + DPRINT("%s, %s\n", lpUNCServerName, lpSourceName); + + RtlInitUnicodeString(&UNCServerName, lpUNCServerName); + RtlInitUnicodeString(&SourceName, lpSourceName); + + pLog = HeapAlloc(GetProcessHeap(), 0, sizeof(LOG_INFO)); + if (!pLog) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return NULL; + } + ZeroMemory(pLog, sizeof(LOG_INFO)); + + if (lpUNCServerName == NULL || *lpUNCServerName == 0) + { + pLog->bLocal = TRUE; + + if (!EvtGetLocalHandle(&pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_GEN_FAILURE); + return NULL; + } + } + else + { + pLog->bLocal = FALSE; + + if (!EvtBindRpc(lpUNCServerName, &pLog->BindingHandle)) + { + HeapFree(GetProcessHeap(), 0, pLog); + SetLastError(ERROR_INVALID_COMPUTERNAME); + return NULL; + } } Status = ElfrRegisterEventSourceW( - BindingHandle, - (LPWSTR)lpUNCServerName, - (LPWSTR)lpSourceName, + pLog->BindingHandle, + UNCServerName.Buffer, + SourceName.Buffer, L"", 0, 0, - &Handle); - if (!NT_SUCCESS(Status)) - { - SetLastError(RtlNtStatusToDosError(Status)); - return NULL; - } - - return (HANDLE)Handle; + &pLog->LogHandle); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + HeapFree(GetProcessHeap(), 0, pLog); + return NULL; + } + return pLog; } @@ -356,63 +787,76 @@ * ReportEventA [ADVAPI32.@] */ BOOL WINAPI -ReportEventA (HANDLE hEventLog, - WORD wType, - WORD wCategory, - DWORD dwEventID, - PSID lpUserSid, - WORD wNumStrings, - DWORD dwDataSize, - LPCSTR *lpStrings, - LPVOID lpRawData) -{ - LPCWSTR *wideStrArray; - UNICODE_STRING str; - int i; - BOOL ret; - - if (wNumStrings == 0) - return TRUE; - - if (lpStrings == NULL) - return TRUE; - - wideStrArray = HeapAlloc (GetProcessHeap (), - 0, - sizeof(LPCWSTR) * wNumStrings); - - for (i = 0; i < wNumStrings; i++) - { - RtlCreateUnicodeStringFromAsciiz (&str, - (PSTR)lpStrings[i]); +ReportEventA( + IN HANDLE hEventLog, + IN WORD wType, + IN WORD wCategory, + IN DWORD dwEventID, + IN PSID lpUserSid, + IN WORD wNumStrings, + IN DWORD dwDataSize, + IN LPCSTR *lpStrings, + IN LPVOID lpRawData) +{ + LPCWSTR *wideStrArray; + UNICODE_STRING str; + WORD i; + BOOL ret; + + if (wNumStrings == 0) + return TRUE; + + if (lpStrings == NULL) + return TRUE; + + wideStrArray = HeapAlloc( + GetProcessHeap(), + HEAP_ZERO_MEMORY, + sizeof(LPCWSTR) * wNumStrings); + + for (i = 0; i < wNumStrings; i++) + { + if (!RtlCreateUnicodeStringFromAsciiz(&str, (PSTR)lpStrings[i])) + break; wideStrArray[i] = str.Buffer; } - ret = ReportEventW (hEventLog, - wType, - wCategory, - dwEventID, - lpUserSid, - wNumStrings, - dwDataSize, - wideStrArray, - lpRawData); - - for (i = 0; i < wNumStrings; i++) - { - if (wideStrArray[i]) - { - HeapFree (GetProcessHeap (), - 0, - (LPSTR)wideStrArray[i]); - } - } - - HeapFree (GetProcessHeap(), - 0, - wideStrArray); - - return ret; + if (i == wNumStrings) + { + ret = ReportEventW( + hEventLog, + wType, + wCategory, + dwEventID, + lpUserSid, + wNumStrings, + dwDataSize, + wideStrArray, + lpRawData); + } + else + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + ret = FALSE; + } + + for (i = 0; i < wNumStrings; i++) + { + if (wideStrArray[i]) + { + HeapFree( + GetProcessHeap(), + 0, + (PVOID)wideStrArray[i]); + } + } + + HeapFree( + GetProcessHeap(), + 0, + wideStrArray); + + return ret; } @@ -431,16 +875,71 @@ * lpRawData [] */ BOOL WINAPI -ReportEventW (HANDLE hEventLog, - WORD wType, - WORD wCategory, - DWORD dwEventID, - PSID lpUserSid, - WORD wNumStrings, - DWORD dwDataSize, - LPCWSTR *lpStrings, - LPVOID lpRawData) -{ +ReportEventW( + IN HANDLE hEventLog, + IN WORD wType, + IN WORD wCategory, + IN DWORD dwEventID, + IN PSID lpUserSid, + IN WORD wNumStrings, + IN DWORD dwDataSize, + IN LPCWSTR *lpStrings, + IN LPVOID lpRawData) +{ +#if 0 + PLOG_INFO pLog; + NTSTATUS Status; + UNICODE_STRING *Strings; + WORD i; + + DPRINT("%p, %u, %u, %lu, %p, %u, %lu, %p, %p\n", + hEventLog, wType, wCategory, dwEventID, lpUserSid, + wNumStrings, dwDataSize, lpStrings, lpRawData); + + pLog = (PLOG_INFO)hEventLog; + if (!pLog) + { + SetLastError(ERROR_INVALID_HANDLE); + return FALSE; + } + + Strings = HeapAlloc( + GetProcessHeap(), + 0, + wNumStrings * sizeof(UNICODE_STRING)); + if (!Strings) + { + SetLastError(ERROR_NOT_ENOUGH_MEMORY); + return FALSE; + } + for (i = 0; i < wNumStrings; i++) + RtlInitUnicodeString(&Strings[i], lpStrings[i]); + + Status = ElfrReportEventW( + pLog->BindingHandle, + pLog->LogHandle, + 0, /* FIXME: Time */ + wType, + wCategory, + dwEventID, + wNumStrings, + dwDataSize, + L"", /* FIXME: ComputerName */ + lpUserSid, + (LPWSTR *)lpStrings, /* FIXME: should be Strings */ + lpRawData, + 0, + NULL, + NULL); + HeapFree(GetProcessHeap(), 0, Strings); + + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; +#else int i; /* partial stub */ @@ -478,4 +977,5 @@ } return TRUE; -} +#endif +}
17 years, 4 months
1
0
0
0
[hpoussin] 28337: Forward RegisterEventSourceW and DeregisterEventSource to eventlog service
by hpoussin@svn.reactos.org
Author: hpoussin Date: Tue Aug 14 12:49:29 2007 New Revision: 28337 URL:
http://svn.reactos.org/svn/reactos?rev=28337&view=rev
Log: Forward RegisterEventSourceW and DeregisterEventSource to eventlog service Added: trunk/reactos/dll/win32/advapi32/service/rpc.c - copied, changed from r28297, trunk/reactos/dll/win32/setupapi/rpc.c Modified: trunk/reactos/dll/win32/advapi32/advapi32.h trunk/reactos/dll/win32/advapi32/advapi32.rbuild trunk/reactos/dll/win32/advapi32/sec/misc.c trunk/reactos/dll/win32/advapi32/service/eventlog.c trunk/reactos/dll/win32/advapi32/service/scm.c Modified: trunk/reactos/dll/win32/advapi32/advapi32.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
============================================================================== --- trunk/reactos/dll/win32/advapi32/advapi32.h (original) +++ trunk/reactos/dll/win32/advapi32/advapi32.h Tue Aug 14 12:49:29 2007 @@ -28,6 +28,7 @@ #include <services/services.h> #include "svcctl_c.h" #include "lsa_c.h" +#include "eventlogrpc_c.h" #ifndef HAS_FN_PROGRESSW #define FN_PROGRESSW FN_PROGRESS @@ -35,6 +36,16 @@ #ifndef HAS_FN_PROGRESSA #define FN_PROGRESSA FN_PROGRESS #endif + +/* rpc.c */ + +RPC_STATUS EvtBindRpc(LPCWSTR pszMachine, + RPC_BINDING_HANDLE* BindingHandle); +RPC_STATUS EvtUnbindRpc(RPC_BINDING_HANDLE *BindingHandle); + +BOOL +EvtGetLocalHandle(RPC_BINDING_HANDLE *BindingHandle); +RPC_STATUS EvtUnbindLocalHandle(void); /* Interface to ntmarta.dll **************************************************/ Modified: trunk/reactos/dll/win32/advapi32/advapi32.rbuild URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/advapi3…
============================================================================== --- trunk/reactos/dll/win32/advapi32/advapi32.rbuild (original) +++ trunk/reactos/dll/win32/advapi32/advapi32.rbuild Tue Aug 14 12:49:29 2007 @@ -4,6 +4,7 @@ <include base="advapi32">.</include> <include base="scm_client">.</include> <include base="lsa_client">.</include> + <include base="eventlog_client">.</include> <define name="__USE_W32API" /> <define name="WINVER">0x600</define> <define name="_WIN32_IE">0x0500</define> @@ -12,6 +13,7 @@ <define name="_UNICODE"></define> <library>scm_client</library> <library>lsa_client</library> + <library>eventlog_client</library> <library>ntdll</library> <library>rpcrt4</library> <library>wine</library> @@ -49,6 +51,7 @@ </directory> <directory name="service"> <file>eventlog.c</file> + <file>rpc.c</file> <file>scm.c</file> <file>sctrl.c</file> <file>undoc.c</file> Modified: trunk/reactos/dll/win32/advapi32/sec/misc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/sec/mis…
============================================================================== --- trunk/reactos/dll/win32/advapi32/sec/misc.c (original) +++ trunk/reactos/dll/win32/advapi32/sec/misc.c Tue Aug 14 12:49:29 2007 @@ -899,7 +899,7 @@ PSID_NAME_USE peUse ) { LSA_UNICODE_STRING SystemName; - LSA_OBJECT_ATTRIBUTES ObjectAttributes = {0}; + LSA_OBJECT_ATTRIBUTES ObjectAttributes = {0}; LSA_HANDLE PolicyHandle = NULL; NTSTATUS Status; PLSA_REFERENCED_DOMAIN_LIST ReferencedDomain = NULL; Modified: trunk/reactos/dll/win32/advapi32/service/eventlog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
============================================================================== --- trunk/reactos/dll/win32/advapi32/service/eventlog.c (original) +++ trunk/reactos/dll/win32/advapi32/service/eventlog.c Tue Aug 14 12:49:29 2007 @@ -97,10 +97,30 @@ * RETURNS STD */ BOOL WINAPI -DeregisterEventSource (HANDLE hEventLog) -{ - DPRINT1("(%p): stub\n",hEventLog); - return TRUE; +DeregisterEventSource( + IN HANDLE hEventLog) +{ + RPC_BINDING_HANDLE BindingHandle = NULL; + LOGHANDLE Handle = (LOGHANDLE)hEventLog; + NTSTATUS Status; + + DPRINT("%p\n", hEventLog); + + if (!EvtGetLocalHandle(&BindingHandle)) + { + SetLastError(ERROR_GEN_FAILURE); + return FALSE; + } + + Status = ElfrDeregisterEventSource( + BindingHandle, + &Handle); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return FALSE; + } + return TRUE; } @@ -291,12 +311,44 @@ * Failure: NULL */ HANDLE WINAPI -RegisterEventSourceW (LPCWSTR lpUNCServerName, - LPCWSTR lpSourceName) -{ - DPRINT1("(%S, %S): stub\n", - lpUNCServerName, lpSourceName); - return (HANDLE)1; +RegisterEventSourceW( + IN LPCWSTR lpUNCServerName, + IN LPCWSTR lpSourceName) +{ + RPC_BINDING_HANDLE BindingHandle = NULL; + LOGHANDLE Handle; + NTSTATUS Status; + + DPRINT("%S, %S\n", lpUNCServerName, lpSourceName); + + if (lpUNCServerName != NULL) + { + DPRINT1("lpUNCServerName argument not supported\n"); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return NULL; + } + + if (!EvtGetLocalHandle(&BindingHandle)) + { + SetLastError(ERROR_GEN_FAILURE); + return NULL; + } + + Status = ElfrRegisterEventSourceW( + BindingHandle, + (LPWSTR)lpUNCServerName, + (LPWSTR)lpSourceName, + L"", + 0, + 0, + &Handle); + if (!NT_SUCCESS(Status)) + { + SetLastError(RtlNtStatusToDosError(Status)); + return NULL; + } + + return (HANDLE)Handle; } @@ -415,6 +467,10 @@ DPRINT1("Warning: %S\n", lpStrings[i]); break; + case EVENTLOG_INFORMATION_TYPE: + DPRINT1("Info: %S\n", lpStrings[i]); + break; + default: DPRINT1("Type %hu: %S\n", wType, lpStrings[i]); break; Copied: trunk/reactos/dll/win32/advapi32/service/rpc.c (from r28297, trunk/reactos/dll/win32/setupapi/rpc.c) URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
============================================================================== --- trunk/reactos/dll/win32/setupapi/rpc.c (original) +++ trunk/reactos/dll/win32/advapi32/service/rpc.c Tue Aug 14 12:49:29 2007 @@ -1,33 +1,19 @@ /* - * RPC support routines - * - * Copyright 2005 Eric Kohl - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + * COPYRIGHT: See COPYING in the top level directory + * PROJECT: ReactOS system libraries + * FILE: lib/advapi32/service/rpc.c + * PURPOSE: RPC support routines + * PROGRAMMER: Eric Kohl */ -#include "setupapi_private.h" +/* INCLUDES ******************************************************************/ -WINE_DEFAULT_DEBUG_CHANNEL(setupapi); +#include <advapi32.h> static RPC_BINDING_HANDLE LocalBindingHandle = NULL; -static HSTRING_TABLE LocalStringTable = NULL; - RPC_STATUS -PnpBindRpc(LPCWSTR pszMachine, +EvtBindRpc(LPCWSTR pszMachine, RPC_BINDING_HANDLE* BindingHandle) { PWSTR pszStringBinding = NULL; @@ -36,7 +22,7 @@ Status = RpcStringBindingComposeW(NULL, L"ncacn_np", (LPWSTR)pszMachine, - L"\\pipe\\umpnpmgr", + L"\\pipe\\EventLog", NULL, &pszStringBinding); if (Status != RPC_S_OK) @@ -50,9 +36,8 @@ return Status; } - RPC_STATUS -PnpUnbindRpc(RPC_BINDING_HANDLE *BindingHandle) +EvtUnbindRpc(RPC_BINDING_HANDLE *BindingHandle) { if (BindingHandle != NULL) { @@ -63,52 +48,31 @@ return RPC_S_OK; } - BOOL -PnpGetLocalHandles(RPC_BINDING_HANDLE *BindingHandle, - HSTRING_TABLE *StringTable) +EvtGetLocalHandle(RPC_BINDING_HANDLE *BindingHandle) { if (LocalBindingHandle != NULL) { if (BindingHandle != NULL) *BindingHandle = LocalBindingHandle; - if (StringTable != NULL) - *StringTable = LocalStringTable; - return TRUE; } - LocalStringTable = StringTableInitialize(); - if (LocalStringTable == NULL) + if (EvtBindRpc(NULL, &LocalBindingHandle) != RPC_S_OK) return FALSE; - - if (PnpBindRpc(NULL, &LocalBindingHandle) != RPC_S_OK) - { - StringTableDestroy(LocalStringTable); - return FALSE; - } - - StringTableAddString(LocalStringTable, L"PLT", 1); if (BindingHandle != NULL) *BindingHandle = LocalBindingHandle; - if (StringTable != NULL) - *StringTable = LocalStringTable; - return TRUE; } - RPC_STATUS -PnpUnbindLocalBindingHandle(VOID) +EvtUnbindLocalHandle(VOID) { - StringTableDestroy(LocalStringTable); - LocalStringTable = NULL; - return PnpUnbindRpc(&LocalBindingHandle); + return EvtUnbindRpc(&LocalBindingHandle); } - void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len) Modified: trunk/reactos/dll/win32/advapi32/service/scm.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/advapi32/service…
============================================================================== --- trunk/reactos/dll/win32/advapi32/service/scm.c (original) +++ trunk/reactos/dll/win32/advapi32/service/scm.c Tue Aug 14 12:49:29 2007 @@ -2163,16 +2163,4 @@ return TRUE; } - -void __RPC_FAR * __RPC_USER midl_user_allocate(size_t len) -{ - return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len); -} - - -void __RPC_USER midl_user_free(void __RPC_FAR * ptr) -{ - HeapFree(GetProcessHeap(), 0, ptr); -} - /* EOF */
17 years, 4 months
1
0
0
0
[hpoussin] 28336: Start the RPC server in eventlog service
by hpoussin@svn.reactos.org
Author: hpoussin Date: Tue Aug 14 12:48:02 2007 New Revision: 28336 URL:
http://svn.reactos.org/svn/reactos?rev=28336&view=rev
Log: Start the RPC server in eventlog service Modified: trunk/reactos/base/services/eventlog/eventlog.c trunk/reactos/base/services/eventlog/rpc.c Modified: trunk/reactos/base/services/eventlog/eventlog.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/eve…
============================================================================== --- trunk/reactos/base/services/eventlog/eventlog.c (original) +++ trunk/reactos/base/services/eventlog/eventlog.c Tue Aug 14 12:48:02 2007 @@ -43,7 +43,6 @@ else CloseHandle(hThread); -#ifdef RPC_ENABLED hThread = CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE) @@ -56,7 +55,6 @@ DPRINT("Can't create RpcThread\n"); else CloseHandle(hThread); -#endif } BOOL LoadLogFile(HKEY hKey, WCHAR * LogName) Modified: trunk/reactos/base/services/eventlog/rpc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/services/eventlog/rpc…
============================================================================== --- trunk/reactos/base/services/eventlog/rpc.c (original) +++ trunk/reactos/base/services/eventlog/rpc.c Tue Aug 14 12:48:02 2007 @@ -9,7 +9,15 @@ /* INCLUDES *****************************************************************/ #include "eventlog.h" -#ifdef RPC_ENABLED + +#ifdef __GNUC__ +/* HACK as long as idl compiler doesn't support well PUNICODE_STRING args */ +#define PANSI_STRING LPSTR +#define PUNICODE_STRING LPWSTR +#define BINDING_HANDLE handle_t BindingHandle, +#else +#define BINDING_HANDLE +#endif /* FUNCTIONS ****************************************************************/ @@ -46,73 +54,80 @@ return 0; } -/* Function 0 */ +/* Function 0x00 */ NTSTATUS ElfrClearELFW( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ PUNICODE_STRING BackupName) { - DPRINT("UNIMPLEMENTED"); - return STATUS_NOT_IMPLEMENTED; -} - -/* Function 1 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + +/* Function 0x01 */ NTSTATUS ElfrBackupELFW( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ PUNICODE_STRING BackupName) { - DPRINT("UNIMPLEMENTED"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 2 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x02 */ NTSTATUS ElfrCloseEL( + BINDING_HANDLE /* [out][in] */ PLOGHANDLE Handle) { - DPRINT("UNIMPLEMENTED"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 3 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x03 */ NTSTATUS ElfrDeregisterEventSource( + BINDING_HANDLE /* [out][in] */ PLOGHANDLE Handle) { - DPRINT("UNIMPLEMENTED"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 4 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x04 */ NTSTATUS ElfrNumberOfRecords( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [out] */ long __RPC_FAR * NumberOfRecords) { - DPRINT("UNIMPLEMENTED"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 5 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x05 */ NTSTATUS ElfrOldestRecord( + BINDING_HANDLE /* [in] */ LOGHANDLE LogHandle, /* [out] */ long __RPC_FAR * OldestRecNumber) { - DPRINT("EventLogGetOldestRec UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 6 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x06 */ NTSTATUS ElfrChangeNotify(void) { - DPRINT("EventLogChangeNotify UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 7 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x07 */ NTSTATUS ElfrOpenELW( + BINDING_HANDLE /* [unique][in] */ LPWSTR ServerName, /* [in] */ PUNICODE_STRING FileName, /* [in] */ PUNICODE_STRING NullStr, @@ -120,13 +135,14 @@ /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - DPRINT("EventLogOpenW UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 8 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x08 */ NTSTATUS ElfrRegisterEventSourceW( + BINDING_HANDLE /* [unique][in] */ LPWSTR ServerName, /* [in] */ PUNICODE_STRING LogName, /* [in] */ PUNICODE_STRING NullStr, @@ -134,26 +150,28 @@ /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - DPRINT("EventLogRegSrcW UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 9 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x09 */ NTSTATUS ElfrOpenBELW( + BINDING_HANDLE /* [unique][in] */ LPWSTR ServerName, /* [in] */ PUNICODE_STRING BackupName, /* [in] */ long MajorVer, /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - DPRINT("EventLogOpenBackupW UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 10 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x0a */ NTSTATUS ElfrReadELW( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ long Flags, /* [in] */ long Offset, @@ -162,13 +180,14 @@ /* [out] */ long __RPC_FAR * BytesRead, /* [out] */ long __RPC_FAR * BytesNeeded) { - DPRINT("EventLogReadW UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 11 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x0b */ NTSTATUS ElfrReportEventW( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ long Time, /* [in] */ short Type, @@ -184,33 +203,36 @@ /* [unique][out][in] */ long __RPC_FAR * unknown1, /* [unique][out][in] */ long __RPC_FAR * unknown2) { - DPRINT("EventLogReportEventW UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 12 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x0c */ NTSTATUS ElfrClearELFA( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [unique][in] */ PANSI_STRING BackupName) { - DPRINT("EventLogClearA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 13 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x0d */ NTSTATUS ElfrBackupELFA( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ PANSI_STRING BackupName) { - DPRINT("EventLogBackupA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 14 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x0e */ NTSTATUS ElfrOpenELA( + BINDING_HANDLE /* [unique][in] */ LPSTR ServerName, /* [in] */ PANSI_STRING LogName, /* [in] */ PANSI_STRING NullStr, @@ -218,7 +240,7 @@ /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - UNICODE_STRING logname = { 0 }, servername = { 0 }, StrNull = { 0 }; + UNICODE_STRING logname = { 0, }, servername = { 0, }, StrNull = { 0, }; NTSTATUS status; if (LogName && !RtlCreateUnicodeStringFromAsciiz(&logname, LogName)) @@ -233,8 +255,8 @@ return STATUS_NO_MEMORY; } - status = EventLogOpenW(servername.Buffer, logname.Buffer, - StrNull, MajorVer, MinorVer, Handle); + status = ElfrOpenELW(BindingHandle, servername.Buffer, logname.Buffer, + StrNull.Buffer, MajorVer, MinorVer, Handle); RtlFreeUnicodeString(&servername); RtlFreeUnicodeString(&logname); @@ -243,8 +265,9 @@ } -/* Function 15 */ +/* Function 0x0f */ NTSTATUS ElfrRegisterEventSourceA( + BINDING_HANDLE /* [unique][in] */ LPSTR ServerName, /* [in] */ PANSI_STRING LogName, /* [in] */ PANSI_STRING NullStr, @@ -252,26 +275,28 @@ /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - DPRINT("EventLogRegSrcA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 16 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x10 */ NTSTATUS ElfrOpenBELA( + BINDING_HANDLE /* [unique][in] */ LPSTR ServerName, /* [in] */ PANSI_STRING BakckupName, /* [in] */ long MajorVer, /* [in] */ long MinorVer, /* [out] */ PLOGHANDLE Handle) { - DPRINT("EventLogOpenBackupA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 17 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x11 */ NTSTATUS ElfrReadELA( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ long Flags, /* [in] */ long Offset, @@ -280,13 +305,14 @@ /* [out] */ long __RPC_FAR * BytesRead, /* [out] */ long __RPC_FAR * BytesNeeded) { - DPRINT("EventLogReadA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 18 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x12 */ NTSTATUS ElfrReportEventA( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ long Time, /* [in] */ short Type, @@ -302,60 +328,58 @@ /* [unique][out][in] */ long __RPC_FAR * unknown1, /* [unique][out][in] */ long __RPC_FAR * unknown2) { - DPRINT("EventLogReportEventA UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 19 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x13 */ NTSTATUS ElfrRegisterClusterSvc(void) { - DPRINT("EventLogRegisterClusterSvc UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 20 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x14 */ NTSTATUS ElfrDeregisterClusterSvc(void) { - DPRINT("EventLogDeregisterClusterSvc UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 21 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x15 */ NTSTATUS ElfrWriteClusterEvents(void) { - DPRINT("EventLogWriteClusterEvents UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 22 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x16 */ NTSTATUS ElfrGetLogInformation( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle, /* [in] */ long InfoLevel, /* [size_is][out] */unsigned char __RPC_FAR * Buffer, /* [in] */ long BufSize, /* [out] */ long __RPC_FAR * BytesNeeded) { - DPRINT("EventLogGetInfo UNIMPLEMENTED\n"); - return STATUS_NOT_IMPLEMENTED; -} - - -/* Function 23 */ + UNIMPLEMENTED; + return STATUS_NOT_IMPLEMENTED; +} + + +/* Function 0x17 */ NTSTATUS ElfrFlushEL( + BINDING_HANDLE /* [in] */ LOGHANDLE Handle) { DbgPrint("EventLogFlush UNIMPLEMENTED\n"); return STATUS_NOT_IMPLEMENTED; } -#else -void func(handle_t h) { } -#endif // RPC_ENABLED - void __RPC_FAR *__RPC_USER midl_user_allocate(size_t len) { return HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, len);
17 years, 4 months
1
0
0
0
[hpoussin] 28335: Add back idl for eventlog
by hpoussin@svn.reactos.org
Author: hpoussin Date: Tue Aug 14 12:01:01 2007 New Revision: 28335 URL:
http://svn.reactos.org/svn/reactos?rev=28335&view=rev
Log: Add back idl for eventlog Modified: trunk/reactos/include/reactos/idl/eventlogrpc.idl Modified: trunk/reactos/include/reactos/idl/eventlogrpc.idl URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/idl/eventl…
============================================================================== --- trunk/reactos/include/reactos/idl/eventlogrpc.idl (original) +++ trunk/reactos/include/reactos/idl/eventlogrpc.idl Tue Aug 14 12:01:01 2007 @@ -16,30 +16,29 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ - - -#ifdef __midl - [ uuid(82273FDC-E32A-18C3-3F78-827929DC23EA), - version(0.0), - pointer_default(unique) + version(0.0), + pointer_default(unique) +#ifndef __midl + ,explicit_handle +#endif ] interface eventlog { - cpp_quote("#ifdef __GNUC__") - cpp_quote("/* FIXME ReactOS SEH support, we need remove this when gcc support native seh */") - cpp_quote("#include <pseh/pseh.h>") - cpp_quote("#endif") - - - cpp_quote("#define RPC_ENABLED") cpp_quote("#if 0") +#ifdef __midl typedef [handle, unique] wchar_t *LPWSTR; typedef [handle, unique] char *LPSTR; typedef unsigned int NTSTATUS; - +#else + #define LPWSTR wchar_t * + #define LPSTR char * + #define NTSTATUS long +#endif + +#ifdef __midl typedef struct _UNICODE_STRING { unsigned short Length; unsigned short MaximumLength; @@ -47,50 +46,81 @@ } UNICODE_STRING, *PUNICODE_STRING; typedef struct _ANSI_STRING { - unsigned short Length; - unsigned short MaximumLength; - [size_is(MaximumLength), unique] char *Buffer; + unsigned short Length; + unsigned short MaximumLength; + [size_is(MaximumLength), unique] char *Buffer; } ANSI_STRING, *PANSI_STRING; +#else + #define PUNICODE_STRING wchar_t * + #define PANSI_STRING char * +#endif cpp_quote("#endif") +#ifdef __midl typedef [context_handle] struct _LOGHANDLE { int pos; } *LOGHANDLE; typedef LOGHANDLE *PLOGHANDLE; +#else + #define LOGHANDLE unsigned int + #define PLOGHANDLE unsigned int* + cpp_quote("typedef unsigned int LOGHANDLE, *PLOGHANDLE;"); +#endif /* Function 0x00 */ NTSTATUS ElfrClearELFW( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] PUNICODE_STRING BackupName); /* Function 0x01 */ NTSTATUS ElfrBackupELFW( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] PUNICODE_STRING BackupName); /* Function 0x02 */ NTSTATUS ElfrCloseEL( +#ifndef __midl + handle_t BindingHandle, +#endif [in,out] PLOGHANDLE Handle); /* Function 0x03 */ NTSTATUS ElfrDeregisterEventSource( +#ifndef __midl + handle_t BindingHandle, +#endif [in,out] PLOGHANDLE Handle); /* Function 0x04 */ NTSTATUS ElfrNumberOfRecords( - [in] LOGHANDLE Handle, - [out] long * NumberOfRecords); +#ifndef __midl + handle_t BindingHandle, +#endif + [in] LOGHANDLE Handle, + [out] long *NumberOfRecords); /* Function 0x05 */ NTSTATUS ElfrOldestRecord( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE LogHandle, - [out] long * OldestRecNumber); + [out] long *OldestRecNumber); /* Function 0x06 */ - NTSTATUS ElfrChangeNotify(); // FIXME + //NTSTATUS ElfrChangeNotify(); // FIXME /* Function 0x07 */ NTSTATUS ElfrOpenELW( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPWSTR ServerName, [in] PUNICODE_STRING FileName, [in] PUNICODE_STRING NullStr, @@ -100,6 +130,9 @@ /* Function 0x08 */ NTSTATUS ElfrRegisterEventSourceW( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPWSTR ServerName, [in] PUNICODE_STRING LogName, [in] PUNICODE_STRING NullStr, @@ -109,6 +142,9 @@ /* Function 0x09 */ NTSTATUS ElfrOpenBELW( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPWSTR ServerName, [in] PUNICODE_STRING BackupName, [in] long MajorVer, @@ -117,16 +153,22 @@ /* Function 0x0a */ NTSTATUS ElfrReadELW( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] long Flags, [in] long Offset, [in] long BufSize, - [out,size_is(BufSize)] char * Buffer, - [out] long * BytesRead, - [out] long * BytesNeeded); + [out,size_is(BufSize)] unsigned char *Buffer, + [out] long *BytesRead, + [out] long *BytesNeeded); /* Function 0x0b */ NTSTATUS ElfrReportEventW( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] long Time, [in] short Type, @@ -135,25 +177,38 @@ [in] short NumStrings, [in] long DataSize, [in] PUNICODE_STRING ComputerName, - [in, unique] char *SID, + [in, unique] unsigned char *SID, +#ifdef __midl [in, size_is(NumStrings), unique] PUNICODE_STRING Strings[*], - [in, size_is(DataSize), unique] unsigned char * Data, +#else + [in, size_is(NumStrings), unique] PUNICODE_STRING *Strings, +#endif + [in, size_is(DataSize), unique] unsigned char *Data, [in] short Flags, - [in,out,unique] long * unknown1, - [in,out,unique] long * unknown2); + [in,out,unique] long *unknown1, + [in,out,unique] long *unknown2); /* Function 0x0c */ NTSTATUS ElfrClearELFA( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in,unique] PANSI_STRING BackupName); /* Function 0x0d */ NTSTATUS ElfrBackupELFA( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] PANSI_STRING BackupName); /* Function 0x0e */ NTSTATUS ElfrOpenELA( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPSTR ServerName, [in] PANSI_STRING LogName, [in] PANSI_STRING NullStr, @@ -163,6 +218,9 @@ /* Function 0x0f */ NTSTATUS ElfrRegisterEventSourceA( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPSTR ServerName, [in] PANSI_STRING LogName, [in] PANSI_STRING NullStr, @@ -172,6 +230,9 @@ /* Function 0x10 */ NTSTATUS ElfrOpenBELA( +#ifndef __midl + handle_t BindingHandle, +#endif [in, unique] LPSTR ServerName, [in] PANSI_STRING BakckupName, [in] long MajorVer, @@ -180,16 +241,22 @@ /* Function 0x11 */ NTSTATUS ElfrReadELA( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] long Flags, [in] long Offset, [in] long BufSize, - [out,size_is(BufSize)] unsigned char * Buffer, + [out,size_is(BufSize)] unsigned char *Buffer, [out] long *BytesRead, [out] long *BytesNeeded); /* Function 0x12 */ NTSTATUS ElfrReportEventA( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] long Time, [in] short Type, @@ -198,51 +265,42 @@ [in] short NumStrings, [in] long DataSize, [in] PANSI_STRING ComputerName, - [in, unique] unsigned char * SID, + [in, unique] unsigned char *SID, +#ifdef __midl [in, size_is(NumStrings), unique] PANSI_STRING Strings[*], +#else + [in, size_is(NumStrings), unique] PANSI_STRING *Strings, +#endif [in, size_is(DataSize), unique] unsigned char *Data, [in] short Flags, - [in,out,unique] long * unknown1, - [in,out,unique] long * unknown2); + [in,out,unique] long *unknown1, + [in,out,unique] long *unknown2); /* Function 0x13 */ - NTSTATUS ElfrRegisterClusterSvc(); //FIXME + //NTSTATUS ElfrRegisterClusterSvc(); //FIXME /* Function 0x14 */ - NTSTATUS ElfrDeregisterClusterSvc(); //FIXME + //NTSTATUS ElfrDeregisterClusterSvc(); //FIXME /* Function 0x15 */ - NTSTATUS ElfrWriteClusterEvents(); //FIXME + //NTSTATUS ElfrWriteClusterEvents(); //FIXME /* Function 0x16 */ NTSTATUS ElfrGetLogInformation( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle, [in] long InfoLevel, - [out, size_is(BufSize)] char *Buffer, + [out, size_is(BufSize)] unsigned char *Buffer, [in] long BufSize, [out] long *BytesNeeded); /* Function 0x17 */ NTSTATUS ElfrFlushEL( +#ifndef __midl + handle_t BindingHandle, +#endif [in] LOGHANDLE Handle); } - -#else - cpp_quote("#ifdef __GNUC__") - cpp_quote("/* FIXME ReactOS SEH support, we need remove this when gcc support native seh */") - cpp_quote("#include <pseh/pseh.h>") - cpp_quote("#endif") - -[ - uuid(82273FDC-E32A-18C3-3F78-827929DC23EA), - version(0.0), - explicit_handle -] - -interface eventlog -{ - void func(handle_t h); -} - -#endif // __midl
17 years, 4 months
1
0
0
0
[zguo] 28334: Merged 28032-37, 45-6, 49-54, 59, 63, 65-78, 81, 83-90, 92-95, 28113-15, 20
by zguo@svn.reactos.org
Author: zguo Date: Tue Aug 14 06:55:59 2007 New Revision: 28334 URL:
http://svn.reactos.org/svn/reactos?rev=28334&view=rev
Log: Merged 28032-37, 45-6, 49-54, 59, 63, 65-78, 81, 83-90, 92-95, 28113-15, 20 Added: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmddbg.c - copied unchanged from r28079, trunk/reactos/base/shell/cmd/cmddbg.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmddbg.h - copied unchanged from r28079, trunk/reactos/base/shell/cmd/cmddbg.h Removed: branches/ros-branch-0_3_3/reactos/base/shell/cmd/main.c Modified: branches/ros-branch-0_3_3/reactos/base/applications/mmc/rsrc.rc branches/ros-branch-0_3_3/reactos/base/applications/mscutils/servman/mainwnd.c branches/ros-branch-0_3_3/reactos/base/applications/regedit/childwnd.c branches/ros-branch-0_3_3/reactos/base/applications/regedit/regproc.c branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/column.c branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/column.h branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/precomp.h branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/taskmgr.c branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/taskmgr.h branches/ros-branch-0_3_3/reactos/base/shell/cmd/alias.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/attrib.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/batch.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/beep.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/call.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/chcp.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/choice.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/cls.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.h branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.rbuild branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmdinput.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmdtable.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/color.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/console.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/copy.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/date.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/del.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/delay.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/dir.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/dirstack.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/echo.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/error.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/filecomp.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/for.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/free.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/goto.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/history.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/if.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/internal.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/label.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/de-DE.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/en-US.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/es-ES.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/fr-FR.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/hu-HU.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/id-ID.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/it-IT.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/nb-NO.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/pl-PL.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/ru-RU.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/uk-UA.rc branches/ros-branch-0_3_3/reactos/base/shell/cmd/locale.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/memory.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/misc.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/move.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/msgbox.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/path.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/pause.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/precomp.h branches/ros-branch-0_3_3/reactos/base/shell/cmd/prompt.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/ren.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/screen.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/set.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/shift.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/start.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/time.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/timer.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/title.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/type.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/ver.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/verify.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/vol.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/where.c branches/ros-branch-0_3_3/reactos/base/shell/cmd/window.c branches/ros-branch-0_3_3/reactos/dll/win32/kernel32/file/move.c branches/ros-branch-0_3_3/reactos/dll/win32/msgina/msgina.rc branches/ros-branch-0_3_3/reactos/dll/win32/syssetup/install.c branches/ros-branch-0_3_3/reactos/dll/win32/user32/include/user32p.h branches/ros-branch-0_3_3/reactos/dll/win32/user32/user32.def branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/caret.c branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/class.c branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/defwnd.c branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/message.c branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/paint.c branches/ros-branch-0_3_3/reactos/drivers/ksfilter/ks/ks.rbuild branches/ros-branch-0_3_3/reactos/drivers/network/ndis/ndis.rbuild branches/ros-branch-0_3_3/reactos/drivers/network/tcpip/tcpip.rbuild branches/ros-branch-0_3_3/reactos/drivers/network/tdi/tdi.rbuild branches/ros-branch-0_3_3/reactos/drivers/storage/class/class2/class2.rbuild branches/ros-branch-0_3_3/reactos/drivers/storage/ide/pciidex/pciidex.rbuild branches/ros-branch-0_3_3/reactos/drivers/storage/port/diskdump/diskdump.rbuild branches/ros-branch-0_3_3/reactos/drivers/storage/scsiport/scsiport.rbuild branches/ros-branch-0_3_3/reactos/drivers/video/videoprt/videoprt.rbuild branches/ros-branch-0_3_3/reactos/drivers/wdm/audio/drm/drmk/drmk.rbuild branches/ros-branch-0_3_3/reactos/drivers/wmi/wmilib.rbuild branches/ros-branch-0_3_3/reactos/include/reactos/win32k/ntgdibad.h branches/ros-branch-0_3_3/reactos/include/reactos/win32k/ntuser.h branches/ros-branch-0_3_3/reactos/lib/inflib/infcore.c branches/ros-branch-0_3_3/reactos/lib/inflib/inflib.h branches/ros-branch-0_3_3/reactos/lib/inflib/infpriv.h branches/ros-branch-0_3_3/reactos/lib/inflib/infput.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/include/intgdi.h branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/caret.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/painting.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/vis.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/windc.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/dc.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/gdiobj.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/paintobj.c branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/win32k.rbuild branches/ros-branch-0_3_3/reactos/tools/nci/w32ksvc.db branches/ros-branch-0_3_3/reactos/tools/rbuild/backend/mingw/modulehandler.cpp branches/ros-branch-0_3_3/reactos/tools/rbuild/bootstrap.cpp branches/ros-branch-0_3_3/reactos/tools/rbuild/module.cpp branches/ros-branch-0_3_3/reactos/tools/rbuild/rbuild.h [This mail would be too long, it was shortened to contain the URLs only.] Modified: branches/ros-branch-0_3_3/reactos/base/applications/mmc/rsrc.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/mscutils/servman/mainwnd.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/regedit/childwnd.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/regedit/regproc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/column.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/column.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/precomp.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/taskmgr.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/applications/taskmgr/taskmgr.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/a…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/alias.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/attrib.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/batch.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/beep.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/call.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/chcp.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/choice.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cls.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmd.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmdinput.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/cmdtable.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/color.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/console.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/copy.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/date.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/del.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/delay.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/dir.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/dirstack.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/echo.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/error.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/filecomp.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/for.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/free.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/goto.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/history.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/if.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/internal.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/label.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/de-DE.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/en-US.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/es-ES.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/fr-FR.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/hu-HU.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/id-ID.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/it-IT.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/nb-NO.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/pl-PL.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/ru-RU.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/lang/uk-UA.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/locale.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Removed: branches/ros-branch-0_3_3/reactos/base/shell/cmd/main.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/memory.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/misc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/move.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/msgbox.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/path.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/pause.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/precomp.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/prompt.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/ren.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/screen.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/set.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/shift.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/start.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/time.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/timer.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/title.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/type.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/ver.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/verify.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/vol.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/where.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/base/shell/cmd/window.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/base/s…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/kernel32/file/move.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/msgina/msgina.rc URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/syssetup/install.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/include/user32p.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/user32.def URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/caret.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/class.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/defwnd.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/message.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/dll/win32/user32/windows/paint.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/dll/wi…
Modified: branches/ros-branch-0_3_3/reactos/drivers/ksfilter/ks/ks.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/network/ndis/ndis.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/network/tcpip/tcpip.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/network/tdi/tdi.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/storage/class/class2/class2.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/storage/ide/pciidex/pciidex.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/storage/port/diskdump/diskdump.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/storage/scsiport/scsiport.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/video/videoprt/videoprt.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/wdm/audio/drm/drmk/drmk.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/drivers/wmi/wmilib.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/driver…
Modified: branches/ros-branch-0_3_3/reactos/include/reactos/win32k/ntgdibad.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/includ…
Modified: branches/ros-branch-0_3_3/reactos/include/reactos/win32k/ntuser.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/includ…
Modified: branches/ros-branch-0_3_3/reactos/lib/inflib/infcore.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/lib/in…
Modified: branches/ros-branch-0_3_3/reactos/lib/inflib/inflib.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/lib/in…
Modified: branches/ros-branch-0_3_3/reactos/lib/inflib/infpriv.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/lib/in…
Modified: branches/ros-branch-0_3_3/reactos/lib/inflib/infput.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/lib/in…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/include/intgdi.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/caret.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/painting.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/vis.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/ntuser/windc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/dc.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/gdiobj.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/objects/paintobj.c URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/subsystems/win32/win32k/win32k.rbuild URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/subsys…
Modified: branches/ros-branch-0_3_3/reactos/tools/nci/w32ksvc.db URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/tools/…
Modified: branches/ros-branch-0_3_3/reactos/tools/rbuild/backend/mingw/modulehandler.cpp URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/tools/…
Modified: branches/ros-branch-0_3_3/reactos/tools/rbuild/bootstrap.cpp URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/tools/…
Modified: branches/ros-branch-0_3_3/reactos/tools/rbuild/module.cpp URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/tools/…
Modified: branches/ros-branch-0_3_3/reactos/tools/rbuild/rbuild.h URL:
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_3/reactos/tools/…
17 years, 4 months
1
0
0
0
[gedmurphy] 28333: only display resolutions which match the current frequency
by gedmurphy@svn.reactos.org
Author: gedmurphy Date: Tue Aug 14 03:33:48 2007 New Revision: 28333 URL:
http://svn.reactos.org/svn/reactos?rev=28333&view=rev
Log: only display resolutions which match the current frequency Modified: trunk/reactos/dll/cpl/desk/settings.c Modified: trunk/reactos/dll/cpl/desk/settings.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/desk/settings.c?re…
============================================================================== --- trunk/reactos/dll/cpl/desk/settings.c (original) +++ trunk/reactos/dll/cpl/desk/settings.c Tue Aug 14 03:33:48 2007 @@ -63,7 +63,6 @@ for (index = 0; index < pGlobalData->CurrentDisplayDevice->ResolutionsCount; index++) { - if (pGlobalData->CurrentDisplayDevice->Resolutions[index].dmPelsWidth == pGlobalData->CurrentDisplayDevice->CurrentSettings->dmPelsWidth && pGlobalData->CurrentDisplayDevice->Resolutions[index].dmPelsHeight == pGlobalData->CurrentDisplayDevice->CurrentSettings->dmPelsHeight) { @@ -87,6 +86,7 @@ HDC hDC; PSETTINGS_ENTRY Current; DWORD bpp, xres, yres, checkbpp; + DWORD curDispFreq; /* Get current settings */ @@ -101,10 +101,24 @@ /* List all settings */ devmode.dmSize = (WORD)sizeof(DEVMODE); devmode.dmDriverExtra = 0; + + if (!EnumDisplaySettingsEx(DeviceName, ENUM_CURRENT_SETTINGS, &devmode, dwFlags)) + return NULL; + + curDispFreq = devmode.dmDisplayFrequency; + while (EnumDisplaySettingsEx(DeviceName, iMode, &devmode, dwFlags)) { - if (devmode.dmBitsPerPel==8 || devmode.dmBitsPerPel==16 || devmode.dmBitsPerPel==24 || devmode.dmBitsPerPel==32) checkbpp=1; - else checkbpp=0; + if ((devmode.dmBitsPerPel==8 || + devmode.dmBitsPerPel==16 || + devmode.dmBitsPerPel==24 || + devmode.dmBitsPerPel==32) && + devmode.dmDisplayFrequency==curDispFreq) + { + checkbpp=1; + } + else + checkbpp=0; if (devmode.dmPelsWidth < 640 || devmode.dmPelsHeight < 480 || checkbpp == 0) @@ -189,17 +203,22 @@ newEntry->Resolutions = HeapAlloc(GetProcessHeap(), 0, ResolutionsCount * sizeof(RESOLUTION_INFO)); if (!newEntry->Resolutions) goto ByeBye; + newEntry->ResolutionsCount = ResolutionsCount; + /* Fill resolutions infos */ for (Current = newEntry->Settings, i = 0; Current != NULL; Current = Current->Flink) - if (Current->Flink == NULL || (Current->Flink != NULL && - ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) || (Current->dmPelsHeight != Current->Flink->dmPelsHeight)))) + { + if (Current->Flink == NULL || + (Current->Flink != NULL && + ((Current->dmPelsWidth != Current->Flink->dmPelsWidth) || + (Current->dmPelsHeight != Current->Flink->dmPelsHeight)))) { newEntry->Resolutions[i].dmPelsWidth = Current->dmPelsWidth; newEntry->Resolutions[i].dmPelsHeight = Current->dmPelsHeight; i++; } - + } descriptionSize = (_tcslen(Description) + 1) * sizeof(TCHAR); description = HeapAlloc(GetProcessHeap(), 0, descriptionSize); if (!description) goto ByeBye;
17 years, 4 months
1
0
0
0
[zguo] 28332: Properly revert 28327-8 and 28330
by zguo@svn.reactos.org
Author: zguo Date: Tue Aug 14 02:54:24 2007 New Revision: 28332 URL:
http://svn.reactos.org/svn/reactos?rev=28332&view=rev
Log: Properly revert 28327-8 and 28330 Added: branches/ros-branch-0_3_3/tools/ (props changed) - copied from r28326, branches/ros-branch-0_3_3/tools/ branches/ros-branch-0_3_3/wallpaper/ - copied from r28329, branches/ros-branch-0_3_3/wallpaper/ branches/ros-branch-0_3_3/web/ (props changed) - copied from r28327, branches/ros-branch-0_3_3/web/ Modified: branches/ros-branch-0_3_3/tools/RosTE/ (props changed) branches/ros-branch-0_3_3/tools/RosTE/GUI/ (props changed) branches/ros-branch-0_3_3/tools/RosTE/GUI/Properties/ (props changed) branches/ros-branch-0_3_3/tools/RosTE/GUI/Resources/ (props changed) branches/ros-branch-0_3_3/tools/RosTE/GUI/Resources/direct/ (props changed) branches/ros-branch-0_3_3/tools/RosTE/installer/ (props changed) branches/ros-branch-0_3_3/tools/vmwaregateway/ (props changed) Propchange: branches/ros-branch-0_3_3/tools/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Tue Aug 14 02:54:24 2007 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: branches/ros-branch-0_3_3/tools/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: branches/ros-branch-0_3_3/tools/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/ros-branch-0_3_3/web/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Tue Aug 14 02:54:24 2007 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: branches/ros-branch-0_3_3/web/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: branches/ros-branch-0_3_3/web/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
17 years, 4 months
1
0
0
0
[zguo] 28331: Revert 28310, 28327-38330. Apparently I can't get away with deleting those folders.
by zguo@svn.reactos.org
Author: zguo Date: Tue Aug 14 01:58:13 2007 New Revision: 28331 URL:
http://svn.reactos.org/svn/reactos?rev=28331&view=rev
Log: Revert 28310, 28327-38330. Apparently I can't get away with deleting those folders. Added: branches/ros-branch-0_3_3/documentation/ (props changed) - copied from r28328, branches/ros-branch-0_3_3/documentation/ branches/ros-branch-0_3_3/irc/ (props changed) - copied from r28309, branches/ros-branch-0_3_3/irc/ Modified: branches/ros-branch-0_3_3/irc/ArchBlackmann/ (props changed) Propchange: branches/ros-branch-0_3_3/documentation/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Tue Aug 14 01:58:13 2007 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: branches/ros-branch-0_3_3/documentation/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: branches/ros-branch-0_3_3/documentation/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
Propchange: branches/ros-branch-0_3_3/irc/ ------------------------------------------------------------------------------ --- bugtraq:logregex (added) +++ bugtraq:logregex Tue Aug 14 01:58:13 2007 @@ -1,0 +1,2 @@ +([Ii]ssue|[Bb]ug)s? #?(\d+)(,? ?#?(\d+))*(,? ?(and |or )?#?(\d+))? +(\d+) Propchange: branches/ros-branch-0_3_3/irc/ ------------------------------------------------------------------------------ bugtraq:message = See issue #%BUGID% for more details. Propchange: branches/ros-branch-0_3_3/irc/ ------------------------------------------------------------------------------ bugtraq:url =
http://www.reactos.org/bugzilla/show_bug.cgi?id=%BUGID%
17 years, 4 months
1
0
0
0
[zguo] 28330: Removed file/folder
by zguo@svn.reactos.org
Author: zguo Date: Tue Aug 14 01:33:17 2007 New Revision: 28330 URL:
http://svn.reactos.org/svn/reactos?rev=28330&view=rev
Log: Removed file/folder Removed: branches/ros-branch-0_3_3/wallpaper/
17 years, 4 months
1
0
0
0
[zguo] 28329: Removed file/folder
by zguo@svn.reactos.org
Author: zguo Date: Tue Aug 14 01:32:53 2007 New Revision: 28329 URL:
http://svn.reactos.org/svn/reactos?rev=28329&view=rev
Log: Removed file/folder Removed: branches/ros-branch-0_3_3/documentation/
17 years, 4 months
1
0
0
0
← Newer
1
...
37
38
39
40
41
42
43
...
67
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
66
67
Results per page:
10
25
50
100
200