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
June 2015
----- 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
13 participants
343 discussions
Start a n
N
ew thread
[cfinck] 68237: [SPOOLSS] [SPOOLSV] [WINSPOOL] - Add RPC calls in winspool, Router calls in spoolsv and Local Spooler calls in spoolss for most of the APIs I've implemented in localspl. This is sti...
by cfinck@svn.reactos.org
Author: cfinck Date: Mon Jun 22 14:31:47 2015 New Revision: 68237 URL:
http://svn.reactos.org/svn/reactos?rev=68237&view=rev
Log: [SPOOLSS] [SPOOLSV] [WINSPOOL] - Add RPC calls in winspool, Router calls in spoolsv and Local Spooler calls in spoolss for most of the APIs I've implemented in localspl. This is still Work-In-Progress and missing some sanity checks, but a first step into something usable from the documented Spooler API side. - Separate APIs into individual source files just like I did for localspl. Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/jobs.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printers.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printprocessors.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/jobs.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printers.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printprocessors.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/jobs.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printers.c (with props) branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printprocessors.c (with props) Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/CMakeLists.txt branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/spoolss.spec branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/CMakeLists.txt branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcstubs.c branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/CMakeLists.txt branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/CMakeLists.txt [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/CMakeLists.txt [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -3,9 +3,12 @@ list(APPEND SOURCE context.c + jobs.c main.c memory.c precomp.h + printers.c + printprocessors.c tools.c) add_library(spoolss SHARED Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/jobs.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/jobs.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/jobs.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,20 @@ +/* + * PROJECT: ReactOS Spooler Router + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions for managing print jobs + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +BOOL WINAPI +AddJob(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return LocalSplFuncs.fpAddJob(hPrinter, Level, pData, cbBuf, pcbNeeded); +} + +BOOL WINAPI +GetJob(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return LocalSplFuncs.fpGetJob(hPrinter, JobId, Level, pJob, cbBuf, pcbNeeded); +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/jobs.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/main.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -12,12 +12,6 @@ BOOL WINAPI -ClosePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) { switch (fdwReason) @@ -29,42 +23,6 @@ } return TRUE; -} - -BOOL WINAPI -EndDocPrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -EndPagePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; } BOOL WINAPI @@ -96,18 +54,6 @@ } return TRUE; -} - -BOOL WINAPI -OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault) -{ - return FALSE; -} - -DWORD WINAPI -StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo) -{ - return 0; } BOOL WINAPI @@ -154,21 +100,3 @@ // Nothing to do here yet return ERROR_SUCCESS; } - -BOOL WINAPI -StartPagePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten) -{ - return FALSE; -} - -BOOL WINAPI -XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus) -{ - return FALSE; -} Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/precomp.h [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -26,5 +26,6 @@ // main.c extern HANDLE hProcessHeap; +extern PRINTPROVIDOR LocalSplFuncs; #endif Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printers.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printers.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printers.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,75 @@ +/* + * PROJECT: ReactOS Spooler Router + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Printers and printing + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + + +BOOL WINAPI +ClosePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +EndDocPrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +EndPagePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + return LocalSplFuncs.fpEnumPrinters(Flags, Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned); +} + +BOOL WINAPI +GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault) +{ + return LocalSplFuncs.fpOpenPrinter(pPrinterName, phPrinter, pDefault); +} + +DWORD WINAPI +StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo) +{ + return 0; +} + +BOOL WINAPI +StartPagePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten) +{ + return FALSE; +} + +BOOL WINAPI +XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus) +{ + return FALSE; +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printers.c ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printprocessors.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printprocessors.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printprocessors.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,26 @@ +/* + * PROJECT: ReactOS Spooler Router + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Print Processors + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +BOOL WINAPI +EnumPrintProcessorDatatypesW(LPWSTR pName, LPWSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + return LocalSplFuncs.fpEnumPrintProcessorDatatypes(pName, pPrintProcessorName, Level, pDatatypes, cbBuf, pcbNeeded, pcReturned); +} + +BOOL WINAPI +EnumPrintProcessorsW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + return LocalSplFuncs.fpEnumPrintProcessors(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded, pcReturned); +} + +BOOL WINAPI +GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return LocalSplFuncs.fpGetPrintProcessorDirectory(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded); +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/printprocessors.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/spoolss.spec URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/spoolss.spec [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolss/spoolss.spec [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -1,7 +1,7 @@ @ stub AbortPrinter @ stub AddDriverCatalog @ stub AddFormW -@ stub AddJobW +@ stdcall AddJobW(long long ptr long ptr) @ stub AddMonitorW @ stub AddPerMachineConnectionW @ stub AddPortExW @@ -68,8 +68,8 @@ @ stub EnumPrinterDriversW @ stub EnumPrinterKeyW @ stdcall EnumPrintersW(long ptr long ptr long ptr ptr) -@ stub EnumPrintProcessorDatatypesW -@ stub EnumPrintProcessorsW +@ stdcall EnumPrintProcessorDatatypesW(ptr ptr long ptr long ptr ptr) +@ stdcall EnumPrintProcessorsW(ptr ptr long ptr long ptr ptr) @ stub FindClosePrinterChangeNotification @ stub FlushPrinter @ stub FormatPrinterForRegistryKey @@ -78,7 +78,7 @@ @ stub GetClientUserHandle @ stub GetFormW @ stub GetJobAttributes -@ stub GetJobW +@ stdcall GetJobW(long long long ptr long ptr) @ stub GetNetworkId @ stub GetPrinterDataExW @ stub GetPrinterDataW Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/CMakeLists.txt [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/CMakeLists.txt [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -4,10 +4,13 @@ list(APPEND SOURCE init.c + jobs.c main.c + printers.c + printprocessors.c + precomp.h rpcserver.c rpcstubs.c - precomp.h ${CMAKE_CURRENT_BINARY_DIR}/winspool_s.c) add_executable(spoolsv ${SOURCE} spoolsv.rc) Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/jobs.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/jobs.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/jobs.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,68 @@ +/* + * PROJECT: ReactOS Print Spooler Service + * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation + * PURPOSE: Functions for managing print jobs + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +DWORD +_RpcAddJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE* pAddJob, DWORD cbBuf, DWORD* pcbNeeded) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = AddJobW(hPrinter, Level, pAddJob, cbBuf, pcbNeeded); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("AddJobW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} + +DWORD +_RpcGetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, DWORD Level, BYTE* pJob, DWORD cbBuf, DWORD* pcbNeeded) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = GetJobW(hPrinter, JobId, Level, pJob, cbBuf, pcbNeeded); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("GetJobW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} + +DWORD +_RpcScheduleJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId) +{ + UNIMPLEMENTED; + return ERROR_INVALID_FUNCTION; +} + +DWORD +_RpcSetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, WINSPOOL_JOB_CONTAINER* pJobContainer, DWORD Command) +{ + UNIMPLEMENTED; + return ERROR_INVALID_FUNCTION; +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/jobs.c ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printers.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printers.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printers.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,59 @@ +/* + * PROJECT: ReactOS Print Spooler Service + * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Printers and printing + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +DWORD +_RpcEnumPrinters(DWORD Flags, WINSPOOL_HANDLE Name, DWORD Level, BYTE* pPrinterEnum, DWORD cbBuf, DWORD* pcbNeeded, DWORD* pcReturned) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = EnumPrintersW(Flags, Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("EnumPrintersW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} + +DWORD +_RpcOpenPrinter(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE* phPrinter, WCHAR* pDatatype, WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer, DWORD AccessRequired) +{ + DWORD dwErrorCode; + PRINTER_DEFAULTSW Default; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + Default.DesiredAccess = AccessRequired; + Default.pDatatype = pDatatype; + Default.pDevMode = (PDEVMODEW)pDevModeContainer->pDevMode; + + dwErrorCode = OpenPrinterW(pPrinterName, phPrinter, &Default); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("OpenPrinterW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printers.c ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printprocessors.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printprocessors.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printprocessors.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,84 @@ +/* + * PROJECT: ReactOS Print Spooler Service + * LICENSE: GNU GPLv2 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Print Processors + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +DWORD +_RpcAddPrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPathName, WCHAR *pPrintProcessorName) +{ + UNIMPLEMENTED; + return ERROR_INVALID_FUNCTION; +} + +DWORD +_RpcEnumPrintProcessorDatatypes(WINSPOOL_HANDLE pName, WCHAR *pPrintProcessorName, DWORD Level, BYTE *pDatatypes, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = EnumPrintProcessorDatatypesW(pName, pPrintProcessorName, Level, pDatatypes, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("EnumPrintProcessorDatatypesW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} + +DWORD +_RpcEnumPrintProcessors(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorInfo, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = EnumPrintProcessorsW(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("EnumPrintProcessorsW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} + +DWORD +_RpcGetPrintProcessorDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorDirectory, DWORD cbBuf, DWORD *pcbNeeded) +{ + DWORD dwErrorCode; + + dwErrorCode = RpcImpersonateClient(NULL); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("RpcImpersonateClient failed with error %lu!\n", dwErrorCode); + return dwErrorCode; + } + + dwErrorCode = GetPrintProcessorDirectoryW(pName, pEnvironment, Level, pPrintProcessorDirectory, cbBuf, pcbNeeded); + if (dwErrorCode != ERROR_SUCCESS) + { + ERR("EnumPrintProcessorsW failed with error %lu!\n", dwErrorCode); + RpcRevertToSelf(); + return dwErrorCode; + } + + return RpcRevertToSelf(); +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/printprocessors.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcstubs.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcstubs.c [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/spoolsv/rpcstubs.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -8,34 +8,6 @@ #include "precomp.h" DWORD -_RpcEnumPrinters(DWORD Flags, WINSPOOL_HANDLE Name, DWORD Level, BYTE* pPrinterEnum, DWORD cbBuf, DWORD* pcbNeeded, DWORD* pcReturned) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcOpenPrinter(WINSPOOL_HANDLE pPrinterName, WINSPOOL_PRINTER_HANDLE* phPrinter, WCHAR* pDatatype, WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer, DWORD AccessRequired) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcSetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, WINSPOOL_JOB_CONTAINER *pJobContainer, DWORD Command) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcGetJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD _RpcEnumJobs(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD FirstJob, DWORD NoJobs, DWORD Level, BYTE *pJob, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned) { UNIMPLEMENTED; @@ -106,27 +78,6 @@ } DWORD -_RpcAddPrintProcessor(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, WCHAR *pPathName, WCHAR *pPrintProcessorName) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcEnumPrintProcessors(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorInfo, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcGetPrintProcessorDirectory(WINSPOOL_HANDLE pName, WCHAR *pEnvironment, DWORD Level, BYTE *pPrintProcessorDirectory, DWORD cbBuf, DWORD *pcbNeeded) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD _RpcStartDocPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WINSPOOL_DOC_INFO_CONTAINER *pDocInfoContainer, DWORD *pJobId) { UNIMPLEMENTED; @@ -176,20 +127,6 @@ } DWORD -_RpcAddJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD Level, BYTE *pAddJob, DWORD cbBuf, DWORD *pcbNeeded) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD -_RpcScheduleJob(WINSPOOL_PRINTER_HANDLE hPrinter, DWORD JobId) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD _RpcGetPrinterData(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pValueName, DWORD *pType, BYTE *pData, DWORD nSize, DWORD *pcbNeeded) { UNIMPLEMENTED; @@ -365,13 +302,6 @@ } DWORD -_RpcEnumPrintProcessorDatatypes(WINSPOOL_HANDLE pName, WCHAR *pPrintProcessorName, DWORD Level, BYTE *pDatatypes, DWORD cbBuf, DWORD *pcbNeeded, DWORD *pcReturned) -{ - UNIMPLEMENTED; - return ERROR_INVALID_FUNCTION; -} - -DWORD _RpcResetPrinter(WINSPOOL_PRINTER_HANDLE hPrinter, WCHAR *pDatatype, WINSPOOL_DEVMODE_CONTAINER *pDevModeContainer) { UNIMPLEMENTED; Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/CMakeLists.txt [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/CMakeLists.txt [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -4,8 +4,11 @@ spec2def(winspool.drv winspool.spec ADD_IMPORTLIB) list(APPEND SOURCE + jobs.c main.c precomp.h + printers.c + printprocessors.c ${CMAKE_CURRENT_BINARY_DIR}/winspool_c.c) add_library(winspool SHARED Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/jobs.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/jobs.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/jobs.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,60 @@ +/* + * PROJECT: ReactOS Spooler API + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions for managing print jobs + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +BOOL WINAPI +AddJob(HANDLE hPrinter, DWORD Level, LPBYTE pData, DWORD cbBuf, LPDWORD pcbNeeded) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcAddJob(hPrinter, Level, pData, cbBuf, pcbNeeded); + if (dwErrorCode) + { + ERR("_RpcAddJob failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcAddJob failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} + +BOOL WINAPI +GetJob(HANDLE hPrinter, DWORD JobId, DWORD Level, LPBYTE pJob, DWORD cbBuf, LPDWORD pcbNeeded) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcGetJob(hPrinter, JobId, Level, pJob, cbBuf, pcbNeeded); + if (dwErrorCode) + { + ERR("_RpcGetJob failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcGetJob failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/jobs.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/main.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -66,217 +66,6 @@ } BOOL WINAPI -ClosePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -DWORD WINAPI -DeviceCapabilitiesA(LPCSTR pDevice, LPCSTR pPort, WORD fwCapability, LPSTR pOutput, const DEVMODEA* pDevMode) -{ - return 0; -} - -DWORD WINAPI -DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pOutput, const DEVMODEW* pDevMode) -{ - return 0; -} - -LONG WINAPI -DocumentPropertiesA(HWND hWnd, HANDLE hPrinter, LPSTR pDeviceName, PDEVMODEA pDevModeOutput, PDEVMODEA pDevModeInput, DWORD fMode) -{ - return 0; -} - -LONG WINAPI -DocumentPropertiesW(HWND hWnd, HANDLE hPrinter, LPWSTR pDeviceName, PDEVMODEW pDevModeOutput, PDEVMODEW pDevModeInput, DWORD fMode) -{ - return 0; -} - -BOOL WINAPI -EndDocPrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -EndPagePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -EnumPrintersA(DWORD Flags, LPSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) -{ - return FALSE; -} - -BOOL WINAPI -EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) -{ - return FALSE; -} - -BOOL WINAPI -EnumPrintProcessorDatatypesA(LPSTR pName, LPSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) -{ - return FALSE; -} - -BOOL WINAPI -EnumPrintProcessorDatatypesW(LPWSTR pName, LPWSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) -{ - return FALSE; -} - -BOOL WINAPI -GetDefaultPrinterA(LPSTR pszBuffer, LPDWORD pcchBuffer) -{ - return FALSE; -} - -BOOL WINAPI -GetDefaultPrinterW(LPWSTR pszBuffer, LPDWORD pcchBuffer) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded) -{ - return FALSE; -} - -BOOL WINAPI -OpenPrinterA(LPSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSA pDefault) -{ - BOOL ReturnValue = FALSE; - PWSTR pwszPrinterName = NULL; - PWSTR pwszDatatype = NULL; - PRINTER_DEFAULTSW wDefault = { 0 }; - size_t StringLength; - - if (pPrinterName) - { - // Convert pPrinterName to a Unicode string pwszPrinterName - StringLength = strlen(pPrinterName) + 1; - - pwszPrinterName = HeapAlloc(GetProcessHeap(), 0, StringLength * sizeof(WCHAR)); - if (!pwszPrinterName) - { - ERR("HeapAlloc failed for pwszPrinterName with last error %lu!\n", GetLastError()); - goto Cleanup; - } - - MultiByteToWideChar(CP_ACP, 0, pPrinterName, -1, pwszPrinterName, StringLength); - } - - if (pDefault) - { - wDefault.DesiredAccess = pDefault->DesiredAccess; - - if (pDefault->pDatatype) - { - // Convert pDefault->pDatatype to a Unicode string pwszDatatype that later becomes wDefault.pDatatype - StringLength = strlen(pDefault->pDatatype) + 1; - - pwszDatatype = HeapAlloc(GetProcessHeap(), 0, StringLength * sizeof(WCHAR)); - if (!pwszDatatype) - { - ERR("HeapAlloc failed for pwszDatatype with last error %lu!\n", GetLastError()); - goto Cleanup; - } - - MultiByteToWideChar(CP_ACP, 0, pDefault->pDatatype, -1, pwszDatatype, StringLength); - wDefault.pDatatype = pwszDatatype; - } - - if (pDefault->pDevMode) - wDefault.pDevMode = GdiConvertToDevmodeW(pDefault->pDevMode); - } - - ReturnValue = OpenPrinterW(pwszPrinterName, phPrinter, &wDefault); - -Cleanup: - if (wDefault.pDevMode) - HeapFree(GetProcessHeap(), 0, wDefault.pDevMode); - - if (pwszPrinterName) - HeapFree(GetProcessHeap(), 0, pwszPrinterName); - - if (pwszDatatype) - HeapFree(GetProcessHeap(), 0, pwszDatatype); - - return ReturnValue; -} - -BOOL WINAPI -OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault) -{ - BOOL ReturnValue = FALSE; - DWORD ErrorCode; - PWSTR pDatatype = NULL; - WINSPOOL_DEVMODE_CONTAINER DevModeContainer; - WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer = NULL; - ACCESS_MASK AccessRequired = 0; - - // Prepare the additional parameters in the format required by _RpcOpenPrinter - if (pDefault) - { - pDatatype = pDefault->pDatatype; - DevModeContainer.cbBuf = sizeof(DEVMODEW); - DevModeContainer.pDevMode = (BYTE*)pDefault->pDevMode; - pDevModeContainer = &DevModeContainer; - AccessRequired = pDefault->DesiredAccess; - } - - // Do the RPC call - RpcTryExcept - { - ErrorCode = _RpcOpenPrinter(pPrinterName, phPrinter, pDatatype, pDevModeContainer, AccessRequired); - if (ErrorCode) - { - ERR("_RpcOpenPrinter failed with error %lu!\n", ErrorCode); - } - - ReturnValue = (ErrorCode == ERROR_SUCCESS); - } - RpcExcept(EXCEPTION_EXECUTE_HANDLER) - { - ERR("_RpcOpenPrinter failed with exception code %lu!\n", RpcExceptionCode()); - } - RpcEndExcept; - - return ReturnValue; -} - -BOOL WINAPI SpoolerInit() { BOOL ReturnValue = FALSE; @@ -301,27 +90,3 @@ return ReturnValue; } - -DWORD WINAPI -StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo) -{ - return 0; -} - -BOOL WINAPI -StartPagePrinter(HANDLE hPrinter) -{ - return FALSE; -} - -BOOL WINAPI -WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten) -{ - return FALSE; -} - -BOOL WINAPI -XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus) -{ - return FALSE; -} Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printers.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printers.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printers.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,245 @@ +/* + * PROJECT: ReactOS Spooler API + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Printers and printing + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +BOOL WINAPI +EnumPrintersA(DWORD Flags, LPSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + return FALSE; +} + +BOOL WINAPI +EnumPrintersW(DWORD Flags, LPWSTR Name, DWORD Level, LPBYTE pPrinterEnum, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcEnumPrinters(Flags, Name, Level, pPrinterEnum, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode) + { + ERR("_RpcEnumPrinters failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcEnumPrinters failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} + +BOOL WINAPI +ClosePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +DWORD WINAPI +DeviceCapabilitiesA(LPCSTR pDevice, LPCSTR pPort, WORD fwCapability, LPSTR pOutput, const DEVMODEA* pDevMode) +{ + return 0; +} + +DWORD WINAPI +DeviceCapabilitiesW(LPCWSTR pDevice, LPCWSTR pPort, WORD fwCapability, LPWSTR pOutput, const DEVMODEW* pDevMode) +{ + return 0; +} + +LONG WINAPI +DocumentPropertiesA(HWND hWnd, HANDLE hPrinter, LPSTR pDeviceName, PDEVMODEA pDevModeOutput, PDEVMODEA pDevModeInput, DWORD fMode) +{ + return 0; +} + +LONG WINAPI +DocumentPropertiesW(HWND hWnd, HANDLE hPrinter, LPWSTR pDeviceName, PDEVMODEW pDevModeOutput, PDEVMODEW pDevModeInput, DWORD fMode) +{ + return 0; +} + +BOOL WINAPI +EndDocPrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +EndPagePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +GetDefaultPrinterA(LPSTR pszBuffer, LPDWORD pcchBuffer) +{ + return FALSE; +} + +BOOL WINAPI +GetDefaultPrinterW(LPWSTR pszBuffer, LPDWORD pcchBuffer) +{ + return FALSE; +} + +BOOL WINAPI +GetPrinterA(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +GetPrinterDriverA(HANDLE hPrinter, LPSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +GetPrinterDriverW(HANDLE hPrinter, LPWSTR pEnvironment, DWORD Level, LPBYTE pDriverInfo, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +GetPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pPrinter, DWORD cbBuf, LPDWORD pcbNeeded) +{ + return FALSE; +} + +BOOL WINAPI +OpenPrinterA(LPSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSA pDefault) +{ + BOOL bReturnValue = FALSE; + PWSTR pwszPrinterName = NULL; + PWSTR pwszDatatype = NULL; + PRINTER_DEFAULTSW wDefault = { 0 }; + size_t StringLength; + + if (pPrinterName) + { + // Convert pPrinterName to a Unicode string pwszPrinterName + StringLength = strlen(pPrinterName) + 1; + + pwszPrinterName = HeapAlloc(GetProcessHeap(), 0, StringLength * sizeof(WCHAR)); + if (!pwszPrinterName) + { + ERR("HeapAlloc failed for pwszPrinterName with last error %lu!\n", GetLastError()); + goto Cleanup; + } + + MultiByteToWideChar(CP_ACP, 0, pPrinterName, -1, pwszPrinterName, StringLength); + } + + if (pDefault) + { + wDefault.DesiredAccess = pDefault->DesiredAccess; + + if (pDefault->pDatatype) + { + // Convert pDefault->pDatatype to a Unicode string pwszDatatype that later becomes wDefault.pDatatype + StringLength = strlen(pDefault->pDatatype) + 1; + + pwszDatatype = HeapAlloc(GetProcessHeap(), 0, StringLength * sizeof(WCHAR)); + if (!pwszDatatype) + { + ERR("HeapAlloc failed for pwszDatatype with last error %lu!\n", GetLastError()); + goto Cleanup; + } + + MultiByteToWideChar(CP_ACP, 0, pDefault->pDatatype, -1, pwszDatatype, StringLength); + wDefault.pDatatype = pwszDatatype; + } + + if (pDefault->pDevMode) + wDefault.pDevMode = GdiConvertToDevmodeW(pDefault->pDevMode); + } + + bReturnValue = OpenPrinterW(pwszPrinterName, phPrinter, &wDefault); + +Cleanup: + if (wDefault.pDevMode) + HeapFree(GetProcessHeap(), 0, wDefault.pDevMode); + + if (pwszPrinterName) + HeapFree(GetProcessHeap(), 0, pwszPrinterName); + + if (pwszDatatype) + HeapFree(GetProcessHeap(), 0, pwszDatatype); + + return bReturnValue; +} + +BOOL WINAPI +OpenPrinterW(LPWSTR pPrinterName, LPHANDLE phPrinter, LPPRINTER_DEFAULTSW pDefault) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + PWSTR pDatatype = NULL; + WINSPOOL_DEVMODE_CONTAINER DevModeContainer; + WINSPOOL_DEVMODE_CONTAINER* pDevModeContainer = NULL; + ACCESS_MASK AccessRequired = 0; + + // Prepare the additional parameters in the format required by _RpcOpenPrinter + if (pDefault) + { + pDatatype = pDefault->pDatatype; + DevModeContainer.cbBuf = sizeof(DEVMODEW); + DevModeContainer.pDevMode = (BYTE*)pDefault->pDevMode; + pDevModeContainer = &DevModeContainer; + AccessRequired = pDefault->DesiredAccess; + } + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcOpenPrinter(pPrinterName, phPrinter, pDatatype, pDevModeContainer, AccessRequired); + if (dwErrorCode) + { + ERR("_RpcOpenPrinter failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcOpenPrinter failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} + +DWORD WINAPI +StartDocPrinterW(HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo) +{ + return 0; +} + +BOOL WINAPI +StartPagePrinter(HANDLE hPrinter) +{ + return FALSE; +} + +BOOL WINAPI +WritePrinter(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf, LPDWORD pcWritten) +{ + return FALSE; +} + +BOOL WINAPI +XcvDataW(HANDLE hXcv, PCWSTR pszDataName, PBYTE pInputData, DWORD cbInputData, PBYTE pOutputData, DWORD cbOutputData, PDWORD pcbOutputNeeded, PDWORD pdwStatus) +{ + return FALSE; +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printers.c ------------------------------------------------------------------------------ svn:eol-style = native Added: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printprocessors.c URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printprocessors.c (added) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printprocessors.c [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -0,0 +1,92 @@ +/* + * PROJECT: ReactOS Spooler API + * LICENSE: GNU LGPL v2.1 or any later version as published by the Free Software Foundation + * PURPOSE: Functions related to Print Processors + * COPYRIGHT: Copyright 2015 Colin Finck <colin(a)reactos.org> + */ + +#include "precomp.h" + +BOOL WINAPI +EnumPrintProcessorDatatypesA(LPSTR pName, LPSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + return FALSE; +} + +BOOL WINAPI +EnumPrintProcessorDatatypesW(LPWSTR pName, LPWSTR pPrintProcessorName, DWORD Level, LPBYTE pDatatypes, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcEnumPrintProcessorDatatypes(pName, pPrintProcessorName, Level, pDatatypes, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode) + { + ERR("_RpcEnumPrintProcessorDatatypes failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcEnumPrintProcessorDatatypes failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} + +BOOL WINAPI +EnumPrintProcessorsW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcEnumPrintProcessors(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded, pcReturned); + if (dwErrorCode) + { + ERR("_RpcEnumPrintProcessors failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcEnumPrintProcessors failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} + +BOOL WINAPI +GetPrintProcessorDirectoryW(LPWSTR pName, LPWSTR pEnvironment, DWORD Level, LPBYTE pPrintProcessorInfo, DWORD cbBuf, LPDWORD pcbNeeded) +{ + BOOL bReturnValue = FALSE; + DWORD dwErrorCode; + + // Do the RPC call + RpcTryExcept + { + dwErrorCode = _RpcGetPrintProcessorDirectory(pName, pEnvironment, Level, pPrintProcessorInfo, cbBuf, pcbNeeded); + if (dwErrorCode) + { + ERR("_RpcGetPrintProcessorDirectory failed with error %lu!\n", dwErrorCode); + } + + bReturnValue = (dwErrorCode == ERROR_SUCCESS); + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + ERR("_RpcGetPrintProcessorDirectory failed with exception code %lu!\n", RpcExceptionCode()); + } + RpcEndExcept; + + return bReturnValue; +} Propchange: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/printprocessors.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec URL:
http://svn.reactos.org/svn/reactos/branches/colins-printing-for-freedom/rea…
============================================================================== --- branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec [iso-8859-1] (original) +++ branches/colins-printing-for-freedom/reactos/win32ss/printing/base/winspool/winspool.spec [iso-8859-1] Mon Jun 22 14:31:47 2015 @@ -10,7 +10,7 @@ 109 stub AddFormA 110 stub AddFormW 111 stub AddJobA -112 stub AddJobW +112 stdcall AddJobW(long long ptr long ptr) 113 stub AddMonitorA 114 stub AddMonitorW 115 stub AddPortA @@ -92,7 +92,7 @@ 191 stdcall EnumPrintProcessorDatatypesA(ptr ptr long ptr long ptr ptr) 192 stdcall EnumPrintProcessorDatatypesW(ptr ptr long ptr long ptr ptr) 193 stub EnumPrintProcessorsA -194 stub EnumPrintProcessorsW +194 stdcall EnumPrintProcessorsW(ptr ptr long ptr long ptr ptr) 195 stub EnumPrinterDataA 196 stub EnumPrinterDataExA 197 stub EnumPrinterDataExW @@ -143,7 +143,7 @@ 242 stub GetFormA 243 stub GetFormW 244 stub GetJobA -245 stub GetJobW +245 stdcall GetJobW(long long long ptr long ptr) 246 stub GetPrintProcessorDirectoryA 247 stdcall GetPrintProcessorDirectoryW(wstr wstr long ptr long ptr) 248 stdcall GetPrinterA(long long ptr long ptr)
9 years, 6 months
1
0
0
0
[cwittich] 68236: [USBEHCI] fix some typos
by cwittich@svn.reactos.org
Author: cwittich Date: Mon Jun 22 10:00:00 2015 New Revision: 68236 URL:
http://svn.reactos.org/svn/reactos?rev=68236&view=rev
Log: [USBEHCI] fix some typos Modified: trunk/reactos/drivers/usb/usbehci/hardware.cpp Modified: trunk/reactos/drivers/usb/usbehci/hardware.cpp URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/usb/usbehci/hardwa…
============================================================================== --- trunk/reactos/drivers/usb/usbehci/hardware.cpp [iso-8859-1] (original) +++ trunk/reactos/drivers/usb/usbehci/hardware.cpp [iso-8859-1] Mon Jun 22 10:00:00 2015 @@ -183,7 +183,7 @@ KeInitializeSpinLock(&m_Lock); // - // intialize status change work item + // initialize status change work item // ExInitializeWorkItem(&m_StatusChangeWorkItem, StatusChangeWorkItemRoutine, PVOID(this)); @@ -250,7 +250,7 @@ { if (m_Capabilities.HCSParams.PortPowerControl) { - DPRINT1("Controler EHCI has Port Power Control\n"); + DPRINT1("Controller EHCI has Port Power Control\n"); } DPRINT1("Controller Port Routing Rules %lu\n", m_Capabilities.HCSParams.PortRouteRules); @@ -578,7 +578,7 @@ // if ((Caps & EHCI_LEGSUP_BIOSOWNED)) { - DPRINT1("[EHCI] Controller is BIOS owned, acquring control\n"); + DPRINT1("[EHCI] Controller is BIOS owned, acquiring control\n"); // // acquire ownership @@ -614,7 +614,7 @@ if ((Caps & EHCI_LEGSUP_BIOSOWNED)) { // - // failed to aquire ownership + // failed to acquire ownership // DPRINT1("[EHCI] failed to acquire ownership\n"); } @@ -627,7 +627,7 @@ } #if 0 // - // explictly clear the bios owned flag 2.1.7 + // explicitly clear the bios owned flag 2.1.7 // Value = 0; m_BusInterface.SetBusData(m_BusInterface.Context, PCI_WHICHSPACE_CONFIG, &Value, ExtendedCapsSupport+2, sizeof(UCHAR)); @@ -1397,7 +1397,7 @@ { if (PortStatus & EHCI_PRT_ENABLED) { - DPRINT1("Misbeaving controller. Port should be disabled at this point\n"); + DPRINT1("Misbehaving controller. Port should be disabled at this point\n"); } if (EHCI_IS_LOW_SPEED(PortStatus))
9 years, 6 months
1
0
0
0
[ekohl] 68235: [USETUP] UpdateDiskLayout: - Resize the layout buffer if necessary. - Start writing logical partitions to the disk. - Disable the code that wipes unused table entries. May be enabled...
by ekohl@svn.reactos.org
Author: ekohl Date: Sun Jun 21 20:18:23 2015 New Revision: 68235 URL:
http://svn.reactos.org/svn/reactos?rev=68235&view=rev
Log: [USETUP] UpdateDiskLayout: - Resize the layout buffer if necessary. - Start writing logical partitions to the disk. - Disable the code that wipes unused table entries. May be enabled later. Right now, you can only create one logical partition because the link entries are not created yet. Modified: trunk/reactos/base/setup/usetup/partlist.c Modified: trunk/reactos/base/setup/usetup/partlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/partlist…
============================================================================== --- trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/partlist.c [iso-8859-1] Sun Jun 21 20:18:23 2015 @@ -2192,6 +2192,7 @@ } +#if 0 static BOOLEAN IsEmptyLayoutEntry( @@ -2204,6 +2205,7 @@ return FALSE; } +#endif static @@ -2224,6 +2226,94 @@ static +ULONG +GetPrimaryPartitionCount( + IN PDISKENTRY DiskEntry) +{ + PLIST_ENTRY Entry; + PPARTENTRY PartEntry; + ULONG Count = 0; + + Entry = DiskEntry->PrimaryPartListHead.Flink; + while (Entry != &DiskEntry->PrimaryPartListHead) + { + PartEntry = CONTAINING_RECORD(Entry, PARTENTRY, ListEntry); + if (PartEntry->IsPartitioned == TRUE) + Count++; + + Entry = Entry->Flink; + } + + return Count; +} + + +static +ULONG +GetLogicalPartitionCount( + PDISKENTRY DiskEntry) +{ + PLIST_ENTRY ListEntry; + PPARTENTRY PartEntry; + ULONG Count = 0; + + ListEntry = DiskEntry->LogicalPartListHead.Flink; + while (ListEntry != &DiskEntry->LogicalPartListHead) + { + PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry); + if (PartEntry->IsPartitioned) + Count++; + + ListEntry = ListEntry->Flink; + } + + return Count; +} + + +static +BOOL +ReAllocateLayoutBuffer( + PDISKENTRY DiskEntry) +{ + PDRIVE_LAYOUT_INFORMATION NewLayoutBuffer; + ULONG NewPartitionCount; + ULONG CurrentPartitionCount = 0; + ULONG LayoutBufferSize; + + DPRINT1("ReAllocateLayoutBuffer()\n"); + + NewPartitionCount = 4 + GetLogicalPartitionCount(DiskEntry) * 4; + + if (DiskEntry->LayoutBuffer) + CurrentPartitionCount = DiskEntry->LayoutBuffer->PartitionCount; + + DPRINT1("CurrentPartitionCount: %lu NewPartitionCount: %lu\n", + CurrentPartitionCount, NewPartitionCount); + + if (CurrentPartitionCount == NewPartitionCount) + return TRUE; + + LayoutBufferSize = sizeof(DRIVE_LAYOUT_INFORMATION) + + ((NewPartitionCount - ANYSIZE_ARRAY) * sizeof(PARTITION_INFORMATION)); + NewLayoutBuffer = RtlReAllocateHeap(ProcessHeap, + HEAP_ZERO_MEMORY, + DiskEntry->LayoutBuffer, + LayoutBufferSize); + if (NewLayoutBuffer == NULL) + { + DPRINT1("Failed to allocate the new layout buffer (size: %lu)\n", LayoutBufferSize); + return FALSE; + } + + DiskEntry->LayoutBuffer = NewLayoutBuffer; + DiskEntry->LayoutBuffer->PartitionCount = NewPartitionCount; + + return TRUE; +} + + +static VOID UpdateDiskLayout( IN PDISKENTRY DiskEntry) @@ -2231,11 +2321,20 @@ PPARTITION_INFORMATION PartitionInfo; PLIST_ENTRY ListEntry; PPARTENTRY PartEntry; - ULONG Index = 0; + ULONG Index; ULONG PartitionNumber = 1; DPRINT1("UpdateDiskLayout()\n"); + /* Resize the layout buffer if necessary */ + if (ReAllocateLayoutBuffer(DiskEntry) == FALSE) + { + DPRINT("ReAllocateLayoutBuffer() failed.\n"); + return; + } + + /* Update the primary partition table */ + Index = 0; ListEntry = DiskEntry->PrimaryPartListHead.Flink; while (ListEntry != &DiskEntry->PrimaryPartListHead) { @@ -2247,7 +2346,7 @@ if (!IsSamePrimaryLayoutEntry(PartitionInfo, DiskEntry, PartEntry)) { - DPRINT1("Updating partition entry %lu\n", Index); + DPRINT1("Updating primary partition entry %lu\n", Index); PartitionInfo->StartingOffset.QuadPart = PartEntry->StartSector.QuadPart * DiskEntry->BytesPerSector; PartitionInfo->PartitionLength.QuadPart = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector; @@ -2257,10 +2356,10 @@ PartitionInfo->BootIndicator = PartEntry->BootIndicator; PartitionInfo->RecognizedPartition = FALSE; PartitionInfo->RewritePartition = TRUE; - - PartEntry->PartitionNumber = PartitionNumber; - PartEntry->PartitionIndex = Index; } + + PartEntry->PartitionNumber = (!IsContainerPartition(PartEntry->PartitionType)) ? PartitionNumber : 0; + PartEntry->PartitionIndex = Index; if (!IsContainerPartition(PartEntry->PartitionType)) PartitionNumber++; @@ -2271,6 +2370,39 @@ ListEntry = ListEntry->Flink; } + /* Update the logical partition tables */ + Index = 4; + ListEntry = DiskEntry->LogicalPartListHead.Flink; + while (ListEntry != &DiskEntry->LogicalPartListHead) + { + PartEntry = CONTAINING_RECORD(ListEntry, PARTENTRY, ListEntry); + + if (PartEntry->IsPartitioned) + { + PartitionInfo = &DiskEntry->LayoutBuffer->PartitionEntry[Index]; + + DPRINT1("Updating logical partition entry %lu\n", Index); + + PartitionInfo->StartingOffset.QuadPart = PartEntry->StartSector.QuadPart * DiskEntry->BytesPerSector; + PartitionInfo->PartitionLength.QuadPart = PartEntry->SectorCount.QuadPart * DiskEntry->BytesPerSector; + PartitionInfo->HiddenSectors = DiskEntry->SectorAlignment; + PartitionInfo->PartitionNumber = PartitionNumber; + PartitionInfo->PartitionType = PartEntry->PartitionType; + PartitionInfo->BootIndicator = FALSE; + PartitionInfo->RecognizedPartition = FALSE; + PartitionInfo->RewritePartition = TRUE; + + PartEntry->PartitionNumber = PartitionNumber; + PartEntry->PartitionIndex = Index; + + PartitionNumber++; + Index += 4; + } + + ListEntry = ListEntry->Flink; + } + +#if 0 for (;Index < 4; Index++) { PartitionInfo = &DiskEntry->LayoutBuffer->PartitionEntry[Index]; @@ -2289,6 +2421,7 @@ PartitionInfo->RewritePartition = TRUE; } } +#endif #ifdef DUMP_PARTITION_TABLE DumpPartitionTable(DiskEntry); @@ -3005,29 +3138,6 @@ } -static -ULONG -GetPrimaryPartitionCount( - IN PDISKENTRY DiskEntry) -{ - PLIST_ENTRY Entry; - PPARTENTRY PartEntry; - UINT nCount = 0; - - Entry = DiskEntry->PrimaryPartListHead.Flink; - while (Entry != &DiskEntry->PrimaryPartListHead) - { - PartEntry = CONTAINING_RECORD(Entry, PARTENTRY, ListEntry); - if (PartEntry->IsPartitioned == TRUE) - nCount++; - - Entry = Entry->Flink; - } - - return nCount; -} - - ULONG PrimaryPartitionCreationChecks( IN PPARTLIST List)
9 years, 6 months
1
0
0
0
[tfaber] 68234: [RTL][NDK][NTDLL_APITEST] - Properly implement/declare/test RtlCopyMappedMemory... it's not that hard CORE-9857
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Jun 21 19:15:01 2015 New Revision: 68234 URL:
http://svn.reactos.org/svn/reactos?rev=68234&view=rev
Log: [RTL][NDK][NTDLL_APITEST] - Properly implement/declare/test RtlCopyMappedMemory... it's not that hard CORE-9857 Added: trunk/rostests/apitests/ntdll/RtlCopyMappedMemory.c (with props) Modified: trunk/reactos/include/ndk/rtlfuncs.h trunk/reactos/lib/rtl/memstream.c trunk/rostests/apitests/ntdll/CMakeLists.txt trunk/rostests/apitests/ntdll/testlist.c Modified: trunk/reactos/include/ndk/rtlfuncs.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/ndk/rtlfuncs.h?rev…
============================================================================== --- trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] (original) +++ trunk/reactos/include/ndk/rtlfuncs.h [iso-8859-1] Sun Jun 21 19:15:01 2015 @@ -2046,6 +2046,14 @@ _In_ ULONGLONG Pattern ); +NTSYSAPI +NTSTATUS +NTAPI +RtlCopyMappedMemory( + _Out_writes_bytes_all_(Size) PVOID Destination, + _In_reads_bytes_(Size) const VOID *Source, + _In_ SIZE_T Size +); NTSYSAPI SIZE_T Modified: trunk/reactos/lib/rtl/memstream.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/memstream.c?rev=68…
============================================================================== --- trunk/reactos/lib/rtl/memstream.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/memstream.c [iso-8859-1] Sun Jun 21 19:15:01 2015 @@ -469,13 +469,24 @@ /* * @implemented */ -VOID +NTSTATUS NTAPI RtlCopyMappedMemory( - _Out_ PVOID Destination, - _In_ const VOID *Source, + _Out_writes_bytes_all_(Size) PVOID Destination, + _In_reads_bytes_(Size) const VOID *Source, _In_ SIZE_T Size) { - /* FIXME: This is supposed to handle STATUS_IN_PAGE_ERROR exceptions */ - RtlCopyMemory(Destination, Source, Size); -} + NTSTATUS Status = STATUS_SUCCESS; + _SEH2_TRY + { + RtlCopyMemory(Destination, Source, Size); + } + _SEH2_EXCEPT(_SEH2_GetExceptionCode() == STATUS_IN_PAGE_ERROR + ? EXCEPTION_EXECUTE_HANDLER + : EXCEPTION_CONTINUE_SEARCH) + { + Status = _SEH2_GetExceptionCode(); + } + _SEH2_END; + return Status; +} Modified: trunk/rostests/apitests/ntdll/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/CMakeLists…
============================================================================== --- trunk/rostests/apitests/ntdll/CMakeLists.txt [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/CMakeLists.txt [iso-8859-1] Sun Jun 21 19:15:01 2015 @@ -15,6 +15,7 @@ NtQueryVolumeInformationFile.c NtSaveKey.c RtlBitmap.c + RtlCopyMappedMemory.c RtlDetermineDosPathNameType.c RtlDoesFileExists.c RtlDosPathNameToNtPathName_U.c Added: trunk/rostests/apitests/ntdll/RtlCopyMappedMemory.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/RtlCopyMap…
============================================================================== --- trunk/rostests/apitests/ntdll/RtlCopyMappedMemory.c (added) +++ trunk/rostests/apitests/ntdll/RtlCopyMappedMemory.c [iso-8859-1] Sun Jun 21 19:15:01 2015 @@ -0,0 +1,35 @@ +/* + * PROJECT: ReactOS api tests + * LICENSE: LGPLv2.1+ - See COPYING.LIB in the top level directory + * PURPOSE: Test for RtlCopyMappedMemory + * PROGRAMMERS: Thomas Faber <thomas.faber(a)reactos.org> + */ + +#include <apitest.h> + +#define WIN32_NO_STATUS +#include <ndk/rtlfuncs.h> + +START_TEST(RtlCopyMappedMemory) +{ + NTSTATUS Status; + UCHAR Buffer1[32]; + UCHAR Buffer2[32]; + + StartSeh() RtlCopyMappedMemory(NULL, NULL, 1); EndSeh(STATUS_ACCESS_VIOLATION); + StartSeh() RtlCopyMappedMemory(Buffer1, NULL, 1); EndSeh(STATUS_ACCESS_VIOLATION); + StartSeh() RtlCopyMappedMemory(NULL, Buffer1, 1); EndSeh(STATUS_ACCESS_VIOLATION); + + StartSeh() + Status = RtlCopyMappedMemory(NULL, NULL, 0); + EndSeh(STATUS_SUCCESS); + ok(Status == STATUS_SUCCESS, "RtlCopyMappedMemory returned %lx\n", Status); + + RtlFillMemory(Buffer1, sizeof(Buffer1), 0x11); + RtlFillMemory(Buffer2, sizeof(Buffer2), 0x22); + StartSeh() + Status = RtlCopyMappedMemory(Buffer1, Buffer2, sizeof(Buffer1)); + EndSeh(STATUS_SUCCESS); + ok(Status == STATUS_SUCCESS, "RtlCopyMappedMemory returned %lx\n", Status); + ok(RtlCompareMemory(Buffer1, Buffer2, sizeof(Buffer1)) == sizeof(Buffer1), "Data not copied\n"); +} Propchange: trunk/rostests/apitests/ntdll/RtlCopyMappedMemory.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/rostests/apitests/ntdll/testlist.c URL:
http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/testlist.c…
============================================================================== --- trunk/rostests/apitests/ntdll/testlist.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/testlist.c [iso-8859-1] Sun Jun 21 19:15:01 2015 @@ -19,6 +19,7 @@ extern void func_NtSaveKey(void); extern void func_NtSystemInformation(void); extern void func_RtlBitmap(void); +extern void func_RtlCopyMappedMemory(void); extern void func_RtlDetermineDosPathNameType(void); extern void func_RtlDoesFileExists(void); extern void func_RtlDosPathNameToNtPathName_U(void); @@ -53,6 +54,7 @@ { "NtSaveKey", func_NtSaveKey}, { "NtSystemInformation", func_NtSystemInformation }, { "RtlBitmapApi", func_RtlBitmap }, + { "RtlCopyMappedMemory", func_RtlCopyMappedMemory }, { "RtlDetermineDosPathNameType", func_RtlDetermineDosPathNameType }, { "RtlDoesFileExists", func_RtlDoesFileExists }, { "RtlDosPathNameToNtPathName_U", func_RtlDosPathNameToNtPathName_U },
9 years, 6 months
1
0
0
0
[pschweitzer] 68233: [CDFS] Add a few sanity checks to our handling of ISO 9660 / Joliet: - Null name entries are forbidden - Degenerated entries (mistmaching sizes) reveal broken layout In both ca...
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 21 16:47:23 2015 New Revision: 68233 URL:
http://svn.reactos.org/svn/reactos?rev=68233&view=rev
Log: [CDFS] Add a few sanity checks to our handling of ISO 9660 / Joliet: - Null name entries are forbidden - Degenerated entries (mistmaching sizes) reveal broken layout In both cases, the lookup for a file is aborted and the CD considered as corrupted by the FSD. explorer displays empty CDs then. CORE-9254 #resolve #comment Fixed with r68233 Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c trunk/reactos/drivers/filesystems/cdfs/fcb.c Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] Sun Jun 21 16:47:23 2015 @@ -290,9 +290,26 @@ return Status; } + if (Record->RecordLength < Record->FileIdLength + FIELD_OFFSET(DIR_RECORD, FileId)) + { + DPRINT1("Found corrupted entry! %u - %u\n", Record->RecordLength, Record->FileIdLength + FIELD_OFFSET(DIR_RECORD, FileId)); + RtlFreeUnicodeString(&FileToFindUpcase); + CcUnpinData(Context); + return STATUS_DISK_CORRUPT_ERROR; + } + DPRINT("Name '%S'\n", name); RtlInitUnicodeString(&LongName, name); + /* Was the entry degenerated? */ + if (LongName.Length < sizeof(WCHAR)) + { + DPRINT1("Found entry with invalid name!\n"); + RtlFreeUnicodeString(&FileToFindUpcase); + CcUnpinData(Context); + return STATUS_DISK_CORRUPT_ERROR; + } + ShortName.Length = 0; ShortName.MaximumLength = 26; ShortName.Buffer = ShortNameBuffer; Modified: trunk/reactos/drivers/filesystems/cdfs/fcb.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/f…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/fcb.c [iso-8859-1] Sun Jun 21 16:47:23 2015 @@ -558,12 +558,29 @@ DPRINT("RecordLength %u ExtAttrRecordLength %u NameLength %u\n", Record->RecordLength, Record->ExtAttrRecordLength, Record->FileIdLength); + if (Record->RecordLength < Record->FileIdLength + FIELD_OFFSET(DIR_RECORD, FileId)) + { + DPRINT1("Found corrupted entry! %u - %u\n", Record->RecordLength, Record->FileIdLength + FIELD_OFFSET(DIR_RECORD, FileId)); + RtlFreeUnicodeString(&FileToFindUpcase); + CcUnpinData(Context); + return STATUS_DISK_CORRUPT_ERROR; + } + CdfsGetDirEntryName(DeviceExt, Record, Name); DPRINT ("Name '%S'\n", Name); DPRINT ("Sector %lu\n", DirectoryFcb->Entry.ExtentLocationL); DPRINT ("Offset %lu\n", Offset); RtlInitUnicodeString(&LongName, Name); + /* Was the entry degenerated? */ + if (LongName.Length < sizeof(WCHAR)) + { + DPRINT1("Found entry with invalid name!\n"); + RtlFreeUnicodeString(&FileToFindUpcase); + CcUnpinData(Context); + return STATUS_DISK_CORRUPT_ERROR; + } + RtlInitEmptyUnicodeString(&ShortName, ShortNameBuffer, sizeof(ShortNameBuffer)); RtlZeroMemory(ShortNameBuffer, sizeof(ShortNameBuffer));
9 years, 6 months
1
0
0
0
[tfaber] 68232: [RTL][NTDLL] - Add basic implementations of RtlApplicationVerifierStop and RtlCopyMappedMemory for the benefit of some Windows dlls CORE-9857 CORE-9858 #resolve
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Jun 21 16:38:44 2015 New Revision: 68232 URL:
http://svn.reactos.org/svn/reactos?rev=68232&view=rev
Log: [RTL][NTDLL] - Add basic implementations of RtlApplicationVerifierStop and RtlCopyMappedMemory for the benefit of some Windows dlls CORE-9857 CORE-9858 #resolve Added: trunk/reactos/lib/rtl/appverifier.c (with props) Modified: trunk/reactos/dll/ntdll/def/ntdll.spec trunk/reactos/lib/rtl/CMakeLists.txt trunk/reactos/lib/rtl/memstream.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] Sun Jun 21 16:38:44 2015 @@ -467,7 +467,7 @@ @ stdcall RtlAppendStringToString(ptr ptr) @ stdcall RtlAppendUnicodeStringToString(ptr ptr) @ stdcall RtlAppendUnicodeToString(ptr wstr) -;@ stdcall RtlApplicationVerifierStop +@ stdcall RtlApplicationVerifierStop(ptr str ptr str ptr str ptr str ptr str) @ stdcall RtlApplyRXact(ptr) @ stdcall RtlApplyRXactNoFlush(ptr) @ stdcall RtlAreAllAccessesGranted(long long) @@ -506,7 +506,7 @@ @ stdcall -arch=win32 -ret64 RtlConvertUlongToLargeInteger(long) @ stdcall RtlCopyLuid(ptr ptr) @ stdcall RtlCopyLuidAndAttributesArray(long ptr ptr) -;@ stdcall RtlCopyMappedMemory +@ stdcall RtlCopyMappedMemory(ptr ptr long) @ stdcall RtlCopyMemoryStreamTo(ptr ptr int64 ptr ptr) @ stdcall RtlCopyOutOfProcessMemoryStreamTo(ptr ptr int64 ptr ptr) RtlCopyMemoryStreamTo @ stdcall RtlCopySecurityDescriptor(ptr ptr) Modified: trunk/reactos/lib/rtl/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/CMakeLists.txt?rev…
============================================================================== --- trunk/reactos/lib/rtl/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/CMakeLists.txt [iso-8859-1] Sun Jun 21 16:38:44 2015 @@ -9,6 +9,7 @@ access.c acl.c actctx.c + appverifier.c assert.c atom.c avltable.c Added: trunk/reactos/lib/rtl/appverifier.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/appverifier.c?rev=…
============================================================================== --- trunk/reactos/lib/rtl/appverifier.c (added) +++ trunk/reactos/lib/rtl/appverifier.c [iso-8859-1] Sun Jun 21 16:38:44 2015 @@ -0,0 +1,46 @@ +/* + * PROJECT: ReactOS Runtime Library + * LICENSE: BSD - See COPYING.ARM in the top level directory + * FILE: lib/rtl/appverifier.c + * PURPOSE: RTL Application Verifier Routines + * PROGRAMMERS: Thomas Faber <thomas.faber(a)reactos.org> + */ + +/* INCLUDES *****************************************************************/ + +#include <rtl.h> + +#define NDEBUG +#include <debug.h> + +/* FUNCTIONS ***************************************************************/ + +/* + * @implemented + */ +VOID +NTAPI +RtlApplicationVerifierStop( + _In_ ULONG_PTR Code, + _In_ PCSTR Message, + _In_ PVOID Value1, + _In_ PCSTR Description1, + _In_ PVOID Value2, + _In_ PCSTR Description2, + _In_ PVOID Value3, + _In_ PCSTR Description3, + _In_ PVOID Value4, + _In_ PCSTR Description4) +{ + PTEB Teb = NtCurrentTeb(); + + DbgPrint("**************************************************\n"); + DbgPrint("VERIFIER STOP %08Ix: pid %04Ix: %s\n", + Code, (ULONG_PTR)Teb->ClientId.UniqueProcess, Message); + DbgPrint(" %p : %s\n", Value1, Description1); + DbgPrint(" %p : %s\n", Value2, Description2); + DbgPrint(" %p : %s\n", Value3, Description3); + DbgPrint(" %p : %s\n", Value4, Description4); + DbgPrint("**************************************************\n"); + DbgBreakPoint(); +} Propchange: trunk/reactos/lib/rtl/appverifier.c ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/lib/rtl/memstream.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/memstream.c?rev=68…
============================================================================== --- trunk/reactos/lib/rtl/memstream.c [iso-8859-1] (original) +++ trunk/reactos/lib/rtl/memstream.c [iso-8859-1] Sun Jun 21 16:38:44 2015 @@ -1,7 +1,7 @@ /* * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS system libraries - * FILE: lib/rtl/mem.c + * FILE: lib/rtl/memstream.c * PURPOSE: MemoryStream functions * PROGRAMMER: David Quintana (gigaherz(a)gmail.com) */ @@ -465,3 +465,17 @@ return E_NOTIMPL; } + +/* + * @implemented + */ +VOID +NTAPI +RtlCopyMappedMemory( + _Out_ PVOID Destination, + _In_ const VOID *Source, + _In_ SIZE_T Size) +{ + /* FIXME: This is supposed to handle STATUS_IN_PAGE_ERROR exceptions */ + RtlCopyMemory(Destination, Source, Size); +}
9 years, 6 months
1
0
0
0
[pschweitzer] 68231: [CDFS] Remove redundant code now we have IRP context dispatch
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 21 14:02:35 2015 New Revision: 68231 URL:
http://svn.reactos.org/svn/reactos?rev=68231&view=rev
Log: [CDFS] Remove redundant code now we have IRP context dispatch Modified: trunk/reactos/drivers/filesystems/cdfs/devctrl.c trunk/reactos/drivers/filesystems/cdfs/dirctl.c trunk/reactos/drivers/filesystems/cdfs/finfo.c trunk/reactos/drivers/filesystems/cdfs/rw.c trunk/reactos/drivers/filesystems/cdfs/volinfo.c Modified: trunk/reactos/drivers/filesystems/cdfs/devctrl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/devctrl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/devctrl.c [iso-8859-1] Sun Jun 21 14:02:35 2015 @@ -39,14 +39,12 @@ if (!FileObject) { DPRINT1("FIXME: CdfsDeviceControl called without FileObject!\n"); - Irp->IoStatus.Status = STATUS_INVALID_DEVICE_REQUEST; return STATUS_INVALID_DEVICE_REQUEST; } /* Only support such operations on volume */ if (!(FileObject->RelatedFileObject == NULL || FileObject->RelatedFileObject->FsContext2 != NULL)) { - Irp->IoStatus.Status = STATUS_INVALID_PARAMETER; return STATUS_INVALID_PARAMETER; } @@ -54,7 +52,6 @@ { /* We should handle this one, but we don't! */ Status = STATUS_NOT_IMPLEMENTED; - Irp->IoStatus.Status = Status; } else { Modified: trunk/reactos/drivers/filesystems/cdfs/dirctl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/d…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/dirctl.c [iso-8859-1] Sun Jun 21 14:02:35 2015 @@ -802,8 +802,6 @@ Irp = IrpContext->Irp; DeviceObject = IrpContext->DeviceObject; - FsRtlEnterFileSystem(); - switch (IrpContext->MinorFunction) { case IRP_MN_QUERY_DIRECTORY: @@ -824,10 +822,8 @@ if (Status != STATUS_PENDING) { - Irp->IoStatus.Status = Status; Irp->IoStatus.Information = 0; } - FsRtlExitFileSystem(); return(Status); } Modified: trunk/reactos/drivers/filesystems/cdfs/finfo.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/f…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/finfo.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/finfo.c [iso-8859-1] Sun Jun 21 14:02:35 2015 @@ -420,7 +420,6 @@ break; } - Irp->IoStatus.Status = Status; if (NT_SUCCESS(Status) || Status == STATUS_BUFFER_OVERFLOW) Irp->IoStatus.Information = Stack->Parameters.QueryFile.Length - BufferLength; @@ -491,7 +490,6 @@ break; } - Irp->IoStatus.Status = Status; Irp->IoStatus.Information = 0; return Status; Modified: trunk/reactos/drivers/filesystems/cdfs/rw.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/r…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/rw.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/rw.c [iso-8859-1] Sun Jun 21 14:02:35 2015 @@ -233,15 +233,11 @@ CdfsWrite( PCDFS_IRP_CONTEXT IrpContext) { - PIRP Irp; - DPRINT("CdfsWrite(%p)\n", IrpContext); ASSERT(IrpContext); - Irp = IrpContext->Irp; - Irp->IoStatus.Status = STATUS_NOT_SUPPORTED; - Irp->IoStatus.Information = 0; + IrpContext->Irp->IoStatus.Information = 0; return(STATUS_NOT_SUPPORTED); } Modified: trunk/reactos/drivers/filesystems/cdfs/volinfo.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/cdfs/v…
============================================================================== --- trunk/reactos/drivers/filesystems/cdfs/volinfo.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/cdfs/volinfo.c [iso-8859-1] Sun Jun 21 14:02:35 2015 @@ -266,7 +266,6 @@ Status = STATUS_NOT_SUPPORTED; } - Irp->IoStatus.Status = Status; if (NT_SUCCESS(Status)) Irp->IoStatus.Information = Stack->Parameters.QueryVolume.Length - BufferLength; @@ -282,15 +281,11 @@ CdfsSetVolumeInformation( PCDFS_IRP_CONTEXT IrpContext) { - PIRP Irp; - DPRINT("CdfsSetVolumeInformation() called\n"); ASSERT(IrpContext); - Irp = IrpContext->Irp; - Irp->IoStatus.Status = STATUS_NOT_SUPPORTED; - Irp->IoStatus.Information = 0; + IrpContext->Irp->IoStatus.Information = 0; return STATUS_NOT_SUPPORTED; }
9 years, 6 months
1
0
0
0
[dreimer] 68230: [TRANSLATION] Updating Turkish Translation by Erdem Ersoy CORE-9755 #resolve #comment Committed, thx ^^
by dreimer@svn.reactos.org
Author: dreimer Date: Sun Jun 21 11:20:39 2015 New Revision: 68230 URL:
http://svn.reactos.org/svn/reactos?rev=68230&view=rev
Log: [TRANSLATION] Updating Turkish Translation by Erdem Ersoy CORE-9755 #resolve #comment Committed, thx ^^ Added: trunk/reactos/base/applications/shutdown/lang/tr-TR.rc (with props) trunk/reactos/base/system/diskpart/lang/tr-TR.rc (with props) trunk/reactos/base/system/format/lang/tr-TR.rc (with props) trunk/reactos/base/system/regsvr32/lang/tr-TR.rc (with props) trunk/reactos/base/system/services/lang/tr-TR.rc (with props) trunk/reactos/base/system/subst/lang/tr-TR.rc (with props) trunk/reactos/dll/win32/devmgr/devmgmt/lang/tr-TR.rc (with props) Modified: trunk/reactos/base/applications/dxdiag/lang/tr-TR.rc trunk/reactos/base/applications/fontview/lang/tr-TR.rc trunk/reactos/base/applications/shutdown/shutdown.rc trunk/reactos/base/setup/usetup/lang/tr-TR.h trunk/reactos/base/system/diskpart/diskpart.rc trunk/reactos/base/system/format/format.rc trunk/reactos/base/system/regsvr32/regsvr32.rc trunk/reactos/base/system/services/services.rc trunk/reactos/base/system/subst/subst.rc trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc trunk/reactos/dll/cpl/wined3dcfg/lang/tr-TR.rc trunk/reactos/dll/win32/cryptui/lang/cryptui_Tr.rc trunk/reactos/dll/win32/devmgr/lang/tr-TR.rc Modified: trunk/reactos/base/applications/dxdiag/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/l…
============================================================================== --- trunk/reactos/base/applications/dxdiag/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/dxdiag/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -20,7 +20,7 @@ FONT 8, "MS Shell Dlg" BEGIN LTEXT "Bu araç, dizgenizdeki yüklü ReactX bileÅenleri ve sürücüleri üzerine ayrıntılı bilgi raporlar.", IDC_STATIC, 5, 0, 443, 17 - LTEXT "Soruna neden olan bölümü biliyorsanız yukarıdaki uygun sekmeyi tıklayınız. Yoksa diziyle tüm bölümlere gitmek için aÅaÄıdaki ""Sonraki Bölüm"" düÄmesini kullanabilirsiniz.", IDC_STATIC, 5, 15, 443, 25 + LTEXT "ReactX ile ilgili bir sorunla karÅılaÅtıysanız ve onun ne olduÄunu biliyorsanız o zaman yukarıda uygun sekmeyi tıklayınız. Yoksa diziyle tüm bölümlere gitmek için aÅaÄıdaki ""Sonraki Bölüm"" düÄmesine tıklayabilirsiniz.", IDC_STATIC, 5, 15, 443, 25 GROUPBOX "Dizge Bilgisi", IDC_STATIC, 5, 35, 452, 150, SS_RIGHT LTEXT "Geçerli Zaman:", IDC_STATIC, 70, 50, 80, 10, SS_RIGHT LTEXT "Bilgisayar Adı:", IDC_STATIC, 70, 60, 80, 10, SS_RIGHT @@ -44,7 +44,7 @@ EDITTEXT IDC_STATIC_MEM, 155, 130, 210, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL EDITTEXT IDC_STATIC_SWAP, 155, 140, 210, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL EDITTEXT IDC_STATIC_VERSION, 155, 150, 210, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL - CHECKBOX "Check for WHQL digital signatures", IDC_WHQL_SIGN_CHECK, 15, 170, 135, 10, WS_DISABLED + CHECKBOX "WHQL Sayılık Ä°mzâlar İçin Denetle", IDC_WHQL_SIGN_CHECK, 15, 170, 135, 10, WS_DISABLED END IDD_DISPLAY_DIALOG DIALOGEX 0, 0, 462, 220 @@ -72,7 +72,7 @@ RTEXT "Zaman:", IDC_STATIC, 275, 30, 55, 10 RTEXT "WHQL Ä°mleÄi:", IDC_STATIC, 275, 40, 55, 10 RTEXT "Mini VDD:", IDC_STATIC, 275, 50, 55, 10 - RTEXT " vvdddVDD:", IDC_STATIC, 275, 60, 55, 10 + RTEXT "VDD:", IDC_STATIC, 275, 60, 55, 10 RTEXT "DDI Sürümü:", IDC_STATIC, 275, 70, 55, 10 EDITTEXT IDC_STATIC_ADAPTER_DRIVER, 335, 10, 100, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL EDITTEXT IDC_STATIC_ADAPTER_VERSION, 335, 20, 100, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL @@ -82,9 +82,9 @@ EDITTEXT IDC_STATIC_ADAPTER_VDD, 335, 60, 100, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL EDITTEXT IDC_STATIC_ADAPTER_DDI, 335, 70, 100, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL GROUPBOX "ReactX Husûsiyetleri", IDC_STATIC, 5, 97, 452, 70 - RTEXT "ReactDraw Hızlandırması:", IDC_STATIC, 15, 115, 110, 12 - RTEXT "React3D Hızlandırması:", IDC_STATIC, 15, 130, 110, 12 - RTEXT "AGP Doku Hızlandırması:", IDC_STATIC, 15, 145, 110, 12 + RTEXT "ReactDraw Ä°vmesi:", IDC_STATIC, 15, 115, 110, 12 + RTEXT "React3D Ä°vmesi:", IDC_STATIC, 15, 130, 110, 12 + RTEXT "AGP Doku Ä°vmesi:", IDC_STATIC, 15, 145, 110, 12 LTEXT "", IDC_STATIC_DDSTATE, 130, 115, 40, 10 LTEXT "", IDC_STATIC_D3DSTATE, 130, 130, 40, 10 LTEXT "", IDC_STATIC_AGPSTATE, 130, 145, 40, 10 @@ -139,17 +139,17 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN FONT 8, "MS Shell Dlg" BEGIN - RTEXT "General MIDI DLS Collection:", IDC_STATIC, 0, 0, 100, 10 + RTEXT "Umûmî MIDI DLS Derlemi:", IDC_STATIC, 0, 0, 100, 10 EDITTEXT IDC_MIDI_DLS_COLLECTION, 105, 0, 250, 10, ES_LEFT | ES_READONLY | NOT WS_BORDER | NOT WS_TABSTOP | ES_AUTOHSCROLL - GROUPBOX "Music Ports", IDC_STATIC, 5, 10, 452, 85 - GROUPBOX "ReactX Features", IDC_STATIC, 5, 97, 452, 70 - LTEXT "Default Port Acceleration:", IDC_STATIC, 15, 120, 95, 17 + GROUPBOX "Mûsiki GiriÅleri", IDC_STATIC, 5, 10, 452, 85 + GROUPBOX "ReactX Husûsiyetleri", IDC_STATIC, 5, 97, 452, 70 + LTEXT "Ãn Tanımlı GiriÅ Ä°vmesi:", IDC_STATIC, 15, 120, 95, 17 LTEXT "", IDC_STATIC_DEFAULT_PORT_ACCELERATION, 115, 120, 50, 10 - PUSHBUTTON "Disable", IDC_BUTTON_DISABLEDMUSIC, 75, 135, 80, 14, WS_DISABLED - LTEXT "Test using this port:", IDC_STATIC, 180, 105, 100, 10 + PUSHBUTTON "Edilgin", IDC_BUTTON_DISABLEDMUSIC, 75, 135, 80, 14, WS_DISABLED + LTEXT "Bu GiriÅ Kullanılarak Sına:", IDC_STATIC, 180, 105, 100, 10 LISTBOX IDC_DMUSIC_TEST_LIST, 180, 115, 180, 45, LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_TABSTOP - PUSHBUTTON "Test DirectMusic", IDC_BUTTON_TESTDMUSIC, 370, 145, 80, 14, WS_DISABLED - GROUPBOX "Notes", IDC_STATIC, 5, 170, 452, 50 + PUSHBUTTON "ReactMusic'i Sına", IDC_BUTTON_TESTDMUSIC, 370, 145, 80, 14, WS_DISABLED + GROUPBOX "Notlar", IDC_STATIC, 5, 170, 452, 50 EDITTEXT IDC_MUSIC_NOTES, 15, 182, 432, 30, ES_LEFT | WS_BORDER | ES_READONLY | WS_TABSTOP END @@ -172,11 +172,11 @@ BEGIN GROUPBOX "Kayıtlı ReactPlay Hizmet SaÄlayıcıları", IDC_STATIC, 5, 0, 452, 75 CONTROL "", IDC_LIST_PROVIDER, "SysListView32", LVS_REPORT | WS_CHILD | WS_BORDER | WS_TABSTOP, 15, 12, 432, 55 - GROUPBOX "Registered Lobbyable DirectPlay Applications", IDC_STATIC, 5, 77, 452, 55 - GROUPBOX "ReactX Features", IDC_STATIC, 5, 133, 452, 35 - PUSHBUTTON "DirectPlay Voice Options", IDC_BUTTON_VOICE_OPTIONS, 10, 145, 90, 14, WS_DISABLED - PUSHBUTTON "Test DirectPlay", IDC_BUTTON_TESTDPLAY, 130, 145, 80, 14, WS_DISABLED - GROUPBOX "Notes", IDC_STATIC, 5, 170, 452, 50 + GROUPBOX "Lobi OluÅturulabilir Kayıtlı ReactPlay Uygulamaları", IDC_STATIC, 5, 77, 452, 55 + GROUPBOX "ReactX Husûsiyetleri", IDC_STATIC, 5, 133, 452, 35 + PUSHBUTTON "ReactPlay Ses Seçenekleri", IDC_BUTTON_VOICE_OPTIONS, 10, 145, 90, 14, WS_DISABLED + PUSHBUTTON "ReactPlay'i Sına", IDC_BUTTON_TESTDPLAY, 130, 145, 80, 14, WS_DISABLED + GROUPBOX "Notlar", IDC_STATIC, 5, 170, 452, 50 EDITTEXT IDC_NETWORK_NOTES, 15, 182, 432, 30, ES_LEFT | WS_BORDER | ES_READONLY | WS_TABSTOP END @@ -184,11 +184,11 @@ STYLE DS_SHELLFONT | DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN FONT 8, "MS Shell Dlg" BEGIN - LTEXT "Still can't find the information you're looking for? Here are some additional things you can do:", IDC_STATIC, 5, 0, 300, 10 - PUSHBUTTON "System Information", IDC_BUTTON_SYSINFO, 5, 20, 80, 14, WS_DISABLED - LTEXT "Displays additional system information", IDC_STATIC, 90, 23, 300, 10 - PUSHBUTTON "Refresh Rate Override", IDC_BUTTON_DDRAW_REFRESH, 5, 40, 80, 14, WS_DISABLED - LTEXT "Overrides the Refresh Rate for DirectDraw", IDC_STATIC, 90, 43, 300, 10 + LTEXT "AradıÄınız bilgiyi Åimdi bile bulamadınız mı? Burada yapabileceÄiniz birtakım ek Åeyler var:", IDC_STATIC, 5, 0, 300, 10 + PUSHBUTTON "Dizge Bilgisi", IDC_BUTTON_SYSINFO, 5, 20, 80, 14, WS_DISABLED + LTEXT "Ek dizge bilgisini görüntüler.", IDC_STATIC, 90, 23, 300, 10 + PUSHBUTTON "Yenileme Hızı'nı Geçersiz Kıl", IDC_BUTTON_DDRAW_REFRESH, 5, 40, 80, 14, WS_DISABLED + LTEXT "ReactDraw için Yenileme Hızı'nı geçersiz kılar.", IDC_STATIC, 90, 43, 300, 10 END STRINGTABLE @@ -231,26 +231,26 @@ IDS_DIRECTPLAY_SERIALCONN "ReactPlay için Dizilik BaÄlantı" IDS_REG_SUCCESS "Tamam" IDS_REG_FAIL "YanlıÅlık" - IDS_DDTEST_ERROR "Sınama baÅarısız oldu." - IDS_DDTEST_DESCRIPTION "Bu, ReactDraw arayüz sınamasını baÅlatacak. Sürdürülsün mü?" - IDS_DDPRIMARY_DESCRIPTION "Bu sınama, ReactDraw'ı ana yüzeye çizmek için kullanacak. Ak ve kara dikdörtgenler çizilecektir. Sürdürülsün mü?" + IDS_DDTEST_ERROR "ReactDraw iÅleme sınaması baÅarısız oldu. Daha çok bilgi için lütfen notlara bakınız." + IDS_DDTEST_DESCRIPTION "Bu, ReactDraw arayüz sınamasını baÅlatacak. Sürdürmek ister misiniz?" + IDS_DDPRIMARY_DESCRIPTION "Bu sınama, ReactDraw'ı ana yüzeye çizmek için kullanacak. Ak ve kara dikdörtgenler çizilecektir. Sürdürmek ister misiniz?" IDS_DDPRIMARY_RESULT "Ak ve kara dikdörtgenler gördünüz mü?" - IDS_DDOFFSCREEN_DESCRIPTION "Bu sınama, ReactDraw'ı görüntülük dıÅı arabelleÄe çizmek için kullanacak. Devinen bir ak dikdörtgen çizilecektir. Sürdürülsün mü?" + IDS_DDOFFSCREEN_DESCRIPTION "Bu sınama, ReactDraw'ı görüntülük dıÅı arabelleÄe çizmek için kullanacak. Devinen bir ak dikdörtgen çizilecektir. Sürdürmek ister misiniz?" IDS_DDOFFSCREEN_RESULT "Devinen bir ak dikdörtgen gördünüz mü?" - IDS_DDFULLSCREEN_DESCRIPTION "Bu sınama, ReactDraw'ı tüm görüntülükte çizmek için kullanacak. Devinen bir ak dikdörtgen göreceksiniz. Sürdürülsün mü?" + IDS_DDFULLSCREEN_DESCRIPTION "Bu sınama, ReactDraw'ı tüm görüntülükte çizmek için kullanacak. Devinen bir ak dikdörtgen göreceksiniz. Sürdürmek ister misiniz?" IDS_DDFULLSCREEN_RESULT "Tüm görüntülükte devinen bir ak dikdörtgen gördünüz mü?" IDS_FORMAT_ADAPTER_MEM "%u MB" - IDS_FORMAT_ADAPTER_MODE "%04u*%04u (%u bitlik) (%uHz)" + IDS_FORMAT_ADAPTER_MODE "%d*%d (%u bitlik) (%uHz)" IDS_OPTION_NO "Hayır" - IDS_D3DTEST_DESCRIPTION "Bu, React3D arayüz sınamasını baÅlatılacak. Sürdürülsün mü?" - IDS_D3DTEST_D3Dx "Bu sınama, donanım hızlandırmalı React3D %u arayüzünü kullanacak." - IDS_OS_VERSION "%s %s (%d.%d, Build %d)" - IDS_DMUSIC_DESC "Description" - IDS_DMUSIC_TYPE "Type" - IDS_DMUSIC_KERNEL "Kernel Mode" - IDS_DMUSIC_IO "In/Out" - IDS_DMUSIC_DLS "Supports DLS" - IDS_DMUSIC_EXT "External" - IDS_DMUSIC_PORT "Default Port" - IDS_DDDISABLE_MSG "This will disable all hardware acceleration for DirectDraw on all display devices\n.Do you wish to continue?\n" -END + IDS_D3DTEST_DESCRIPTION "Bu, React3D arayüz sınamasını baÅlatılacak. Sürdürmek ister misiniz?" + IDS_D3DTEST_D3Dx "Bu sınama, donanım ivmeli React3D %u arayüzünü kullanacak." + IDS_OS_VERSION "%s %s (%d.%d, Yapı %d)" + IDS_DMUSIC_DESC "Tanım" + IDS_DMUSIC_TYPE "Tür" + IDS_DMUSIC_KERNEL "Ãekirdek Kipi" + IDS_DMUSIC_IO "GiriÅ/ÃıkıÅ" + IDS_DMUSIC_DLS "DLS'yi Destekler" + IDS_DMUSIC_EXT "DıÅ" + IDS_DMUSIC_PORT "Ãn Tanımlı GiriÅ" + IDS_DDDISABLE_MSG "Bu, tüm görüntü aygıtlarında ReactDraw için tüm donanım ivmelerini edilginleÅtirecektir.\n. Sürdürmek ister misiniz?\n" +END Modified: trunk/reactos/base/applications/fontview/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
============================================================================== --- trunk/reactos/base/applications/fontview/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/fontview/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -11,9 +11,9 @@ IDS_ERROR_NOMEM "Bu iÅlemi bitirmek için yeterli bellek yok." IDS_ERROR_NOFONT "%1 kütüÄü, geçerli bir yazı tipi kütüÄü deÄil." IDS_ERROR_NOCLASS "Pencere sınıfı baÅlatılamadı." - IDS_FILTER_LIST "All Supported Fonts (*.ttf;*.fon;*.otf)\0*.ttf;*.fon;*.otf\0\ -TrueType Font (*.ttf)\0*.ttf\0\ -OpenType Font (*.otf)\0*.otf\0\ -Font File (*.fon)\0*.fon\0\ -All Files (*.*)\0*.*\0" + IDS_FILTER_LIST "Tüm Desteklenen Yazı Tipleri (*.ttf, *.fon, *.otf)\0*.ttf;*.fon;*.otf\0\ +TrueType Yazı Tipi (*.ttf)\0*.ttf\0\ +OpenType Yazı Tipi (*.otf)\0*.otf\0\ +Yazı Tipi KütüÄü (*.fon)\0*.fon\0\ +Tüm Kütükler (*.*)\0*.*\0" END Added: trunk/reactos/base/applications/shutdown/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown…
============================================================================== --- trunk/reactos/base/applications/shutdown/lang/tr-TR.rc (added) +++ trunk/reactos/base/applications/shutdown/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,105 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +/* Dialog */ +IDD_GUI DIALOGEX 0, 0, 240, 255 +STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Uzaktan Bilgisayarı Kapat" +FONT 8, "MS Shell Dlg" +BEGIN + DEFPUSHBUTTON "Tamam", IDC_OK, 125, 232, 50, 14 + PUSHBUTTON "Ä°ptal", IDC_CANCEL, 178, 232, 50, 14 + LTEXT "&Bilgisayarlar:", IDC_STATIC, 9, 9, 35, 36 + LISTBOX IDC_COMPUTER_LIST, 8, 19, 162, 55 + PUSHBUTTON "&Ekle...", IDC_ADD_SYSTEM, 179, 19, 50, 14 + PUSHBUTTON "&Kaldır", IDC_REMOVE_SYSTEM, 179, 36, 50, 14, WS_DISABLED + PUSHBUTTON "&Göz At...", IDC_BROWSE_SYSTEM, 179, 53, 50, 14 + LTEXT "Eylem", IDC_ACTION, 11, 81, 20, 14 + COMBOBOX IDC_ACTION_TYPE, 37, 79, 129, 14, WS_TABSTOP | CBS_DROPDOWN + CHECKBOX "Kullanıcıları Uyar", IDC_WARN_USERS, 175, 79, 55, 14, BS_AUTOCHECKBOX | WS_TABSTOP + LTEXT "Uyarı Görüntüle:", IDC_SHOW_WARN_ONE, 11, 99, 65, 14 + EDITTEXT IDC_SHOW_WARN, 78, 97, 41, 14 + LTEXT "sâniye", IDC_SHOW_WARN_TWO, 124, 99, 32, 10 + GROUPBOX "Bilgisayarı Kapat Olay Ä°zleyicisi", IDC_STATIC, 5, 114, 224, 114 + LTEXT "Neden:", IDC_STATIC, 16, 130, 27, 8 + CHECKBOX "PlanlanmıÅ", IDC_PLANNED, 175, 130, 40, 12, BS_AUTOCHECKBOX | WS_TABSTOP + COMBOBOX IDC_REASON_CODE, 17, 142, 198, 13, WS_TABSTOP | CBS_DROPDOWN + LTEXT "&Yorum:", IDC_COMMENT_CAPTION, 16, 159, 38, 8 + EDITTEXT IDC_COMMENT_TEXT, 17, 171, 198, 50, WS_VSCROLL +END + +/* Information and error messages */ +STRINGTABLE +BEGIN + IDS_USAGE "ReactOS Kapatma Aracı\n\ +\n\ +Usage: shutdown [/?] [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f]\n\ + [/m \\\\bilgisayar][/t xxx][/d [p|u:]xx:yy [/c ""açıklama""]]\n\ +\n\ + DeÄiÅtirgen yok ya da /? Bu yardımı göster.\n\ + /i Ãizgelik kullanıcı arayüzünü (GUI) göster. Bu seçenek birinci\n\ + seçenek olmalıdır.\n\ + /l Yalnızca yerli dizgede oturumu kapat. /m veyâ /d ile kullanılamaz.\n\ + /s Bilgisayarı kapat.\n\ + /r Bilgisayarı yeniden baÅlat.\n\ + /g Tüm kayıtlı uygulamaları ve bilgisayarı yeniden baÅlat.\n\ + /a GecikmiÅ bir kapatmayı iptal et. Yalnızca gecikme süresi esnâsında\n\ + kullanılabilir.\n\ + /p Bir süre aÅımı veyâ uyarı olmadan yerli bilgisayarı kapat. /d veyâ\n\ + /f ile kullanılabilir.\n\ + /h Yerli bilgisayarı anıkta beklet. /f ile kullanılabilir.\n\ + /e Beklenmeyen bilgisayarı kapatma için nedeni belgele.\n\ + /m \\\\bilgisayar VarıŠbilgisayarını (UNC/IP adresi) belirt.\n\ + /t xxx Bilgisayarı kapatmadan önce xxx sâniye denli süre aÅımı zamânını ayarla.\n\ + Geçerli aralık 0'dan baÅlar, 315360000'a (10 yıl) dektir,\n\ + 30 ön tanımlı deÄer olarak.\n\ + /c ""açıklama"" Kapatma ya da yeniden baÅlatma için nedeni açıkla.\n\ + en çok 512 damgaya izin verilmiÅtir.\n\ + /f Kullanıcıları uyarmadan çalıÅan uygulamaları kapatmaya zorla. BaÅka\n\ + bir parametre belirtmezseniz, bu seçenek ayrıca oturumu kapatacak.\n\ + /d [p|u:]xx:yy Kapatma ya da yeniden baÅlatma için neden kodu ver.\n\ + p kapatmanın ya da yeniden baÅlatmanın planlanmıŠolduÄunu belirtir.\n\ + u nedenin kullanıcı eliyle tanımlanmıŠolduÄunu belirtir.\n\ + p veyâ u belirtilmezse bilgisayarı kapatma ya da yeniden baÅlatma\n\ + planlanmıŠdeÄildir.\n\ + xx büyük neden kodudur (256'dan küçük artı tamsayı).\n\ + yy küçük neden kodudur (65536'dan küçük artı tamsayı).\n" + + IDS_ERROR_SHUTDOWN_REBOOT "YANLIÅLIK: Kapatma ve yeniden baÅlatma aynı zamanda olamaz.\n" + IDS_ERROR_TIMEOUT "YANLIÅLIK: %u süre aÅımı deÄeri hudutların (0-315360000) dıÅında.\n" + IDS_ERROR_ABORT "YANLIÅLIK: Dizgenin kapatılması durdurulamaz.\n" + IDS_ERROR_LOGOFF "YANLIÅLIK: Dizge oturumundan çıkılamaz.\n" + IDS_ERROR_SHUTDOWN "YANLIÅLIK: Dizge kapatılamaz.\n" + IDS_ERROR_RESTART "YANLIÅLIK: Dizge yenien baÅlatılamaz.\n" + IDS_ERROR_MAX_COMMENT_LENGTH "YANLIÅLIK: Yorum uzunluÄu, dizge eliyle ayarlanmıŠen çok damga hudûdunu aÅıyor.\n" + IDS_ERROR_HIBERNATE "YANLIÅLIK: Dizge anıkta bekletme kipine gönderilemez.\n" + IDS_ERROR_HIBERNATE_LOCAL "YANLIÅLIK: Anıkta bekletme kipi uzaktan baÅlatılamıyor.\n" + IDS_ERROR_HIBERNATE_ENABLED "YANLIÅLIK: Anıkta bekletme kipi etkin deÄil.\n" + IDS_ERROR_DIALOG_CAPTION "Uzaktan Bilgisayarı Kapat" + IDS_ERROR_DIALOG_INIT "Ãizgelik kullanıcı arayüzü görüntülenemez." +END + +/* Remote shutdown action strings */ +STRINGTABLE +BEGIN + IDS_ACTION_SHUTDOWN "Dizgeyi Kapat" + IDS_ACTION_RESTART "Dizgeyi Yeniden BaÅlat" + IDS_ACTION_UNEXPECTED_SHUTDOWN "Beklenmeyen Kapatmayı Açımla" +END + +/* Remote shutdown reason strings */ +STRINGTABLE +BEGIN + IDS_REASON_OTHER "BaÅka" + IDS_REASON_HARDWARE_MAINTENANCE "Donanım: Bakım" + IDS_REASON_HARDWARE_INSTALL "Donanım: Kurulum" + IDS_REASON_OS_RECOVER "Ä°Åletim Dizgesi: Kurtarma" + IDS_REASON_OS_RECONFIGURE "Ä°Åletim Dizgesi: Yeniden Yapılandırma" + IDS_REASON_APP_MAINTENANCE "Uygulama: Bakım" + IDS_REASON_APP_INSTALL "Uygulama: Kurulum" + IDS_REASON_APP_UNRESPONSIVE "Uygulama: Yanıt Vermeme" + IDS_REASON_APP_UNSTABLE "Uygulama: Kararsızlık" + IDS_REASON_SECURITY "Güvenlik Sorunu" + IDS_REASON_NETWORK "AÄ BaÄlantısının Yitirilmesi" +END Propchange: trunk/reactos/base/applications/shutdown/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/applications/shutdown/shutdown.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/shutdown…
============================================================================== --- trunk/reactos/base/applications/shutdown/shutdown.rc [iso-8859-1] (original) +++ trunk/reactos/base/applications/shutdown/shutdown.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -73,6 +73,9 @@ #ifdef LANGUAGE_SQ_AL #include "lang/sq-AL.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif #ifdef LANGUAGE_UK_UA #include "lang/uk-UA.rc" #endif Modified: trunk/reactos/base/setup/usetup/lang/tr-TR.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/lang/tr-…
============================================================================== --- trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] (original) +++ trunk/reactos/base/setup/usetup/lang/tr-TR.h [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -1642,9 +1642,9 @@ {STRING_NONFORMATTEDPART, "ReactOS'u yeni ya da biimlendirilmemi bir blme kurmay setiniz."}, {STRING_NONFORMATTEDSYSTEMPART, - "The system partition is not formatted yet."}, + "Dizge blm daha biimlendirilmemi."}, {STRING_NONFORMATTEDOTHERPART, - "The new partition is not formatted yet."}, + "Yeni blm daha biimlendirilmemi."}, {STRING_INSTALLONPART, "Kur, ReactOS'u blm zerine kurar."}, {STRING_CHECKINGPART, Modified: trunk/reactos/base/system/diskpart/diskpart.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/diskpart/diskp…
============================================================================== --- trunk/reactos/base/system/diskpart/diskpart.rc [iso-8859-1] (original) +++ trunk/reactos/base/system/diskpart/diskpart.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -23,3 +23,6 @@ #ifdef LANGUAGE_SQ_AL #include "lang/sq-AL.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif Added: trunk/reactos/base/system/diskpart/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/diskpart/lang/…
============================================================================== --- trunk/reactos/base/system/diskpart/lang/tr-TR.rc (added) +++ trunk/reactos/base/system/diskpart/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,368 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +/* Basic application information */ +STRINGTABLE +BEGIN + IDS_APP_HEADER "ReactOS DiskPart" + IDS_APP_USAGE "\nDisk Bölümlendirme Yorumlayıcısı\n\n\ +Kullanım: DISKPART [/S kütük adı] [/T süre aÅımı] [/?]\n\n\ +/S kütük adı\tVerilen betiÄi çalıÅtırır.\n\ +/T süre aÅımı\tDiskPart kullanım örtüÅmesini önlemeye sâniye olarak süre aÅımı.\n\ +/?\t\tBu yardım iletisini görüntüler.\n\n" + IDS_APP_LICENSE "GNU GPL sürüm 2 altında ruhsatlanmıÅtır.\n" + IDS_APP_CURR_COMPUTER "Bilgisayar üzerinde: %s\n\n" + IDS_APP_LEAVING "\nDiskPart'tan çıkılıyor...\n" + IDS_APP_PROMPT "DISKPART> " +END + +/* Disk Information Labels */ +STRINGTABLE +BEGIN + IDS_DETAIL_INFO_DISK_ID "Disk" + IDS_DETAIL_INFO_TYPE "Tür" + IDS_DETAIL_INFO_STATUS "Durum" + IDS_DETAIL_INFO_PATH "Yol" + IDS_DETAIL_INFO_TARGET "VarıÅ" + IDS_DETAIL_INFO_LUN_ID "LUN ID" + IDS_DETAIL_INFO_LOC_PATH "Konum Yolu" + IDS_DETAIL_INFO_CURR_RO_STATE "Åimdiki Yalnızca Okunur Durumu" + IDS_DETAIL_INFO_RO "Yalnızca Okunur" + IDS_DETAIL_INFO_BOOT_DSK "Ãn Yükleme Diski" + IDS_DETAIL_INFO_PAGE_FILE_DSK "Sayfalama KütüÄü Diski" + IDS_DETAIL_INFO_HIBER_FILE_DSK "Anıkta Bekletme KütüÄü Diski" + IDS_DETAIL_INFO_CRASH_DSK "ÃöküŠDökümü Diski" + IDS_DETAIL_INFO_CLST_DSK "KümelenmiÅ Disk" +END + +/* Detail header titles */ +STRINGTABLE +BEGIN + IDS_LIST_DISK_HEAD "Disk ### Durum\tBoyut\tBoÅ\tDev\tGpt\n" + IDS_LIST_DISK_LINE "-------- ------\t----\t----\t---\t---\n" + IDS_LIST_VOLUME_HEAD "Birim ###\tHarf\tEtiket\n" +END + +/* Disk Status */ +STRINGTABLE +BEGIN + IDS_STATUS_YES "Evet" + IDS_STATUS_NO "Hayır" + IDS_STATUS_DISK_HEALTHY "SaÄlıklı" + IDS_STATUS_DISK_SICK "Bozuk" + IDS_STATUS_UNAVAILABLE "KULLANILAMAZ" + IDS_STATUS_ONLINE "Ãevrim İçi" + IDS_STATUS_OFFLINE "Ãevrim DıÅı" + IDS_STATUS_NO_MEDIA "Ortam Yok" +END + +/* CMD Messages for commands */ +STRINGTABLE +BEGIN + IDS_MSG_CURRENT_DSK_STATUS "Åimdi seçili disktir." + IDS_MSG_NO_DISK "Bir disk Åimdilik seçilmemiÅ.\nLütfen bir disk seçiniz ve yeniden deneyiniz." + IDS_MSG_ARG_SYNTAX_ERROR "Bu komut için belirtilen deÄiÅtirgen(ler) geçerli deÄil.\nKomu türü üzerinde daha çok bilgi için:" +END + +/* Help Command Descripions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_DESC_ACTIVE "ACTIVE\t\t- Seçili bölümü etkin olarak imle.\n" + IDS_HELP_CMD_DESC_ADD "ADD\t\t- BayaÄı bir birime bir yansıma ekle.\n" + IDS_HELP_CMD_DESC_ASSIGN "ASSIGN\t\t- Seçili birime bir sürücü harfi ya da baÄlama noktası ata.\n" + IDS_HELP_CMD_DESC_ATTACH "ATTACH\t\t- Bir farazî disk kütüÄü iliÅtirir.\n" + IDS_HELP_CMD_DESC_ATTRIBUTES "ATTRIBUTES\t- Birim ya da disk öz nitelikleriyle oyna.\n" + IDS_HELP_CMD_DESC_AUTOMOUNT "AUTOMOUNT\t- BaÅlıca birimlerin kendiliÄinden baÄlamasını etkinleÅtir ve edilginleÅtir.\n" + IDS_HELP_CMD_DESC_BREAK "BREAK\t\t- Bir yansıma öbeÄi ayır.\n" + IDS_HELP_CMD_DESC_CLEAN "CLEAN\t\t- Diskin yapılandırma bilgisini ya da tüm bilgisini sil.\n" + IDS_HELP_CMD_DESC_COMPACT "COMPACT\t\t- KütüÄün fizîkî boyutunu düÅürmeye çalıÅır.\n" + IDS_HELP_CMD_DESC_CONVERT "CONVERT\t\t- Ayrı disk biçimleri arasında dönüÅtür.\n" + IDS_HELP_CMD_DESC_CREATE "CREATE\t\t- Bir birim, bölüm ya da farazî disk oluÅtur.\n" + IDS_HELP_CMD_DESC_DELETE "DELETE\t\t- Bir nesne sil.\n" + IDS_HELP_CMD_DESC_DETACH "DETACH\t\t- Bir farazî disk kütüÄü ayırır.\n" + IDS_HELP_CMD_DESC_DETAIL "DETAIL\t\t- Bir nesne üzerine ayrıntılar saÄla.\n" + IDS_HELP_CMD_DESC_EXIT "EXIT\t\t- DiskPart'tan çık.\n" + IDS_HELP_CMD_DESC_EXPAND "EXPAND\t\t- Bir farazî disk üzerinde en çok kullanılabilir boyutu geniÅletir.\n" + IDS_HELP_CMD_DESC_EXTEND "EXTEND\t\t- Bir birim geniÅlet.\n" + IDS_HELP_CMD_DESC_FS "FILESYSTEMS\t- Birimdeki Åimdiki ve desteklenen kütük dizgelerini görüntüle.\n" + IDS_HELP_CMD_DESC_FORMAT "FORMAT\t\t- Birimi ya da bölümü biçimlendir.\n" + IDS_HELP_CMD_DESC_GPT "GPT\t\t- Seçili GPT bölümüne öz nitelikleri ata.\n" + IDS_HELP_CMD_DESC_HELP "HELP\t\t- Komutların bir dizelgesini görüntüle.\n" + IDS_HELP_CMD_DESC_IMPORT "IMPORT\t\t- Bir disk öbeÄi al.\n" + IDS_HELP_CMD_DESC_INACTIVE "INACTIVE\t- Seçili bölümü edilgin olarak imle.\n" + IDS_HELP_CMD_DESC_LIST "LIST\t\t- Nesnelerin bir dizelgesini görüntüle.\n" + IDS_HELP_CMD_DESC_MERGE "MERGE\t\t- Bir alt diski üstleriyle birleÅtirir.\n" + IDS_HELP_CMD_DESC_OFFLINE "OFFLINE\t\t- Ãevrim içi olarak Åimdilik imlenen bir nesneyi çevrim dıÅı yap.\n" + IDS_HELP_CMD_DESC_ONLINE "ONLINE\t\t- Ãevrim dıÅı olarak Åimdilik imlenen bir nesneyi çevrim içi yap.\n" + IDS_HELP_CMD_DESC_RECOVER "RECOVER\t\t- Geçersiz paketteki tüm disklerin durumunu yeniler ve eski parçası ya da eÅlik verisi olan yansımalanmıŠbirimleri ve RAID5 birimleri yeniden eÅ zamanlar.\n" + IDS_HELP_CMD_DESC_REM "REM\t\t- Bir Åey yapmaz. Betiklere yorum eklemek için kullanılmıÅtır.\n" + IDS_HELP_CMD_DESC_REMOVE "REMOVE\t\t- Bir sürücü harfini ya da baÄlama noktası atamasını sil.\n" + IDS_HELP_CMD_DESC_REPAIR "REPAIR\t\t- BaÅarısız olan bir üyeyle bir RAID-5 birimi onar.\n" + IDS_HELP_CMD_DESC_RESCAN "RESCAN\t\t- Diskler ve birimler için bilgisayar aramasını yeniden tara.\n" + IDS_HELP_CMD_DESC_RETAIN "RETAIN\t\t- Bir bayaÄı birim altında bir tutulan bölüm yerleÅtir.\n" + IDS_HELP_CMD_DESC_SAN "SAN\t\t- Åimdilik ön yüklenen iÅletim dizgesi için SAN ilkesini görüntüle ya da ayarla.\n" + IDS_HELP_CMD_DESC_SELECT "SELECT\t\t- OdaÄı bir nesneye kaydır.\n" + IDS_HELP_CMD_DESC_SETID "SETID\t\t- Bölüm türünü deÄiÅtir.\n" + IDS_HELP_CMD_DESC_SHRINK "SHRINK\t\t- Seçili birimin boyutunu düÅür.\n" + IDS_HELP_CMD_DESC_UNIQUEID "UNIQUEID\t- Bir diskin GUID bölüm tablosu (GPT) tanımlayıcısını ya da üst ön yükleme kaydı (MBR) imini görüntüler ya da ayarlar." +END + +/* Common Error Messages */ +STRINGTABLE +BEGIN + IDS_ERROR_MSG_NO_SCRIPT "Betik açmada yanlıÅlık: %s\n" + IDS_ERROR_MSG_BAD_ARG "DeÄiÅtirgen iÅlemede yanlıÅlık: %s\n" +END + +/* Active help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ACTIVE "\n\ +<Buraya ACTIVE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Add help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ADD "\n\ +<Buraya ADD komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Assign help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ASSIGN "\n\ +<Buraya ASSIGN komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Attach help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ATTACH "\n\ +<Buraya ATTACH komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Attributes Command Messages */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ATTRIBUTES "\n\ +<Buraya ATTRIBUTES komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Automount help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_AUTOMOUNT "\n\ +<Buraya AUTOMOUNT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Break help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_BREAK "\n\ +<Buraya BREAK komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Clean help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_CLEAN "\n\ +<Buraya CLEAN komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Compact help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_COMPACT "\n\ +<Buraya COMPACT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Convert help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_CONVERT "\n\ +<Buraya CONVERT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Convert help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_CREATE "\n\ +<Buraya CREATE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Delete help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_DELETE "\n\ +<Buraya DELETE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Delete help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_DETAIL "\n\ +<Buraya DETAIL komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Detach help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_DETACH "\n\ +<Buraya DETACH komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Expand help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_EXPAND "\n\ +<Buraya EXPAND komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Extend help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_EXTEND "\n\ +<Buraya EXTEND komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Filesystems help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_FILESYSTEMS "\n\ +<Buraya FILESYSTEMS komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Format help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_FORMAT "\n\ +<Buraya FORMAT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* GPT help description */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_GPT "\n\ +<Buraya GPT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Help help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_HELP "\n\ +<Buraya HELP komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Import help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_IMPORT "\n\ +<Buraya IMPORT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Inactive help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_INACTIVE "\n\ +<Buraya INACTIVE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* List help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_LIST "\n\ +<Buraya LIST komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Merge help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_MERGE "\n\ +<Buraya MERGE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Offline help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_OFFLINE "\n\ +<Buraya OFFLINE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Online help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_ONLINE "\n\ +<Buraya ONLINE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Recover help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_RECOVER "\n\ +<Buraya RECOVER komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Remove help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_REMOVE "\n\ +<Buraya REMOVE komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Repair help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_REPAIR "\n\ +<Buraya REPAIR komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Rescan help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_RESCAN "\n\ +<Buraya RESCAN komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Retain help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_RETAIN "\n\ +<Buraya RETAIN komutu yardım metnini ekleyiniz.>\n\n" +END + +/* San help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_SAN "\n\ +<Buraya SAN komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Select help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_SELECT "\n\ +<Buraya SELECT komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Setid help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_SETID "\n\ +<Buraya SETID komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Setid help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_SHRINK "\n\ +<Buraya SHRINK komutu yardım metnini ekleyiniz.>\n\n" +END + +/* Uniqueid help descriptions */ +STRINGTABLE +BEGIN + IDS_HELP_CMD_UNIQUEID "\n\ +<Buraya UNIQUEID komutu yardım metnini ekleyiniz.>\n\n" +END Propchange: trunk/reactos/base/system/diskpart/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/system/format/format.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/format/format.…
============================================================================== --- trunk/reactos/base/system/format/format.rc [iso-8859-1] (original) +++ trunk/reactos/base/system/format/format.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -64,6 +64,9 @@ #ifdef LANGUAGE_SQ_AL #include "lang/sq-AL.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif #ifdef LANGUAGE_UK_UA #include "lang/uk-UA.rc" #endif Added: trunk/reactos/base/system/format/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/format/lang/tr…
============================================================================== --- trunk/reactos/base/system/format/lang/tr-TR.rc (added) +++ trunk/reactos/base/system/format/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,45 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +STRINGTABLE +BEGIN + STRING_HELP "Kullanım: %s sürücü: [-FS:kütük dizgesi] [-V:etiket] [-Q] [-A:boyut] [-C]\n\n\ + [sürücü:] Biçimlendirilecek sürücüyü belirtir.\n\ + -FS:kütük dizgesi (%s) kütük dizgesinin türünü belirtir.\n\ + -V:etiket Birim etiketini belirtir.\n\ + -Q Bir hızlı biçimlendirme gerçekleÅtirir.\n\ + -A:boyut Ãn tanımlı ayırma birimi boyutunu geçersiz kılar. Ãn tanımlı\n\ + ayarlar umûmî kullanım için Åiddetle önerilendir.\n\ + NTFS destekler: 512, 1024, 2048, 4096, 8192, 16K, 32K, 64K.\n\ + FAT destekler: 8192, 16K, 32K, 64K, 128K, 256K.\n\ + 4096'dan yukarısındaki ayırma birimi boyutları\n\ + için NTFS sıkıÅtırma desteklenmiyor.\n\ + -C Yeni birimde oluÅturulan kütükler ön tanımlı olarak\n\ + sıkıÅtırılmıŠolacaktır.\n\n" + STRING_COMPLETE "Yüzde %lu bitti.\r" + STRING_FORMAT_FAIL "FormatEx baÅarılı olarak bitiremedi.\n\n" + STRING_NO_SUPPORT "Ä°Ålem Desteklenmiyor" + STRING_FMIFS_FAIL "FMIFS giriÅ noktaları konumlandırılamadı.\n\n" + STRING_UNKNOW_ARG "Bilinmeyen deÄiÅtirgen: %s\n" + STRING_DRIVE_PARM "Ä°stenen sürücü deÄiÅkeni eksik.\n\n" + STRING_ERROR_DRIVE_TYPE "Sürücü türü alınamadı." + STRING_INSERT_DISK "%C: sürücüsüne yeni bir yumuÅak disk yerleÅtiriniz\nve anık olduÄunda GiriÅ'e basınız..." + STRING_NO_VOLUME "Birim sorgulanamadı." + STRING_NO_VOLUME_SIZE "Birim boyutu sorgulanamadı." + STRING_FILESYSTEM "Kütük dizgesinin türü %s.\n" + STRING_LABEL_NAME_EDIT "%C: sürücüsü için Åimdiki birim etiketini giriniz: " + STRING_ERROR_LABEL "Bu sürücü için yanlıŠbir birim etiketi girildi.\n" + STRING_YN_FORMAT "\nUYARI, %C: SÃRÃCÃSÃNÃN SÃBÄ°T DÄ°SK ÃZERÄ°NDEKÄ° TÃM VERÄ°LER\n\ +SÄ°LÄ°NECEKTÄ°R!\nBiçimlendirme sürsün mü (E/H)? " + STRING_YES_NO_FAQ "EH" + STRING_VERIFYING "DoÄrulanıyor" + STRING_FAST_FMT "Hızlı biçimlendiriliyor" + STRING_CREATE_FSYS "Kütük dizgesi yapıları oluÅturuluyor.\n" + STRING_FMT_COMPLETE "Biçimlendirme bitti.\n" + STRING_VOL_COMPRESS "Birim sıkıÅtırmayı desteklemiyor.\n" + STRING_ENTER_LABEL "Birim Etiketi (11 damga, yok için GiriÅ)? " + STRING_NO_LABEL "Birim etiketlenemedi." + STRING_FREE_SPACE "\n%I64d çoklu tüm disk alanı.\nDiskte %I64d çoklu kullanılabilir.\n" + STRING_SERIAL_NUMBER "\nBirim Dizilik Numarası %04X-%04X\n" +END Propchange: trunk/reactos/base/system/format/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Added: trunk/reactos/base/system/regsvr32/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/regsvr32/lang/…
============================================================================== --- trunk/reactos/base/system/regsvr32/lang/tr-TR.rc (added) +++ trunk/reactos/base/system/regsvr32/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,21 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +STRINGTABLE +BEGIN + IDS_UsageMessage "%s\n\nKullanım: regsvr32 [/u] [/s] [/c] [/n] [/i[:komut yatacı]] DLL adı\n\ +/u - Sunucu kaydını sil\n\ +/s - Sessiz; ileti kutusu görüntüleme\n\ +/c - Konsol çıkıÅı\n\ +/i - Seçimlik bir [komut yatacı] geçirerek DllInstall'ı çaÄır; DLL kaldırmaya çaÄıran /u ile kullanıldıÄında\n\ +/n - DllRegisterServer'i çaÄırma; bu seçenek /i ile kullanılmıŠolmalı" + IDS_NoDllSpecified "DLL adı belirtilmemiÅ." + IDS_InvalidFlag "Tanınmayan im: %s" + IDS_SwitchN_NoI "Tanınmayan im: /n /i seçeneÄiyle kullanılmıŠolmalı." + IDS_DllNotLoaded "LoadLibrary('%s') baÅarısız oldu.\nGetLastError 0x%08x döndürür." + IDS_MissingEntry "%s yüklendi ama %s giriÅ noktası bulunamadı.\n\n\ +%s verilmemiÅ ya da bozuk bir %s sürümü bellekte olabilir. Onu belirlemek ve silmek için PView kullanarak göz önünde bulundurunuz." + IDS_FailureMessage "%s (%s içinde) baÅarısız oldu.\nDönüŠkodu Åuydu: 0x%08x" + IDS_SuccessMessage "%s (%s içinde) baÅarılı oldu." +END Propchange: trunk/reactos/base/system/regsvr32/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/system/regsvr32/regsvr32.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/regsvr32/regsv…
============================================================================== --- trunk/reactos/base/system/regsvr32/regsvr32.rc [iso-8859-1] (original) +++ trunk/reactos/base/system/regsvr32/regsvr32.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -64,6 +64,9 @@ #ifdef LANGUAGE_SQ_AL #include "lang/sq-AL.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif #ifdef LANGUAGE_UK_UA #include "lang/uk-UA.rc" #endif Added: trunk/reactos/base/system/services/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/lang/…
============================================================================== --- trunk/reactos/base/system/services/lang/tr-TR.rc (added) +++ trunk/reactos/base/system/services/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,14 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +STRINGTABLE +BEGIN + IDS_SERVICE_START "baÅlat" + IDS_SERVICE_STOP "durdur" + IDS_SERVICE_PAUSE "duraklat" + IDS_SERVICE_RESUME "sürdür" + IDS_SERVICE_RUNNING "ÃalıÅıyor" + IDS_SERVICE_STOPPED "Durduruldu" + IDS_SERVICE_PAUSED "Duraklatıldı" +END Propchange: trunk/reactos/base/system/services/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/system/services/services.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/services/servi…
============================================================================== --- trunk/reactos/base/system/services/services.rc [iso-8859-1] (original) +++ trunk/reactos/base/system/services/services.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -27,3 +27,7 @@ #ifdef LANGUAGE_RU_RU #include "lang/ru-RU.rc" #endif + +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif Added: trunk/reactos/base/system/subst/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/subst/lang/tr-…
============================================================================== --- trunk/reactos/base/system/subst/lang/tr-TR.rc (added) +++ trunk/reactos/base/system/subst/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,19 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +STRINGTABLE +BEGIN + IDS_INCORRECT_PARAMETER_COUNT "DeÄiÅken sayısı yanlıŠ- %s\n" + IDS_INVALID_PARAMETER "DeÄiÅken sayısı yanlıŠ- %s\n" + IDS_INVALID_PARAMETER2 "Geçersiz deÄiÅken - %s\n" + IDS_DRIVE_ALREADY_SUBSTED "Sürücü önceden SUBST edilmiÅ.\n" + IDS_FAILED_WITH_ERRORCODE "YanlıÅlık kodu ile baÅarısız oldu 0x%x: %s\n" + IDS_USAGE "Bir sürücü harfiyle bir yolu iliÅkilendirir.\n\n\ +SUBST [sürücü1: [sürücü2:]yol]\n\ +SUBST sürücü1: /D\n\n\ + sürücü: Bir yol atamak için istediÄiniz bir farazî sürücüyü belirtir.\n\ + [sürücü2:]yol Bir farazî sürücüye atamak için istediÄiniz bir fizîkî sürücüyü ve yolu belirtir.\n\ + /D Bir yerine koyulmuÅ (farazî) sürücüyü siler.\n\n\ +Åimdiki farazî sürücülerin bir dizelgesini görüntülemek için deÄiÅkensiz olarak SUBST yazınız.\n" +END Propchange: trunk/reactos/base/system/subst/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/base/system/subst/subst.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/subst/subst.rc…
============================================================================== --- trunk/reactos/base/system/subst/subst.rc [iso-8859-1] (original) +++ trunk/reactos/base/system/subst/subst.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -40,6 +40,9 @@ #ifdef LANGUAGE_SQ_AL #include "lang/sq-AL.rc" #endif +#ifdef LANGUAGE_TR_TR + #include "lang/tr-TR.rc" +#endif #ifdef LANGUAGE_UK_UA #include "lang/uk-UA.rc" #endif Modified: trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/sysdm/lang/tr-TR.r…
============================================================================== --- trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/sysdm/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -102,22 +102,22 @@ IDD_HARDWAREPROFILE DIALOGEX 0, 0, 212, 188 STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU -CAPTION "General" +CAPTION "Umûmî" FONT 8, "MS Shell Dlg" BEGIN ICON IDI_HARDPROF, IDC_STATIC, 10, 10, 18, 20, SS_ICON LTEXT "", IDC_HWPPROP_PROFILE, 48, 16, 150, 8 - LTEXT "Dock ID:", IDC_STATIC, 10, 42, 43, 8 + LTEXT "Yuva KimliÄi:", IDC_STATIC, 10, 42, 43, 8 LTEXT "", IDC_HWPPROP_DOCKID, 64, 42, 135, 8 - LTEXT "Serial Number:", IDC_STATIC, 10, 55, 52, 8 + LTEXT "Dizilik Numarası:", IDC_STATIC, 10, 55, 52, 8 LTEXT "", IDC_HWPPROP_SERIAL, 64, 55, 135, 8 GROUPBOX "", IDC_STATIC, 10, 69, 192, 61 - AUTOCHECKBOX "This is a &portable computer", IDC_HWPPROP_PORTABLE, 17, 68, 115, 10, WS_GROUP | WS_TABSTOP - AUTORADIOBUTTON "The docking &state is unknown", IDC_HWPPROP_UNKNOWN, 22, 85, 160, 10, WS_GROUP | WS_TABSTOP - AUTORADIOBUTTON "The computer is &docked", IDC_HWPPROP_DOCKED, 22, 97, 160, 10 - AUTORADIOBUTTON "The computer is &undocked", IDC_HWPPROP_UNDOCKED, 22, 109, 160, 10 - GROUPBOX "Hardware profiles selection", IDC_STATIC, 10, 138, 192, 42 - AUTOCHECKBOX "Always &include this profile as an option when ReactOS starts", IDC_HWPPROP_INCLUDE, 17, 150, 164, 20, WS_GROUP | WS_TABSTOP | BS_MULTILINE + AUTOCHECKBOX "&Bu Bir TaÅınabilir Bilgisayardır", IDC_HWPPROP_PORTABLE, 17, 68, 115, 10, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "&YerleÅtirme Durumu Bilinmiyor", IDC_HWPPROP_UNKNOWN, 22, 85, 160, 10, WS_GROUP | WS_TABSTOP + AUTORADIOBUTTON "B&ilgisayar YerleÅtirilmiÅ", IDC_HWPPROP_DOCKED, 22, 97, 160, 10 + AUTORADIOBUTTON "Bi&lgisayar YerleÅtirilmemiÅ", IDC_HWPPROP_UNDOCKED, 22, 109, 160, 10 + GROUPBOX "Donanım Profilleri Seçimi", IDC_STATIC, 10, 138, 192, 42 + AUTOCHECKBOX "&ReactOS BaÅladıÄında Bu Profili Bir Seçenek Olarak Tüm Zamanlarda Kat", IDC_HWPPROP_INCLUDE, 17, 150, 164, 20, WS_GROUP | WS_TABSTOP | BS_MULTILINE END IDD_COPYPROFILE DIALOGEX 12, 26, 256, 52 @@ -301,9 +301,9 @@ IDS_PAGEFILE_SYSTEM "Dizge Yönetimli" IDS_INFOREBOOT "DeÄiÅiklikleri uygulamak için bilgisayarı yeniden baÅlatmalısınız." IDS_DEVS "\nReactOS Takımı\n\nTasarı EÅ Güdümcüsü:\n\nAleksey Bragin\n\nGeliÅtirme Takımı:\n\nAleksey Bragin\nAndrew Greenwood\nAndrey Korotaev\nArt Yerkes\nChristoph von Wittich\nColin Finck\nDaniel Reimer\nDmitry Chapyshev\nEric Kohl\nGed Murphy\nGregor Brunmar\nHervé Poussineau\nJames Tabor\nJeffrey Morlan\nJohannes Anderwald\nKamil HornÃÄek\nKJK::Hyperion\nMaarten Bosma\nMagnus Olsen\nMarc Piulachs\nMatthias Kupfer\nMike Nordell\nPeter Ward\nPierre Schweitzer\nSaveliy Tretiakov\nStefan Ginsberg\nSylvain Petreolle\nThomas Blümel\nTimo Kreuzer\n\nAlex Ionescu\nFilip Navara\nGunnar Dalsnes\nMartin Fuchs\nRoyce Mitchell III\nBrandon Turner\nBrian Palmer\nCasper Hornstrup\nDavid Welch\nEmanuele Aliberti\nGé van Geldorp\nGregor Anich\nJason Filby\nJens Collin\nMichael Wirth\nNathan Woods\nRobert Dickenson\nRex Jolliff\nVizzini\n\nSürüm Mühendisleri:\n\nColin Finck\nZ98\n\nUmûmî AÄ Sitesi Takımı:\n\nColin Finck\nJaix Bly\nKlemens Friedl\nZ98\n\nOrtam Takımı:\n\nMindflyer\nWierd_W\n\nAyrıca, tüm katkıda bulunanlara teÅekkürler:\nWine Takımı\n\n" - IDS_HWPROFILE_CONFIRM_DELETE_TITLE "Confirm Profile Delete" - IDS_HWPROFILE_CONFIRM_DELETE "Are you sure you want to delete the hardware profile ""%s""?" - IDS_HWPROFILE_ALREADY_IN_USE "The profile name is already in use." - IDS_HWPROFILE_PROFILE "Profile" - IDS_HWPROFILE_WARNING "Warning" -END + IDS_HWPROFILE_CONFIRM_DELETE_TITLE "Profil Silmeyi Onayla" + IDS_HWPROFILE_CONFIRM_DELETE """%s"" donanım profilini silmeyi istemekten emin misiniz?" + IDS_HWPROFILE_ALREADY_IN_USE "Profil adı önceden kullanımda." + IDS_HWPROFILE_PROFILE "Profil" + IDS_HWPROFILE_WARNING "Uyarı" +END Modified: trunk/reactos/dll/cpl/wined3dcfg/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/wined3dcfg/lang/tr…
============================================================================== --- trunk/reactos/dll/cpl/wined3dcfg/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/cpl/wined3dcfg/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -34,6 +34,6 @@ STRINGTABLE BEGIN - IDS_CPLNAME "WineD3D Options" + IDS_CPLNAME "WineD3D Seçenekleri" IDS_CPLDESCRIPTION "WinD3D yürütücüsü ayarlarını yapılandırır." END Modified: trunk/reactos/dll/win32/cryptui/lang/cryptui_Tr.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/cryptui/lang/cry…
============================================================================== --- trunk/reactos/dll/win32/cryptui/lang/cryptui_Tr.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/cryptui/lang/cryptui_Tr.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -107,7 +107,7 @@ IDS_WARN_REMOVE_MY "Artık bu onay belgesiyle, iletileri çözemeyeceksiniz veyâ iletileri imzâlayamayacaksınız.\nBu onay belgesini silmek istediÄinizden emin misiniz?" IDS_WARN_REMOVE_PLURAL_MY "Artık bu onay belgeleriyle, iletileri çözemeyeceksiniz veyâ iletileri imzâlayamayacaksınız.\nBu onay belgelerini silmek istediÄinizden emin misiniz?" IDS_WARN_REMOVE_ADDRESSBOOK "Artık bu onay belgesiyle, iletileri Åifreleyemeyeceksiniz veyâ imzâlı iletileri doÄrulayamayacaksınız.\nBu onay belgesini silmek istediÄinizden emin misiniz?" - IDS_WARN_REMOVE_PLURAL_ADDRESSBOOK "Artık bu onay belgeleriyle, iletileri Åifreleyemeyeceksiniz veyâ imzâlı iletileri doÄrulayamayacaksınız.\nBu onay belgelerini silmek istediÄinizden emin misiniz?" + IDS_WARN_REMOVE_PLURAL_ADDRESSBOOK "Artık, bu onay belgeleriyle iletileri Åifreleyemeyeceksiniz veyâ onlarla imzâlı iletileri doÄrulayamayacaksınız.\nBu onay belgelerini silmek istediÄinizden emin misiniz?" IDS_WARN_REMOVE_CA "Artık bu onay belgesi yetkilisiyle yayımlanan onay belgeleri güvenilen olmayacaktır.\nBu onay belgesini silmek istediÄinizden emin misiniz?" IDS_WARN_REMOVE_PLURAL_CA "Artık bu onay belgesi yetkilileriyle yayımlanan onay belgeleri güvenilen olmayacaktır.\nBu onay belgelerini silmek istediÄinizden emin misiniz?" IDS_WARN_REMOVE_ROOT "Artık, bu kök onay belgesi yetkilisiyle yayımlanan onay belgeleri ve onay belgesi yetkilileri güvenilir olmayacaktır.\nBu güvenilen kök onay belgesini silmek istediÄinizden emin misiniz?" Added: trunk/reactos/dll/win32/devmgr/devmgmt/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/devmgmt/l…
============================================================================== --- trunk/reactos/dll/win32/devmgr/devmgmt/lang/tr-TR.rc (added) +++ trunk/reactos/dll/win32/devmgr/devmgmt/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -0,0 +1,98 @@ +/* TRANSLATOR: 2015 Erdem Ersoy (eersoy93) (erdemersoy(a)live.com) */ + +LANGUAGE LANG_TURKISH, SUBLANG_DEFAULT + +IDR_MAINMENU MENU +BEGIN + POPUP "&Kütük" + BEGIN + MENUITEM "&ÃıkıÅ", IDC_EXIT + END + POPUP "&Eylem" + BEGIN + MENUITEM "&Sürücü Yazılmını ÅimdikileÅtir..." IDC_UPDATE_DRV + MENUITEM "&EtkinleÅtir" IDC_ENABLE_DRV + MENUITEM "E&dilginleÅtir" IDC_DISABLE_DRV + MENUITEM "&Kaldır" IDC_UNINSTALL_DRV + MENUITEM SEPARATOR + MENUITEM "D&onanım DeÄiÅiklikleri İçin Tara" IDC_SCAN_HARDWARE + MENUITEM "Do&nanım Ekle" IDC_ADD_HARDWARE, GRAYED + MENUITEM SEPARATOR + MENUITEM "&Husûsiyetler", IDC_PROPERTIES + END + POPUP "&Görünüm" + BEGIN + MENUITEM "&Türe Göre Aygıtlar", IDC_DEVBYTYPE + MENUITEM "&BaÄlantıya Göre Aygıtlar", IDC_DEVBYCONN + MENUITEM "T&üre Göre Kaynaklar", IDC_RESBYTYPE, GRAYED + MENUITEM "B&aÄlantıya Göre Kaynaklar", IDC_RESBYCONN, GRAYED + MENUITEM SEPARATOR + MENUITEM "&Gizli Aygıtları Göster", IDC_SHOWHIDDEN + END + POPUP "&Yardım" + BEGIN + MENUITEM "&Ãzerine", IDC_ABOUT + END +END + +IDR_POPUP MENU +BEGIN + POPUP "popup" + BEGIN + MENUITEM "&Sürücü Yazılmını ÅimdikileÅtir..." IDC_UPDATE_DRV + MENUITEM "&EtkinleÅtir" IDC_ENABLE_DRV + MENUITEM "E&dilginleÅtir" IDC_DISABLE_DRV + MENUITEM "&Kaldır" IDC_UNINSTALL_DRV + MENUITEM SEPARATOR + MENUITEM "D&onanım DeÄiÅiklikleri İçin Tara" IDC_SCAN_HARDWARE + MENUITEM "Do&nanım Ekle" IDC_ADD_HARDWARE, GRAYED + MENUITEM SEPARATOR + MENUITEM "&Husûsiyetler", IDC_PROPERTIES + END +END + +#define IDS_HINT_PROPERTIES 20001 +#define IDS_HINT_SCAN 20002 +#define IDS_HINT_ENABLE 20003 +#define IDS_HINT_DISABLE 20004 +#define IDS_HINT_UPDATE 20005 +#define IDS_HINT_UNINSTALL 20006 + +STRINGTABLE DISCARDABLE +BEGIN + IDS_TOOLTIP_PROPERTIES "Husûsiyetler" + IDS_TOOLTIP_SCAN "Donanım DeÄiÅiklikleri İçin Tara" + IDS_TOOLTIP_ENABLE "EtkinleÅtir" + IDS_TOOLTIP_DIABLE "EdilginleÅtir" + IDS_TOOLTIP_UPDATE "Sürücü Yazılmını ÅimdikileÅtir" + IDS_TOOLTIP_UNINSTALL "Kaldır" +END + +/* Hints */ +STRINGTABLE DISCARDABLE +BEGIN + IDS_APPNAME "Aygıt Yöneticisi" + IDS_HINT_BLANK " " + IDS_HINT_PROPERTIES " Åimdiki seçilen için husûsiyet penceresini açar." + IDS_HINT_SCAN " Yeni ya da deÄiÅtirilmiÅ tak ve çalıÅtır aygıtları için tarar." + IDS_HINT_ENABLE " Seçili aygıtı etkinleÅtirir." + IDS_HINT_DISABLE " Seçili aygıtı edilginleÅtirir." + IDS_HINT_UPDATE " Seçili aygıt için Sürücü Yazılımını ÅimdikileÅtir yardımcısını baÅlatır." + IDS_HINT_UNINSTALL " Seçili aygıt için sürücüyü kaldırır." + IDS_HINT_ADD " Bilgisayara eski (Tak ve ÃalıÅtır olmayan) bir aygıt ekler." + IDS_HINT_ABOUT " Aygıt Yöneticisi üzerine." + IDS_HINT_EXIT " Ä°zlenceden çıkar." + + IDS_HINT_DEV_BY_TYPE " Donanım türüne göre aygıtları görüntüler." + IDS_HINT_DEV_BY_CONN " BaÄlantıya göre aygıtları görüntüler." + IDS_HINT_RES_BY_TYPE " Türe göre kaynakları görüntüler." + IDS_HINT_RES_BY_CONN " BaÄlantı türüne göre kaynakları görüntüler." + IDS_HINT_SHOW_HIDDEN " Eski aygıtları ve artık kurulu olmayacak aygıtları görüntüler." + + IDS_HINT_SYS_RESTORE " Bu pencereyi düzgülük boyutlarına döndürür." + IDS_HINT_SYS_MOVE " Bu pencereyi devindirir." + IDS_HINT_SYS_SIZE " Bu pencereyi yeniden boyutlandırır." + IDS_HINT_SYS_MINIMIZE " Bu pencereyi bir simgeye küçültür." + IDS_HINT_SYS_MAXIMIZE " Bu pencereyi, bu görüntülüÄü kaplatana dek geniÅletir." + IDS_HINT_SYS_CLOSE " Bu pencereyi kapatır." +END Propchange: trunk/reactos/dll/win32/devmgr/devmgmt/lang/tr-TR.rc ------------------------------------------------------------------------------ svn:eol-style = native Modified: trunk/reactos/dll/win32/devmgr/lang/tr-TR.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/devmgr/lang/tr-T…
============================================================================== --- trunk/reactos/dll/win32/devmgr/lang/tr-TR.rc [iso-8859-1] (original) +++ trunk/reactos/dll/win32/devmgr/lang/tr-TR.rc [iso-8859-1] Sun Jun 21 11:20:39 2015 @@ -32,7 +32,7 @@ IDS_RESOURCE_MEMORY_RANGE "Bellek Erimi" IDS_RESOURCE_INTERRUPT "IRQ" IDS_RESOURCE_DMA "DMA" - IDS_RESOURCE_PORT "I/O Erimi" + IDS_RESOURCE_PORT "G/Ã Erimi" END /* error messages, source:
http://www.z123.org/techsupport/medm.htm
*/
9 years, 6 months
1
0
0
0
[ekohl] 68229: [FSLIB] Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly.
by ekohl@svn.reactos.org
Author: ekohl Date: Sun Jun 21 09:39:06 2015 New Revision: 68229 URL:
http://svn.reactos.org/svn/reactos?rev=68229&view=rev
Log: [FSLIB] Remove the HiddenSectors hack because usetup initializes the HiddenSectors value properly. Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c Modified: trunk/reactos/lib/fslib/vfatlib/vfatlib.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatlib/vfatlib.…
============================================================================== --- trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] (original) +++ trunk/reactos/lib/fslib/vfatlib/vfatlib.c [iso-8859-1] Sun Jun 21 09:39:06 2015 @@ -105,12 +105,6 @@ NtClose(FileHandle); return Status; } - - /* - * FIXME: This is a hack! - * Partitioning software MUST set the correct number of hidden sectors! - */ - PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack; } else { Modified: trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/fslib/vfatxlib/vfatxli…
============================================================================== --- trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c [iso-8859-1] (original) +++ trunk/reactos/lib/fslib/vfatxlib/vfatxlib.c [iso-8859-1] Sun Jun 21 09:39:06 2015 @@ -102,12 +102,6 @@ NtClose(FileHandle); return Status; } - - /* - * FIXME: This is a hack! - * Partitioning software MUST set the correct number of hidden sectors! - */ - PartitionInfo.HiddenSectors = DiskGeometry.SectorsPerTrack; } else {
9 years, 6 months
1
0
0
0
[pschweitzer] 68228: [NTFS] CcInitializeCacheMap can raise exceptions, wrap it into a SEH block
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 21 09:26:15 2015 New Revision: 68228 URL:
http://svn.reactos.org/svn/reactos?rev=68228&view=rev
Log: [NTFS] CcInitializeCacheMap can raise exceptions, wrap it into a SEH block Modified: trunk/reactos/drivers/filesystems/ntfs/fcb.c trunk/reactos/drivers/filesystems/ntfs/fsctl.c Modified: trunk/reactos/drivers/filesystems/ntfs/fcb.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/f…
============================================================================== --- trunk/reactos/drivers/filesystems/ntfs/fcb.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ntfs/fcb.c [iso-8859-1] Sun Jun 21 09:26:15 2015 @@ -263,11 +263,23 @@ Fcb->Vcb = Vcb; Status = STATUS_SUCCESS; - CcInitializeCacheMap(FileObject, - (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), - FALSE, - &(NtfsGlobalData->CacheMgrCallbacks), - Fcb); + _SEH2_TRY + { + CcInitializeCacheMap(FileObject, + (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), + FALSE, + &(NtfsGlobalData->CacheMgrCallbacks), + Fcb); + } + _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) + { + FileObject->FsContext2 = NULL; + ExFreePoolWithTag(newCCB, TAG_CCB); + ObDereferenceObject(FileObject); + Fcb->FileObject = NULL; + return _SEH2_GetExceptionCode(); + } + _SEH2_END; ObDereferenceObject(FileObject); Fcb->Flags |= FCB_CACHE_INITIALIZED; @@ -483,11 +495,21 @@ if (!(Fcb->Flags & FCB_CACHE_INITIALIZED)) { - CcInitializeCacheMap(FileObject, - (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), - FALSE, - &(NtfsGlobalData->CacheMgrCallbacks), - Fcb); + _SEH2_TRY + { + CcInitializeCacheMap(FileObject, + (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), + FALSE, + &(NtfsGlobalData->CacheMgrCallbacks), + Fcb); + } + _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) + { + FileObject->FsContext2 = NULL; + ExFreePoolWithTag(newCCB, TAG_CCB); + return _SEH2_GetExceptionCode(); + } + _SEH2_END; Fcb->Flags |= FCB_CACHE_INITIALIZED; } Modified: trunk/reactos/drivers/filesystems/ntfs/fsctl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/ntfs/f…
============================================================================== --- trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/ntfs/fsctl.c [iso-8859-1] Sun Jun 21 09:26:15 2015 @@ -495,11 +495,20 @@ // Fcb->Entry.ExtentLocationL = 0; // Fcb->Entry.DataLengthL = DeviceExt->CdInfo.VolumeSpaceSize * BLOCKSIZE; - CcInitializeCacheMap(Vcb->StreamFileObject, - (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), - FALSE, - &(NtfsGlobalData->CacheMgrCallbacks), - Fcb); + _SEH2_TRY + { + CcInitializeCacheMap(Vcb->StreamFileObject, + (PCC_FILE_SIZES)(&Fcb->RFCB.AllocationSize), + TRUE, + &(NtfsGlobalData->CacheMgrCallbacks), + Fcb); + } + _SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER) + { + Status = _SEH2_GetExceptionCode(); + goto ByeBye; + } + _SEH2_END; ExInitializeResourceLite(&Vcb->DirResource);
9 years, 6 months
1
0
0
0
← Newer
1
...
7
8
9
10
11
12
13
...
35
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
Results per page:
10
25
50
100
200