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
April 2005
----- 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
26 participants
477 discussions
Start a n
N
ew thread
[weiden] 14894: fixed uninitialized variable warning
by weiden@svn.reactos.com
fixed uninitialized variable warning Modified: trunk/reactos/lib/advapi32/reg/reg.c _____ Modified: trunk/reactos/lib/advapi32/reg/reg.c --- trunk/reactos/lib/advapi32/reg/reg.c 2005-04-30 22:00:26 UTC (rev 14893) +++ trunk/reactos/lib/advapi32/reg/reg.c 2005-04-30 22:45:58 UTC (rev 14894) @@ -1293,11 +1293,11 @@ } else { - if (lpData) - { - IsStringType = (ValueInfo->Full.Type == REG_SZ) || + IsStringType = (ValueInfo->Full.Type == REG_SZ) || (ValueInfo->Full.Type == REG_MULTI_SZ) || (ValueInfo->Full.Type == REG_EXPAND_SZ); + if (lpData) + { if (ValueInfo->Full.NameLength > NameLength || (!IsStringType && ValueInfo->Full.DataLength > *lpcbData) || ValueInfo->Full.DataLength > DataLength)
19 years, 7 months
1
0
0
0
[ekohl] 14893: NtQueryInformationFile/NtSetInformationFile:
by ekohl@svn.reactos.com
NtQueryInformationFile/NtSetInformationFile: - Check for information class specific access rights. - Clean-up some indentation mess. Modified: trunk/reactos/ntoskrnl/io/file.c _____ Modified: trunk/reactos/ntoskrnl/io/file.c --- trunk/reactos/ntoskrnl/io/file.c 2005-04-30 21:11:39 UTC (rev 14892) +++ trunk/reactos/ntoskrnl/io/file.c 2005-04-30 22:00:26 UTC (rev 14893) @@ -2150,99 +2150,132 @@ ULONG Length, FILE_INFORMATION_CLASS FileInformationClass) { - PFILE_OBJECT FileObject; - NTSTATUS Status; - PIRP Irp; - PDEVICE_OBJECT DeviceObject; - PIO_STACK_LOCATION StackPtr; - PVOID SystemBuffer; - KPROCESSOR_MODE PreviousMode; - - ASSERT(IoStatusBlock != NULL); - ASSERT(FileInformation != NULL); - - DPRINT("NtQueryInformationFile(Handle %x StatBlk %x FileInfo %x Length %d " - "Class %d)\n", FileHandle, IoStatusBlock, FileInformation, - Length, FileInformationClass); + OBJECT_HANDLE_INFORMATION HandleInformation; + PFILE_OBJECT FileObject; + NTSTATUS Status; + PIRP Irp; + PDEVICE_OBJECT DeviceObject; + PIO_STACK_LOCATION StackPtr; + PVOID SystemBuffer; + KPROCESSOR_MODE PreviousMode; + BOOLEAN Failed = FALSE; - PreviousMode = ExGetPreviousMode(); + ASSERT(IoStatusBlock != NULL); + ASSERT(FileInformation != NULL); - Status = ObReferenceObjectByHandle(FileHandle, - 0, /* FIXME - access depends on the information class! */ - IoFileObjectType, - PreviousMode, - (PVOID *)&FileObject, - NULL); - if (!NT_SUCCESS(Status)) - { - return(Status); - } - DPRINT("FileObject %x\n", FileObject); - - DeviceObject = FileObject->DeviceObject; - - Irp = IoAllocateIrp(DeviceObject->StackSize, - TRUE); - if (Irp == NULL) - { - ObDereferenceObject(FileObject); - return STATUS_INSUFFICIENT_RESOURCES; - } - - SystemBuffer = ExAllocatePoolWithTag(NonPagedPool, - Length, - TAG_SYSB); - if (SystemBuffer == NULL) - { - IoFreeIrp(Irp); - ObDereferenceObject(FileObject); - return(STATUS_INSUFFICIENT_RESOURCES); - } - - /* Trigger FileObject/Event dereferencing */ - Irp->Tail.Overlay.OriginalFileObject = FileObject; - Irp->RequestorMode = PreviousMode; - Irp->AssociatedIrp.SystemBuffer = SystemBuffer; - Irp->UserIosb = IoStatusBlock; - Irp->UserEvent = &FileObject->Event; - Irp->Tail.Overlay.Thread = PsGetCurrentThread(); - KeResetEvent( &FileObject->Event ); - - StackPtr = IoGetNextIrpStackLocation(Irp); - StackPtr->MajorFunction = IRP_MJ_QUERY_INFORMATION; - StackPtr->MinorFunction = 0; - StackPtr->Flags = 0; - StackPtr->Control = 0; - StackPtr->DeviceObject = DeviceObject; - StackPtr->FileObject = FileObject; - - StackPtr->Parameters.QueryFile.FileInformationClass = - FileInformationClass; - StackPtr->Parameters.QueryFile.Length = Length; - - Status = IoCallDriver(FileObject->DeviceObject, - Irp); - if (Status == STATUS_PENDING && (FileObject->Flags & FO_SYNCHRONOUS_IO)) - { - KeWaitForSingleObject(&FileObject->Event, - Executive, - PreviousMode, - FileObject->Flags & FO_ALERTABLE_IO, - NULL); - Status = IoStatusBlock->Status; - } + DPRINT("NtQueryInformationFile(Handle %x StatBlk %x FileInfo %x Length %d " + "Class %d)\n", FileHandle, IoStatusBlock, FileInformation, + Length, FileInformationClass); + PreviousMode = ExGetPreviousMode(); + + Status = ObReferenceObjectByHandle(FileHandle, + 0, + IoFileObjectType, + PreviousMode, + (PVOID *)&FileObject, + &HandleInformation); + if (!NT_SUCCESS(Status)) + { + return Status; + } + + /* Check information class specific access rights */ + switch (FileInformationClass) + { + case FileBasicInformation: + if (!(HandleInformation.GrantedAccess & FILE_READ_ATTRIBUTES)) + Failed = TRUE; + break; + + case FilePositionInformation: + if (!(HandleInformation.GrantedAccess & (FILE_READ_DATA | FILE_WRITE_DATA)) || + !(FileObject->Flags & FO_SYNCHRONOUS_IO)) + Failed = TRUE; + break; + + case FileAlignmentInformation: + if (!(FileObject->Flags & FO_NO_INTERMEDIATE_BUFFERING)) + Failed = TRUE; + break; + + default: + break; + } + + if (Failed) + { + DPRINT1("NtQueryInformationFile() returns STATUS_ACCESS_DENIED!\n"); + ObDereferenceObject(FileObject); + return STATUS_ACCESS_DENIED; + } + + DPRINT("FileObject %x\n", FileObject); + + DeviceObject = FileObject->DeviceObject; + + Irp = IoAllocateIrp(DeviceObject->StackSize, + TRUE); + if (Irp == NULL) + { + ObDereferenceObject(FileObject); + return STATUS_INSUFFICIENT_RESOURCES; + } + + SystemBuffer = ExAllocatePoolWithTag(NonPagedPool, + Length, + TAG_SYSB); + if (SystemBuffer == NULL) + { + IoFreeIrp(Irp); + ObDereferenceObject(FileObject); + return STATUS_INSUFFICIENT_RESOURCES; + } + + /* Trigger FileObject/Event dereferencing */ + Irp->Tail.Overlay.OriginalFileObject = FileObject; + Irp->RequestorMode = PreviousMode; + Irp->AssociatedIrp.SystemBuffer = SystemBuffer; + Irp->UserIosb = IoStatusBlock; + Irp->UserEvent = &FileObject->Event; + Irp->Tail.Overlay.Thread = PsGetCurrentThread(); + KeResetEvent(&FileObject->Event); + + StackPtr = IoGetNextIrpStackLocation(Irp); + StackPtr->MajorFunction = IRP_MJ_QUERY_INFORMATION; + StackPtr->MinorFunction = 0; + StackPtr->Flags = 0; + StackPtr->Control = 0; + StackPtr->DeviceObject = DeviceObject; + StackPtr->FileObject = FileObject; + + StackPtr->Parameters.QueryFile.FileInformationClass = + FileInformationClass; + StackPtr->Parameters.QueryFile.Length = Length; + + Status = IoCallDriver(FileObject->DeviceObject, + Irp); + if (Status == STATUS_PENDING && (FileObject->Flags & FO_SYNCHRONOUS_IO)) + { + KeWaitForSingleObject(&FileObject->Event, + Executive, + PreviousMode, + FileObject->Flags & FO_ALERTABLE_IO, + NULL); + Status = IoStatusBlock->Status; + } + if (NT_SUCCESS(Status)) - { - DPRINT("Information %lu\n", IoStatusBlock->Information); - MmSafeCopyToUser(FileInformation, - SystemBuffer, - IoStatusBlock->Information); - } + { + DPRINT("Information %lu\n", IoStatusBlock->Information); + MmSafeCopyToUser(FileInformation, + SystemBuffer, + IoStatusBlock->Information); + } - ExFreePool(SystemBuffer); + ExFreePool(SystemBuffer); - return Status; + return Status; } /* @@ -2465,134 +2498,171 @@ ULONG Length, FILE_INFORMATION_CLASS FileInformationClass) { - PIO_STACK_LOCATION StackPtr; - PFILE_OBJECT FileObject; - PDEVICE_OBJECT DeviceObject; - PIRP Irp; - NTSTATUS Status; - PVOID SystemBuffer; - KPROCESSOR_MODE PreviousMode; - - ASSERT(IoStatusBlock != NULL); - ASSERT(FileInformation != NULL); - - DPRINT("NtSetInformationFile(Handle %x StatBlk %x FileInfo %x Length %d " - "Class %d)\n", FileHandle, IoStatusBlock, FileInformation, - Length, FileInformationClass); + OBJECT_HANDLE_INFORMATION HandleInformation; + PIO_STACK_LOCATION StackPtr; + PFILE_OBJECT FileObject; + PDEVICE_OBJECT DeviceObject; + PIRP Irp; + NTSTATUS Status; + PVOID SystemBuffer; + KPROCESSOR_MODE PreviousMode; + BOOLEAN Failed = FALSE; - PreviousMode = ExGetPreviousMode(); + ASSERT(IoStatusBlock != NULL); + ASSERT(FileInformation != NULL); - /* Get the file object from the file handle */ - Status = ObReferenceObjectByHandle(FileHandle, - 0, /* FIXME - depends on the information class */ - IoFileObjectType, - PreviousMode, - (PVOID *)&FileObject, - NULL); - if (!NT_SUCCESS(Status)) - { - return Status; - } - - DPRINT("FileObject %x\n", FileObject); + DPRINT("NtSetInformationFile(Handle %x StatBlk %x FileInfo %x Length %d " + "Class %d)\n", FileHandle, IoStatusBlock, FileInformation, + Length, FileInformationClass); - /* io completion port? */ - if (FileInformationClass == FileCompletionInformation) - { - PKQUEUE Queue; + PreviousMode = ExGetPreviousMode(); - if (Length < sizeof(FILE_COMPLETION_INFORMATION)) + /* Get the file object from the file handle */ + Status = ObReferenceObjectByHandle(FileHandle, + 0, + IoFileObjectType, + PreviousMode, + (PVOID *)&FileObject, + &HandleInformation); + if (!NT_SUCCESS(Status)) + { + return Status; + } + + /* Check information class specific access rights */ + switch (FileInformationClass) + { + case FileBasicInformation: + if (!(HandleInformation.GrantedAccess & FILE_WRITE_ATTRIBUTES)) + Failed = TRUE; + break; + + case FileDispositionInformation: + if (!(HandleInformation.GrantedAccess & DELETE)) + Failed = TRUE; + break; + + case FilePositionInformation: + if (!(HandleInformation.GrantedAccess & (FILE_READ_DATA | FILE_WRITE_DATA)) || + !(FileObject->Flags & FO_SYNCHRONOUS_IO)) + Failed = TRUE; + break; + + case FileEndOfFileInformation: + if (!(HandleInformation.GrantedAccess & FILE_WRITE_DATA)) + Failed = TRUE; + break; + + default: + break; + } + + if (Failed) + { + DPRINT1("NtSetInformationFile() returns STATUS_ACCESS_DENIED!\n"); + ObDereferenceObject(FileObject); + return STATUS_ACCESS_DENIED; + } + + DPRINT("FileObject %x\n", FileObject); + + /* io completion port? */ + if (FileInformationClass == FileCompletionInformation) + { + PKQUEUE Queue; + + if (Length < sizeof(FILE_COMPLETION_INFORMATION)) + { + Status = STATUS_INFO_LENGTH_MISMATCH; + } + else + { + Status = ObReferenceObjectByHandle(((PFILE_COMPLETION_INFORMATION)FileInformation )->IoCompletionHandle, + IO_COMPLETION_MODIFY_STATE,//??? + ExIoCompletionType, + PreviousMode, + (PVOID*)&Queue, + NULL); + if (NT_SUCCESS(Status)) { - Status = STATUS_INFO_LENGTH_MISMATCH; - } - else - { - Status = ObReferenceObjectByHandle(((PFILE_COMPLETION_INFORMATION)FileInformation )->IoCompletionHandle, - IO_COMPLETION_MODIFY_STATE,//??? - ExIoCompletionType, - PreviousMode, - (PVOID*)&Queue, - NULL); - if (NT_SUCCESS(Status)) - { - /* FIXME: maybe use lookaside list */ - FileObject->CompletionContext = ExAllocatePool(NonPagedPool, sizeof(IO_COMPLETION_CONTEXT)); - FileObject->CompletionContext->Key = ((PFILE_COMPLETION_INFORMATION)FileInformation)->CompletionKey; - FileObject->CompletionContext->Port = Queue; + /* FIXME: maybe use lookaside list */ + FileObject->CompletionContext = ExAllocatePool(NonPagedPool, sizeof(IO_COMPLETION_CONTEXT)); + FileObject->CompletionContext->Key = ((PFILE_COMPLETION_INFORMATION)FileInformation)->CompletionKey; + FileObject->CompletionContext->Port = Queue; - ObDereferenceObject(Queue); - } + ObDereferenceObject(Queue); } + } - ObDereferenceObject(FileObject); - return Status; - } + ObDereferenceObject(FileObject); + return Status; + } - DeviceObject = FileObject->DeviceObject; - - Irp = IoAllocateIrp(DeviceObject->StackSize, - TRUE); - if (Irp == NULL) - { - ObDereferenceObject(FileObject); - return STATUS_INSUFFICIENT_RESOURCES; - } - - SystemBuffer = ExAllocatePoolWithTag(NonPagedPool, - Length, - TAG_SYSB); - if (SystemBuffer == NULL) - { - IoFreeIrp(Irp); - ObDereferenceObject(FileObject); - return(STATUS_INSUFFICIENT_RESOURCES); - } - - MmSafeCopyFromUser(SystemBuffer, - FileInformation, - Length); - - /* Trigger FileObject/Event dereferencing */ - Irp->Tail.Overlay.OriginalFileObject = FileObject; - Irp->RequestorMode = PreviousMode; - Irp->AssociatedIrp.SystemBuffer = SystemBuffer; - Irp->UserIosb = IoStatusBlock; - Irp->UserEvent = &FileObject->Event; - KeResetEvent( &FileObject->Event ); - Irp->Tail.Overlay.Thread = PsGetCurrentThread(); - - StackPtr = IoGetNextIrpStackLocation(Irp); - StackPtr->MajorFunction = IRP_MJ_SET_INFORMATION; - StackPtr->MinorFunction = 0; - StackPtr->Flags = 0; - StackPtr->Control = 0; - StackPtr->DeviceObject = DeviceObject; - StackPtr->FileObject = FileObject; - - StackPtr->Parameters.SetFile.FileInformationClass = - FileInformationClass; - StackPtr->Parameters.SetFile.Length = Length; - - /* - * Pass the IRP to the FSD (and wait for - * it if required) - */ - DPRINT("FileObject->DeviceObject %x\n", FileObject->DeviceObject); - Status = IoCallDriver(FileObject->DeviceObject, - Irp); - if (Status == STATUS_PENDING && (FileObject->Flags & FO_SYNCHRONOUS_IO)) - { - KeWaitForSingleObject(&FileObject->Event, - Executive, - PreviousMode, - FileObject->Flags & FO_ALERTABLE_IO, - NULL); - Status = IoStatusBlock->Status; - } + DeviceObject = FileObject->DeviceObject; - ExFreePool(SystemBuffer); + Irp = IoAllocateIrp(DeviceObject->StackSize, + TRUE); + if (Irp == NULL) + { + ObDereferenceObject(FileObject); + return STATUS_INSUFFICIENT_RESOURCES; + } - return Status; + SystemBuffer = ExAllocatePoolWithTag(NonPagedPool, + Length, + TAG_SYSB); + if (SystemBuffer == NULL) + { + IoFreeIrp(Irp); + ObDereferenceObject(FileObject); + return STATUS_INSUFFICIENT_RESOURCES; + } + + MmSafeCopyFromUser(SystemBuffer, + FileInformation, + Length); + + /* Trigger FileObject/Event dereferencing */ + Irp->Tail.Overlay.OriginalFileObject = FileObject; + Irp->RequestorMode = PreviousMode; + Irp->AssociatedIrp.SystemBuffer = SystemBuffer; + Irp->UserIosb = IoStatusBlock; + Irp->UserEvent = &FileObject->Event; + KeResetEvent(&FileObject->Event); + Irp->Tail.Overlay.Thread = PsGetCurrentThread(); + + StackPtr = IoGetNextIrpStackLocation(Irp); + StackPtr->MajorFunction = IRP_MJ_SET_INFORMATION; + StackPtr->MinorFunction = 0; + StackPtr->Flags = 0; + StackPtr->Control = 0; + StackPtr->DeviceObject = DeviceObject; + StackPtr->FileObject = FileObject; + + StackPtr->Parameters.SetFile.FileInformationClass = + FileInformationClass; + StackPtr->Parameters.SetFile.Length = Length; + + /* + * Pass the IRP to the FSD (and wait for + * it if required) + */ + DPRINT("FileObject->DeviceObject %x\n", FileObject->DeviceObject); + Status = IoCallDriver(FileObject->DeviceObject, + Irp); + if (Status == STATUS_PENDING && (FileObject->Flags & FO_SYNCHRONOUS_IO)) + { + KeWaitForSingleObject(&FileObject->Event, + Executive, + PreviousMode, + FileObject->Flags & FO_ALERTABLE_IO, + NULL); + Status = IoStatusBlock->Status; + } + + ExFreePool(SystemBuffer); + + return Status; } /*
19 years, 7 months
1
0
0
0
[ea] 14892: Some initial code for the ReactOS/VMS environment subsystem.
by ea@svn.reactos.com
Some initial code for the ReactOS/VMS environment subsystem. At present, it does nothing. I commit it to make it public (maybe somebody at freeVMS is interested in it). Added: vms/ Added: vms/include/ Added: vms/include/vms/ Added: vms/include/vms/lpcproto.h Added: vms/lib/ Added: vms/lib/vmsdll/ Added: vms/lib/vmsdll/dllmain.c Added: vms/lib/vmsdll/lib/ Added: vms/lib/vmsdll/lib/stubs.c Added: vms/lib/vmsdll/makefile Added: vms/lib/vmsdll/readme.txt Added: vms/lib/vmsdll/rms/ Added: vms/lib/vmsdll/rms/stubs.c Added: vms/lib/vmsdll/sys/ Added: vms/lib/vmsdll/sys/stubs.c Added: vms/lib/vmsdll/vmsdll.def Added: vms/lib/vmsdll/vmsdll.rc Added: vms/makefile Added: vms/server/ Added: vms/server/init.c Added: vms/server/makefile Added: vms/server/server.c Added: vms/server/vmsss.c Added: vms/server/vmsss.h Added: vms/server/vmsss.rc Added: vms/tools/ Added: vms/tools/mksystab/ Added: vms/tools/mksystab/makefile _____ Added: vms/include/vms/lpcproto.h --- vms/include/vms/lpcproto.h 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/include/vms/lpcproto.h 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,10 @@ +#ifndef __VMS_SYS_LPCPROTO_H +#define __VMS_SYS_LPCPROTO_H + +#define VMS_LPCPROTO_VERSION 1 + +#define VMS_OBNS_ROOT L"\\VMS" +#define VMS_API_PORT_NAME L"\\VMS\\ApiPort" +#define VMS_SBAPI_PORT_NAME L"\\VMS\\SbApiPort" + +#endif _____ Added: vms/lib/vmsdll/dllmain.c --- vms/lib/vmsdll/dllmain.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/dllmain.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,39 @@ +/* $Id: dllmain.c,v 1.5 2002/11/24 18:42:15 robd Exp $ + * + * dllmain.c + * + * A stub DllMain function which will be called by DLLs which do not + * have a user supplied DllMain. + * + * Contributors: + * Created by Colin Peters <colin(a)bird.fu.is.saga-u.ac.jp> + * + * THIS SOFTWARE IS NOT COPYRIGHTED + * + * This source code is offered for use in the public domain. You may + * use, modify or distribute it freely. + * + * This code is distributed in the hope that it will be useful but + * WITHOUT ANY WARRANTY. ALL WARRENTIES, EXPRESS OR IMPLIED ARE HEREBY + * DISCLAMED. This includes but is not limited to warrenties of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * $Revision: 1.5 $ + * $Author: robd $ + * $Date: 2002/11/24 18:42:15 $ + * + */ + +#include <windows.h> + + +/* LIBRARY ENTRY POINT ********************************************************/ + +BOOL +WINAPI +DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved) +{ + return TRUE; +} + +/* EOF */ _____ Added: vms/lib/vmsdll/lib/stubs.c --- vms/lib/vmsdll/lib/stubs.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/lib/stubs.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1 @@ +void lib$find_file () { } _____ Added: vms/lib/vmsdll/makefile --- vms/lib/vmsdll/makefile 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/makefile 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,44 @@ +# $Id$ +# +PATH_TO_TOP = ../../../reactos + +TARGET_TYPE = dynlink + +TARGET_NAME = vmsdll + +TARGET_CFLAGS = -Wall -Werror -fno-builtin \ + -D__USE_W32API \ + -D_WIN32_IE=0x0500 \ + -D_WIN32_WINNT=0x501 \ + -DWINVER=0x600 \ + +TARGET_LFLAGS = -nostartfiles -nostdlib + +TARGET_SDKLIBS = ntdll.a + +LIB_OBJECTS = \ + lib\stubs.o + +RMS_OBJECTS = \ + rms\stubs.o + +MISC_OBJECTS = \ + dllmain.o + +SYS_OBJECTS = \ + sys\stubs.o + +TARGET_OBJECTS = \ + $(LIB_OBJECTS) \ + $(RMS_OBJECTS) \ + $(SYS_OBJECTS) \ + $(MISC_OBJECTS) + +DEP_OBJECTS = $(TARGET_OBJECTS) + +include $(PATH_TO_TOP)/rules.mak + +include $(TOOLS_PATH)/helper.mk + +include $(TOOLS_PATH)/depend.mk + _____ Added: vms/lib/vmsdll/readme.txt --- vms/lib/vmsdll/readme.txt 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/readme.txt 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,7 @@ +VMSDLL - ReactOS VMS+ Environment Subsystem + +lib = Library APIs + +rms = Record Management Services APIs + +sys = System APIs \ No newline at end of file _____ Added: vms/lib/vmsdll/rms/stubs.c Added: vms/lib/vmsdll/sys/stubs.c --- vms/lib/vmsdll/sys/stubs.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/sys/stubs.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,30 @@ +/* $Id$ */ +void sys$ascefc (void) {} +void sys$asctim (void) {} +void sys$assign (void) {} +void sys$bintim (void) {} +void sys$clref (void) {} +void sys$crelnm (void) {} +void sys$crelnt (void) {} +void sys$dclast (void) {} +void sys$enq (void) {} +void sys$forcex (void) {} +void sys$gettim (void) {} +void sys$hiber (void) {} +void sys$numtim (void) {} +void sys$qio (void) {} +void sys$qiow (void) {} +void sys$readef (void) {} +void sys$schdwk (void) {} +void sys$setef (void) {} +void sys$setast (void) {} +void sys$setime (void) {} +void sys$setimr (void) {} +void sys$setpri (void) {} +void sys$setprn (void) {} +void sys$synch (void) {} +void sys$trnlnm (void) {} +void sys$waitfr (void) {} +void sys$wake (void) {} + +/* EOF */ _____ Added: vms/lib/vmsdll/vmsdll.def --- vms/lib/vmsdll/vmsdll.def 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/vmsdll.def 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,32 @@ +LIBRARY vmsdll.dll +EXPORTS +; LIB +lib$find_file +; SYS +sys$ascefc +sys$asctim +sys$assign +sys$bintim +sys$clref +sys$crelnm +sys$crelnt +sys$dclast +sys$enq +sys$forcex +sys$gettim +sys$hiber +sys$numtim +sys$qio +sys$qiow +sys$readef +sys$schdwk +sys$setef +sys$setast +sys$setime +sys$setimr +sys$setpri +sys$setprn +sys$synch +sys$trnlnm +sys$waitfr +sys$wake _____ Added: vms/lib/vmsdll/vmsdll.rc --- vms/lib/vmsdll/vmsdll.rc 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/lib/vmsdll/vmsdll.rc 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,4 @@ +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS/VMS API Client Library\0" +#define REACTOS_STR_INTERNAL_NAME "vmsdll\0" +#define REACTOS_STR_ORIGINAL_FILENAME "vmdsll.dll\0" +#include <reactos/version.rc> _____ Added: vms/makefile --- vms/makefile 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/makefile 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,120 @@ +# $Id$ +# +# ReactOS VMS Personality +# + +PATH_TO_TOP = ../reactos + +include $(PATH_TO_TOP)/rules.mak + +VMS_PATH = . + +VMS_OTHER = server + +VMS_TOOLS = mksystab + +VMS_LIBS = vmsdll + +VMS_APPS = # vmsw32 + +VMS_MODULES = $(VMS_OTHER) $(VMS_TOOLS) $(VMS_LIBS) $(VMS_APPS) + +all: implib $(VMS_MODULES) + +implib: $(VMS_MODULES:%=%_implib) + +clean: $(VMS_MODULES:%=%_clean) + +install: $(VMS_MODULES:%=%_install) + +.PHONY: all implib clean + + +# +# Other VMS+ Modules +# +$(VMS_OTHER): %: + make -f Makefile -C $(VMS_PATH)/$* + +$(VMS_OTHER:%=%_implib): %_implib: + make -f Makefile -C $(VMS_PATH)/$* implib + +$(VMS_OTHER:%=%_clean): %_clean: + make -f Makefile -C $(VMS_PATH)/$* clean + +$(VMS_OTHER:%=%_dist): %_dist: + make -f Makefile -C $(VMS_PATH)/$* dist + +$(VMS_OTHER:%=%_install): %_install: + make -f Makefile -C $(VMS_PATH)/$* install + +.PHONY: $(VMS_OTHER) $(VMS_OTHER:%=%_implib) $(VMS_OTHER:%=%_clean) $(VMS_OTHER:%=%_install) $(VMS_OTHER:%=%_dist) + + +# +# VMS+ Tools +# +$(VMS_TOOLS): %: + make -f Makefile -C $(VMS_PATH)/tools/$* + +$(VMS_TOOLS:%=%_implib): %_implib: + make -f Makefile -C $(VMS_PATH)/tools/$* implib + +$(VMS_TOOLS:%=%_clean): %_clean: + make -f Makefile -C $(VMS_PATH)/tools/$* clean + +$(VMS_TOOLS:%=%_dist): %_dist: + make -f Makefile -C $(VMS_PATH)/tools/$* dist + +$(VMS_TOOLS:%=%_install): %_install: + make -f Makefile -C $(VMS_PATH)/tools/$* install + +.PHONY: $(VMS_LIBS) $(VMS_LIBS:%=%_implib) $(VMS_LIBS:%=%_clean) $(VMS_LIBS:%=%_install) $(VMS_LIBS:%=%_dist) + + +# +# VMS+ DLLs +# +$(VMS_LIBS): %: + make -f Makefile -C $(VMS_PATH)/lib/$* + +$(VMS_LIBS:%=%_implib): %_implib: + make -f Makefile -C $(VMS_PATH)/lib/$* implib + +$(VMS_LIBS:%=%_clean): %_clean: + make -f Makefile -C $(VMS_PATH)/lib/$* clean + +$(VMS_LIBS:%=%_dist): %_dist: + make -f Makefile -C $(VMS_PATH)/lib/$* dist + +$(VMS_LIBS:%=%_install): %_install: + make -f Makefile -C $(VMS_PATH)/lib/$* install + +.PHONY: $(VMS_LIBS) $(VMS_LIBS:%=%_implib) $(VMS_LIBS:%=%_clean) $(VMS_LIBS:%=%_install) $(VMS_LIBS:%=%_dist) + + +# +# VMS+ Programs +# +$(VMS_APPS): %: + make -f Makefile -C $(VMS_PATH)/apps/$* + +$(VMS_APPS:%=%_implib): %_implib: + make -f Makefile -C $(VMS_PATH)/apps/$* implib + +$(VMS_APPS:%=%_clean): %_clean: + make -f Makefile -C $(VMS_PATH)/apps/$* clean + +$(VMS_APPS:%=%_dist): %_dist: + make -f Makefile -C $(VMS_PATH)/apps/$* dist + +$(VMS_APPS:%=%_install): %_install: + make -f Makefile -C $(VMS_PATH)/apps/$* install + +.PHONY: $(VMS_APPS) $(VMS_APPS:%=%_implib) $(VMS_APPS:%=%_clean) $(VMS_APPS:%=%_install) $(VMS_APPS:%=%_dist) + + +etags: + find . -name "*.[ch]" -print | etags --language=c - + +# EOF _____ Added: vms/server/init.c --- vms/server/init.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/init.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,275 @@ +/* $Id: $ + * + * init.c - VMS Enviroment Subsystem Server - Initialization + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + */ +#include "vmsss.h" + +//#define NDEBUG +#include <debug.h> + + +HANDLE VmsSbApiPort = (HANDLE) 0; // \VMS\SbApiPort +HANDLE SmCalledBack = (HANDLE) 0; // signalled when SM connects to \VMS\SbApiPort +HANDLE SmVmsSbApiPort = (HANDLE) 0; // server side (our one) port for SM conn request +HANDLE SmApiPort = (HANDLE) 0; // client side of \SmApiPort + +HANDLE VmsSessionPort = (HANDLE) 0; // pseudo terminals call here for a new session +HANDLE VmsApiPort = (HANDLE) 0; // VMS processes call here for system calls + +/********************************************************************** + * SB API Port Thread + *********************************************************************/ +static VOID STDCALL +VmsSbApiPortThread (PVOID x) +{ + HANDLE Port = (HANDLE) x; + NTSTATUS Status = STATUS_SUCCESS; + LPC_MAX_MESSAGE ConnectionRequest = {{0}}; + + DPRINT("VMS: %s: called\n", __FUNCTION__); + + Status = NtListenPort (Port, & ConnectionRequest.Header); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtListenPort failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + }else{ + DPRINT("VMS: %s received a connection request\n", __FUNCTION__); + Status = NtAcceptConnectPort (& SmVmsSbApiPort, + 0, + & ConnectionRequest.Header, + TRUE, /* accept it */ + NULL, + NULL); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtAcceptConnectPort failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + }else{ + DPRINT("VMS: %s accepted the connection request\n", __FUNCTION__); + Status = NtCompleteConnectPort (SmVmsSbApiPort); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtCompleteConnectPort failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + }else{ + DPRINT("VMS: %s completed the connection request\n", __FUNCTION__); + Status = NtSetEvent (SmCalledBack, NULL); + DPRINT("VMS: %s signalled the main thread to initialize the subsystem\n", __FUNCTION__); + DPRINT("VMS: %s enters main loop\n", __FUNCTION__); + while (TRUE) + { + } + } + } + } + NtClose (Port); + NtTerminateThread (NtCurrentThread(), Status); +} +/********************************************************************** + * API Port Thread + *********************************************************************/ +static VOID STDCALL +VmsApiPortThread (PVOID x) +{ + HANDLE Port = (HANDLE) x; + NTSTATUS Status = STATUS_SUCCESS; + + DPRINT("VMS: %s: called\n", __FUNCTION__); + while (TRUE) + { + } + NtClose (Port); + NtTerminateThread (NtCurrentThread(), Status); +} + +/********************************************************************** + * NAME PRIVATE + * VmspCreateObDirectory/1 + */ +static NTSTATUS FASTCALL +VmspCreateObDirectory (PWSTR DirectoryName) +{ + UNICODE_STRING usDirectoryName = {0}; + OBJECT_ATTRIBUTES DirectoryAttributes = {0}; + NTSTATUS Status = STATUS_SUCCESS; + HANDLE hDirectory = (HANDLE) 0; + + DPRINT("VMS: %s called\n", __FUNCTION__); + + RtlInitUnicodeString (& usDirectoryName, + DirectoryName); + InitializeObjectAttributes (& DirectoryAttributes, + & usDirectoryName, + 0, NULL, NULL); + Status = NtCreateDirectoryObject (& hDirectory, + DIRECTORY_CREATE_SUBDIRECTORY, + & DirectoryAttributes); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtCreateDirectoryObject failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + return Status; + } + NtClose (hDirectory); + return STATUS_SUCCESS; +} + +/********************************************************************** + * NAME PRIVATE + * VmspCreatePort/1 + */ +static NTSTATUS STDCALL +VmspCreatePort (IN OUT PHANDLE pPortHandle, + IN PWSTR PortName, + IN ULONG MaxDataSize, + IN ULONG MaxMessageSize, + IN PTHREAD_START_ROUTINE ListeningThread) +{ + UNICODE_STRING usPortName = {0}; + OBJECT_ATTRIBUTES PortAttributes = {0}; + NTSTATUS Status = STATUS_SUCCESS; + + DPRINT("VMS: %s called\n", __FUNCTION__); + + if(NULL == ListeningThread) + { + return STATUS_INVALID_PARAMETER; + } + + RtlInitUnicodeString (& usPortName, PortName); + Status = NtCreatePort (pPortHandle, + & PortAttributes, + MaxDataSize, + MaxMessageSize, + 0); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtCreatePort failed (Status=0x%08lx)\n", __FUNCTION__, Status); + return Status; + } + Status = RtlCreateUserThread (NtCurrentProcess(), + NULL, + FALSE, + 0, 0, 0, + ListeningThread, + pPortHandle, + NULL, NULL); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: RtlCreateUserThread failed (Status=0x%08lx)\n", __FUNCTION__, Status); + return Status; + } + return Status; +} + +/********************************************************************** + * VmsInitializeServer/0 + */ +NTSTATUS +VmsInitializeServer(VOID) +{ + NTSTATUS Status = STATUS_SUCCESS; + WCHAR NameBuffer [32]; + + DPRINT("VMS: %s called\n", __FUNCTION__); + + /* Create the \VMS directory */ + wcscpy (NameBuffer, L"\\VMS"); + Status = VmspCreateObDirectory (NameBuffer); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: VmspCreateObDirectory failed!\n", __FUNCTION__); + }else{ + /* Create the \VMS\SbApiPort port */ + wcscat (NameBuffer, L"\\SbApiPort"); + Status = VmspCreatePort (& VmsSbApiPort, + NameBuffer, + 0x104, + 0x148, + VmsSbApiPortThread); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS %s: VmspCreatePort failed (Status=%08lx)\n", + __FUNCTION__, Status); + return Status; + }else{ + OBJECT_ATTRIBUTES EventAttributes; + + InitializeObjectAttributes (& EventAttributes, + NULL, + 0, + NULL, + NULL); + Status = NtCreateEvent (& SmCalledBack, + EVENT_ALL_ACCESS, + & EventAttributes, + SynchronizationEvent, + FALSE); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: NtCreateEvent failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + return Status; + }else{ + UNICODE_STRING VmsSbApiPortName; + + RtlInitUnicodeString (& VmsSbApiPortName, NameBuffer); + Status = SmConnectApiPort (& VmsSbApiPortName, + VmsSbApiPort, + 77, /* VMS CUI */ + & SmApiPort); + if(!NT_SUCCESS(Status)) + { + DPRINT("VMS: %s: SmConnectApiPort failed (Status=0x%08lx)\n", + __FUNCTION__, Status); + return Status; + }else{ + Status = NtWaitForSingleObject (SmCalledBack, + FALSE, + INFINITE); + /* OK initialize the VMS subsystem */ + wcscpy (& NameBuffer[4], L"\\ApiPort"); + Status = VmspCreatePort (& VmsApiPort, + NameBuffer, + 0x104, + 0x148, + VmsApiPortThread); + /* TODO */ + + wcscpy (& NameBuffer[4], L"\\Session"); + Status = VmspCreateObDirectory (NameBuffer); + /* TODO */ + + Status = SmCompleteSession (SmApiPort, + VmsSbApiPort, + VmsApiPort); + } + } + } + } + return STATUS_SUCCESS; +} + +/* EOF */ _____ Added: vms/server/makefile --- vms/server/makefile 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/makefile 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,24 @@ +# $Id: $ +# +# ReactOS VMS+ Environment Subsystem Server +# + +PATH_TO_TOP = ../../reactos + +TARGET_TYPE = program + +TARGET_APPTYPE = native + +TARGET_NAME = vmsss + +TARGET_SDKLIBS = ntdll.a smdll.a + +TARGET_CFLAGS = -Iinclude -I../include + +TARGET_OBJECTS = vmsss.o init.o server.o + +include $(PATH_TO_TOP)/rules.mak + +include $(TOOLS_PATH)/helper.mk + +# EOF _____ Added: vms/server/server.c --- vms/server/server.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/server.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,68 @@ +/* $Id: $ + * + * init.c - VMS Enviroment Subsystem Server - Initialization + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + */ +#define __USE_NT_LPC__ +#include "vmsss.h" + +//#define NDEBUG +#include <debug.h> + + +/********************************************************************** + * NAME PRIVATE + * VmspCreatePort/1 + */ +NTSTATUS VmsRunServer (VOID) +{ + NTSTATUS Status = STATUS_SUCCESS; + LPC_MAX_MESSAGE Request; + PLPC_MESSAGE Reply = NULL; + ULONG MessageType = 0; + + while (TRUE) + { + Status = NtReplyWaitReceivePort (VmsApiPort, + 0, + Reply, + & Request); + if(NT_SUCCESS(Status)) + { + MessageType = PORT_MESSAGE_TYPE(Request); + DPRINT("VMS: %s received a message (Type=%d)\n", + __FUNCTION__, MessageType); + switch(MessageType) + { + default: + continue; + } + }else{ + DPRINT("VMS: %s: NtReplyWaitReceivePort failed (Status=%08lx)\n", + __FUNCTION__, Status); + } + } + return Status; +} + +/* EOF */ _____ Added: vms/server/vmsss.c --- vms/server/vmsss.c 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/vmsss.c 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,46 @@ +/* $Id: $ + * + * vmsss.c - VMS Enviroment Subsystem Server + * + * ReactOS Operating System + * + * -------------------------------------------------------------------- + * + * This software is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This software is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING.LIB. If not, write + * to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, + * MA 02139, USA. + * + * -------------------------------------------------------------------- + */ +#include "vmsss.h" + +#define NDEBUG +#include <debug.h> + +/* Native image's entry point */ + +VOID STDCALL +NtProcessStartup(PPEB Peb) +{ + NTSTATUS Status = STATUS_SUCCESS; + + Status = VmsInitializeServer(); + if(STATUS_SUCCESS != Status) + { + DPRINT("VMS: VmsInitializeServer failed! Aborting. (Status=%lx)\n", Status); + } + Status = VmsRunServer(); + NtTerminateProcess(NtCurrentProcess(),Status); +} +/* EOF */ _____ Added: vms/server/vmsss.h --- vms/server/vmsss.h 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/vmsss.h 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,15 @@ +#ifndef _VMSSS_H_INCLUDED_ +#define _VMSSS_H_INCLUDED_ + +#define NTOS_MODE_USER +#include <ntos.h> +#include <sm/helper.h> + +/* init.c */ +extern HANDLE VmsApiPort; +NTSTATUS VmsInitializeServer(VOID); + +/* server.c */ +NTSTATUS VmsRunServer(VOID); + +#endif /* ndef _VMSSS_H_INCLUDED_ */ _____ Added: vms/server/vmsss.rc --- vms/server/vmsss.rc 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/server/vmsss.rc 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,4 @@ +#define REACTOS_STR_FILE_DESCRIPTION "ReactOS/VMS Environment Subsystem Server\0" +#define REACTOS_STR_INTERNAL_NAME "vmsss\0" +#define REACTOS_STR_ORIGINAL_FILENAME "vmsss.exe\0" +#include <reactos/version.rc> _____ Added: vms/tools/mksystab/makefile --- vms/tools/mksystab/makefile 2005-04-30 21:11:34 UTC (rev 14891) +++ vms/tools/mksystab/makefile 2005-04-30 21:11:39 UTC (rev 14892) @@ -0,0 +1,5 @@ +all: implib + +implib: + +clean:
19 years, 7 months
1
0
0
0
[fireball] 14891: Fixed RegEnumValueA/W behaviour when output buffers are too small. This fixes 20+ tests from "advapi32_test registry" (now it has only 2 failures - but that's a reduced tests set!).
by fireball@svn.reactos.com
Fixed RegEnumValueA/W behaviour when output buffers are too small. This fixes 20+ tests from "advapi32_test registry" (now it has only 2 failures - but that's a reduced tests set!). I beg my pardon for reformatting these two funcs and fixing bugs in one commit, I will do it in different commits in the future. Modified: trunk/reactos/lib/advapi32/reg/reg.c _____ Modified: trunk/reactos/lib/advapi32/reg/reg.c --- trunk/reactos/lib/advapi32/reg/reg.c 2005-04-30 21:07:32 UTC (rev 14890) +++ trunk/reactos/lib/advapi32/reg/reg.c 2005-04-30 21:11:34 UTC (rev 14891) @@ -850,166 +850,163 @@ LPDWORD lpcbClass, PFILETIME lpftLastWriteTime) { - union - { - KEY_NODE_INFORMATION Node; - KEY_BASIC_INFORMATION Basic; - } *KeyInfo; + union + { + KEY_NODE_INFORMATION Node; + KEY_BASIC_INFORMATION Basic; + } *KeyInfo; - UNICODE_STRING StringU; - ANSI_STRING StringA; - LONG ErrorCode = ERROR_SUCCESS; - DWORD NameLength; - DWORD ClassLength = 0; - DWORD BufferSize; - DWORD ResultSize; - HANDLE KeyHandle; - NTSTATUS Status; + UNICODE_STRING StringU; + ANSI_STRING StringA; + LONG ErrorCode = ERROR_SUCCESS; + DWORD NameLength; + DWORD ClassLength = 0; + DWORD BufferSize; + DWORD ResultSize; + HANDLE KeyHandle; + NTSTATUS Status; - DPRINT("RegEnumKeyExA(hKey 0x%x, dwIndex %d, lpName 0x%x, *lpcbName %d, lpClass 0x%x, lpcbClass %d)\n", - hKey, dwIndex, lpName, *lpcbName, lpClass, lpcbClass ? *lpcbClass : 0); + DPRINT("RegEnumKeyExA(hKey 0x%x, dwIndex %d, lpName 0x%x, *lpcbName %d, lpClass 0x%x, lpcbClass %d)\n", + hKey, dwIndex, lpName, *lpcbName, lpClass, lpcbClass ? *lpcbClass : 0); - if ((lpClass) && (!lpcbClass)) - { - SetLastError (ERROR_INVALID_PARAMETER); - return ERROR_INVALID_PARAMETER; - } + if ((lpClass) && (!lpcbClass)) + { + SetLastError (ERROR_INVALID_PARAMETER); + return ERROR_INVALID_PARAMETER; + } - Status = MapDefaultKey(&KeyHandle, - hKey); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - SetLastError (ErrorCode); - return ErrorCode; - } + Status = MapDefaultKey(&KeyHandle, hKey); + if (!NT_SUCCESS(Status)) + { + ErrorCode = RtlNtStatusToDosError (Status); + SetLastError (ErrorCode); + return ErrorCode; + } - if (*lpcbName > 0) - { - NameLength = min (*lpcbName - 1 , REG_MAX_NAME_SIZE) * sizeof (WCHAR); - } - else - { - NameLength = 0; - } - - if (lpClass) - { - if (*lpcbClass > 0) + if (*lpcbName > 0) { - ClassLength = min (*lpcbClass -1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); + NameLength = min (*lpcbName - 1 , REG_MAX_NAME_SIZE) * sizeof (WCHAR); } - else + else { - ClassLength = 0; + NameLength = 0; } - /* The class name should start at a dword boundary */ - BufferSize = ((sizeof(KEY_NODE_INFORMATION) + NameLength + 3) & ~3) + ClassLength; - } - else - { - BufferSize = sizeof(KEY_BASIC_INFORMATION) + NameLength; - } + if (lpClass) + { + if (*lpcbClass > 0) + { + ClassLength = min (*lpcbClass -1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); + } + else + { + ClassLength = 0; + } - KeyInfo = RtlAllocateHeap (ProcessHeap, - 0, - BufferSize); - if (KeyInfo == NULL) - { - SetLastError (ERROR_OUTOFMEMORY); - return ERROR_OUTOFMEMORY; - } - - Status = NtEnumerateKey (KeyHandle, - (ULONG)dwIndex, - lpClass == NULL ? KeyBasicInformation : KeyNodeInformation, - KeyInfo, - BufferSize, - &ResultSize); - DPRINT("NtEnumerateKey() returned status 0x%X\n", Status); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - } - else - { - if (lpClass == NULL) + /* The class name should start at a dword boundary */ + BufferSize = ((sizeof(KEY_NODE_INFORMATION) + NameLength + 3) & ~3) + ClassLength; + } + else { - if (KeyInfo->Basic.NameLength > NameLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - StringU.Buffer = KeyInfo->Basic.Name; - StringU.Length = KeyInfo->Basic.NameLength; - StringU.MaximumLength = KeyInfo->Basic.NameLength; - } + BufferSize = sizeof(KEY_BASIC_INFORMATION) + NameLength; } - else + + KeyInfo = RtlAllocateHeap (ProcessHeap, 0, BufferSize); + if (KeyInfo == NULL) { - if (KeyInfo->Node.NameLength > NameLength || - KeyInfo->Node.ClassLength > ClassLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - StringA.Buffer = lpClass; - StringA.Length = 0; - StringA.MaximumLength = *lpcbClass; - StringU.Buffer = (PWCHAR)((ULONG_PTR)KeyInfo->Node.Name + KeyInfo->Node.ClassOffset); - StringU.Length = KeyInfo->Node.ClassLength; - StringU.MaximumLength = KeyInfo->Node.ClassLength; - RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); - lpClass[StringA.Length] = 0; - *lpcbClass = StringA.Length; - StringU.Buffer = KeyInfo->Node.Name; - StringU.Length = KeyInfo->Node.NameLength; - StringU.MaximumLength = KeyInfo->Node.NameLength; - } + SetLastError (ERROR_OUTOFMEMORY); + return ERROR_OUTOFMEMORY; } - if (ErrorCode == ERROR_SUCCESS) + Status = NtEnumerateKey (KeyHandle, + (ULONG)dwIndex, + lpClass == NULL ? KeyBasicInformation : KeyNodeInformation, + KeyInfo, + BufferSize, + &ResultSize); + DPRINT("NtEnumerateKey() returned status 0x%X\n", Status); + if (!NT_SUCCESS(Status)) { - StringA.Buffer = lpName; - StringA.Length = 0; - StringA.MaximumLength = *lpcbName; - RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); - lpName[StringA.Length] = 0; - *lpcbName = StringA.Length; - if (lpftLastWriteTime != NULL) - { - if (lpClass == NULL) + ErrorCode = RtlNtStatusToDosError (Status); + } + else + { + if (lpClass == NULL) { - lpftLastWriteTime->dwLowDateTime = KeyInfo->Basic.LastWriteTime.u.LowPart; - lpftLastWriteTime->dwHighDateTime = KeyInfo->Basic.LastWriteTime.u.HighPart; + if (KeyInfo->Basic.NameLength > NameLength) + { + ErrorCode = ERROR_BUFFER_OVERFLOW; + } + else + { + StringU.Buffer = KeyInfo->Basic.Name; + StringU.Length = KeyInfo->Basic.NameLength; + StringU.MaximumLength = KeyInfo->Basic.NameLength; + } } - else + else { - lpftLastWriteTime->dwLowDateTime = KeyInfo->Node.LastWriteTime.u.LowPart; - lpftLastWriteTime->dwHighDateTime = KeyInfo->Node.LastWriteTime.u.HighPart; + if (KeyInfo->Node.NameLength > NameLength || + KeyInfo->Node.ClassLength > ClassLength) + { + ErrorCode = ERROR_BUFFER_OVERFLOW; + } + else + { + StringA.Buffer = lpClass; + StringA.Length = 0; + StringA.MaximumLength = *lpcbClass; + StringU.Buffer = (PWCHAR)((ULONG_PTR)KeyInfo->Node.Name + KeyInfo->Node.ClassOffset); + StringU.Length = KeyInfo->Node.ClassLength; + StringU.MaximumLength = KeyInfo->Node.ClassLength; + RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); + lpClass[StringA.Length] = 0; + *lpcbClass = StringA.Length; + StringU.Buffer = KeyInfo->Node.Name; + StringU.Length = KeyInfo->Node.NameLength; + StringU.MaximumLength = KeyInfo->Node.NameLength; + } } - } + + if (ErrorCode == ERROR_SUCCESS) + { + StringA.Buffer = lpName; + StringA.Length = 0; + StringA.MaximumLength = *lpcbName; + RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); + lpName[StringA.Length] = 0; + *lpcbName = StringA.Length; + if (lpftLastWriteTime != NULL) + { + if (lpClass == NULL) + { + lpftLastWriteTime->dwLowDateTime = KeyInfo->Basic.LastWriteTime.u.LowPart; + lpftLastWriteTime->dwHighDateTime = KeyInfo->Basic.LastWriteTime.u.HighPart; + } + else + { + lpftLastWriteTime->dwLowDateTime = KeyInfo->Node.LastWriteTime.u.LowPart; + lpftLastWriteTime->dwHighDateTime = KeyInfo->Node.LastWriteTime.u.HighPart; + } + } + } } - } - DPRINT("Key Namea0 Length %d\n", StringU.Length); - DPRINT("Key Namea1 Length %d\n", NameLength); - DPRINT("Key Namea Length %d\n", *lpcbName); - DPRINT("Key Namea %s\n", lpName); + DPRINT("Key Namea0 Length %d\n", StringU.Length); + DPRINT("Key Namea1 Length %d\n", NameLength); + DPRINT("Key Namea Length %d\n", *lpcbName); + DPRINT("Key Namea %s\n", lpName); - RtlFreeHeap (ProcessHeap, - 0, - KeyInfo); + RtlFreeHeap (ProcessHeap, + 0, + KeyInfo); - if (ErrorCode != ERROR_SUCCESS) - { - SetLastError(ErrorCode); - } + if (ErrorCode != ERROR_SUCCESS) + { + SetLastError(ErrorCode); + } - return ErrorCode; + return ErrorCode; } @@ -1174,161 +1171,222 @@ RegEnumValueA (HKEY hKey, DWORD dwIndex, LPSTR lpValueName, - LPDWORD lpcbValueName, + LPDWORD lpcbValueName, // lpValueName buffer len LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, - LPDWORD lpcbData) + LPDWORD lpcbData) // lpData buffer len { - union - { - KEY_VALUE_FULL_INFORMATION Full; - KEY_VALUE_BASIC_INFORMATION Basic; - } *ValueInfo; + union + { + KEY_VALUE_FULL_INFORMATION Full; + KEY_VALUE_BASIC_INFORMATION Basic; + } *ValueInfo; - ULONG NameLength; - ULONG BufferSize; - ULONG DataLength = 0; - ULONG ResultSize; - HANDLE KeyHandle; - LONG ErrorCode; - NTSTATUS Status; - UNICODE_STRING StringU; - ANSI_STRING StringA; - BOOL IsStringType; + ULONG NameLength; + ULONG BufferSize; + ULONG DataLength = 0; + ULONG ResultSize; + HANDLE KeyHandle; + LONG ErrorCode; + NTSTATUS Status; + UNICODE_STRING StringU; + ANSI_STRING StringA; + BOOL IsStringType; - ErrorCode = ERROR_SUCCESS; + ErrorCode = ERROR_SUCCESS; - Status = MapDefaultKey (&KeyHandle, - hKey); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - SetLastError (ErrorCode); - return ErrorCode; - } + Status = MapDefaultKey (&KeyHandle, hKey); + if (!NT_SUCCESS(Status)) + { + ErrorCode = RtlNtStatusToDosError (Status); + SetLastError (ErrorCode); + return ErrorCode; + } - if (*lpcbValueName > 0) - { - NameLength = min (*lpcbValueName - 1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); - } - else - { - NameLength = 0; - } + if (*lpcbValueName > 0) + NameLength = min (*lpcbValueName - 1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); + else + NameLength = 0; - if (lpData) - { - DataLength = min (*lpcbData * sizeof(WCHAR), REG_MAX_DATA_SIZE); - BufferSize = ((sizeof(KEY_VALUE_FULL_INFORMATION) + NameLength + 3) & ~3) + DataLength; - } - else - { - BufferSize = sizeof(KEY_VALUE_BASIC_INFORMATION) + NameLength; - } + if (lpData) + { + DataLength = min (*lpcbData * sizeof(WCHAR), REG_MAX_DATA_SIZE); + BufferSize = ((sizeof(KEY_VALUE_FULL_INFORMATION) + NameLength + 3) & ~3) + DataLength; + } + else + { + BufferSize = sizeof(KEY_VALUE_BASIC_INFORMATION) + NameLength; + } - ValueInfo = RtlAllocateHeap (ProcessHeap, - 0, - BufferSize); - if (ValueInfo == NULL) - { - SetLastError(ERROR_OUTOFMEMORY); - return ERROR_OUTOFMEMORY; - } + ValueInfo = RtlAllocateHeap (ProcessHeap, 0, BufferSize); + if (ValueInfo == NULL) + { + SetLastError(ERROR_OUTOFMEMORY); + return ERROR_OUTOFMEMORY; + } - Status = NtEnumerateValueKey (KeyHandle, - (ULONG)dwIndex, - lpData ? KeyValueFullInformation : KeyValueBasicInformation, - ValueInfo, - BufferSize, - &ResultSize); + Status = NtEnumerateValueKey (KeyHandle, + (ULONG)dwIndex, + lpData ? KeyValueFullInformation : KeyValueBasicInformation, + ValueInfo, + BufferSize, + &ResultSize); - DPRINT("NtEnumerateValueKey() returned status 0x%X\n", Status); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - } - else - { - if (lpData) - { - IsStringType = (ValueInfo->Full.Type == REG_SZ) || - (ValueInfo->Full.Type == REG_MULTI_SZ) || - (ValueInfo->Full.Type == REG_EXPAND_SZ); - if (ValueInfo->Full.NameLength > NameLength || - (!IsStringType && ValueInfo->Full.DataLength > *lpcbData) || - ValueInfo->Full.DataLength > DataLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - if (IsStringType) - { - StringU.Buffer = (PWCHAR)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset); - StringU.Length = ValueInfo->Full.DataLength; - StringU.MaximumLength = DataLength; - StringA.Buffer = (PCHAR)lpData; - StringA.Length = 0; - StringA.MaximumLength = *lpcbData; - RtlUnicodeStringToAnsiString (&StringA, - &StringU, - FALSE); - *lpcbData = StringA.Length; - } - else + DPRINT("NtEnumerateValueKey() returned status 0x%X\n", Status); + if (!NT_SUCCESS(Status)) + { + ErrorCode = RtlNtStatusToDosError (Status); + + // handle case when BufferSize was too small + // we must let caller know the minimum accepted size + // and value type + if (Status == STATUS_BUFFER_OVERFLOW || Status == STATUS_BUFFER_TOO_SMALL) { - RtlCopyMemory (lpData, - (PVOID)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset), - ValueInfo->Full.DataLength); - *lpcbData = ValueInfo->Full.DataLength; + ErrorCode = ERROR_MORE_DATA; + + // query now with the sufficient buffer size + RtlFreeHeap (ProcessHeap, 0, ValueInfo); + BufferSize = ResultSize; + ValueInfo = RtlAllocateHeap (ProcessHeap, 0, BufferSize); // will be freed at the bottom, as usual + if (ValueInfo == NULL) + { + SetLastError(ERROR_OUTOFMEMORY); + return ERROR_OUTOFMEMORY; + } + + Status = NtEnumerateValueKey (KeyHandle, + (ULONG)dwIndex, + lpData ? KeyValueFullInformation : KeyValueBasicInformation, + ValueInfo, + BufferSize, + &ResultSize); + if (!NT_SUCCESS(Status)) + { + // ok, some other error + ErrorCode = RtlNtStatusToDosError (Status); + } + else + { + // we have information now, pass it to the caller + // but don't touch valueName length here + IsStringType = (ValueInfo->Full.Type == REG_SZ) || + (ValueInfo->Full.Type == REG_MULTI_SZ) || + (ValueInfo->Full.Type == REG_EXPAND_SZ); //FIXME: Include REG_LINK ? + + if (lpData) + { + if (lpcbData) + { + if (IsStringType) + *lpcbData = ValueInfo->Full.DataLength / sizeof(WCHAR); + else + *lpcbData = ValueInfo->Full.DataLength; + } + } + + // pass type also + if (lpType) + *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; + } } - - StringU.Buffer = ValueInfo->Full.Name; - StringU.Length = ValueInfo->Full.NameLength; - StringU.MaximumLength = NameLength; - } } - else + else { - if (ValueInfo->Basic.NameLength > NameLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - StringU.Buffer = ValueInfo->Basic.Name; - StringU.Length = ValueInfo->Basic.NameLength; - StringU.MaximumLength = NameLength; - } - } + if (lpData) + { + IsStringType = (ValueInfo->Full.Type == REG_SZ) || + (ValueInfo->Full.Type == REG_MULTI_SZ) || + (ValueInfo->Full.Type == REG_EXPAND_SZ); + if (ValueInfo->Full.NameLength > NameLength || + (!IsStringType && ValueInfo->Full.DataLength > *lpcbData) || + ValueInfo->Full.DataLength > DataLength) + { + // overflow data + ErrorCode = ERROR_MORE_DATA; - if (ErrorCode == ERROR_SUCCESS) - { - StringA.Buffer = (PCHAR)lpValueName; - StringA.Length = 0; - StringA.MaximumLength = *lpcbValueName; - RtlUnicodeStringToAnsiString (&StringA, - &StringU, - FALSE); - StringA.Buffer[StringA.Length] = 0; - *lpcbValueName = StringA.Length; - if (lpType) - { - *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; - } + // return correct information for data length and type + if (lpcbData) + { + if (IsStringType) + *lpcbData = ValueInfo->Full.DataLength / sizeof(WCHAR); + else + *lpcbData = ValueInfo->Full.DataLength; + } + + if (lpType) + *lpType = ValueInfo->Full.Type; + } + else + { + if (IsStringType) + { + StringU.Buffer = (PWCHAR)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset); + StringU.Length = ValueInfo->Full.DataLength; + StringU.MaximumLength = DataLength; + StringA.Buffer = (PCHAR)lpData; + StringA.Length = 0; + StringA.MaximumLength = *lpcbData; + RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); + *lpcbData = StringA.Length; + } + else + { + RtlCopyMemory (lpData, + (PVOID)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset), + ValueInfo->Full.DataLength); + *lpcbData = ValueInfo->Full.DataLength; + } + + StringU.Buffer = ValueInfo->Full.Name; + StringU.Length = ValueInfo->Full.NameLength; + StringU.MaximumLength = NameLength; + } + } + else + { + if (ValueInfo->Basic.NameLength > NameLength) + { + // overflow name + ErrorCode = ERROR_MORE_DATA; + + if (IsStringType) + *lpcbData = ValueInfo->Full.DataLength / sizeof(WCHAR); + else + *lpcbData = ValueInfo->Full.DataLength; + + if (lpType) + *lpType = ValueInfo->Basic.Type; + } + else + { + StringU.Buffer = ValueInfo->Basic.Name; + StringU.Length = ValueInfo->Basic.NameLength; + StringU.MaximumLength = NameLength; + } + } + + if (ErrorCode == ERROR_SUCCESS) + { + StringA.Buffer = (PCHAR)lpValueName; + StringA.Length = 0; + StringA.MaximumLength = *lpcbValueName; + RtlUnicodeStringToAnsiString (&StringA, &StringU, FALSE); + StringA.Buffer[StringA.Length] = 0; + *lpcbValueName = StringA.Length; + if (lpType) + { + *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; + } + } } - } - RtlFreeHeap (ProcessHeap, - 0, - ValueInfo); - if (ErrorCode != ERROR_SUCCESS) - { - SetLastError(ErrorCode); - } + RtlFreeHeap (ProcessHeap, 0, ValueInfo); - return ErrorCode; + if (ErrorCode != ERROR_SUCCESS) + SetLastError(ErrorCode); + + return ErrorCode; } @@ -1347,127 +1405,170 @@ LPBYTE lpData, LPDWORD lpcbData) { - union - { - KEY_VALUE_FULL_INFORMATION Full; - KEY_VALUE_BASIC_INFORMATION Basic; - } *ValueInfo; + union + { + KEY_VALUE_FULL_INFORMATION Full; + KEY_VALUE_BASIC_INFORMATION Basic; + } *ValueInfo; - ULONG NameLength; - ULONG BufferSize; - ULONG DataLength = 0; - ULONG ResultSize; - HANDLE KeyHandle; - LONG ErrorCode; - NTSTATUS Status; + ULONG NameLength; + ULONG BufferSize; + ULONG DataLength = 0; + ULONG ResultSize; + HANDLE KeyHandle; + LONG ErrorCode; + NTSTATUS Status; - ErrorCode = ERROR_SUCCESS; + ErrorCode = ERROR_SUCCESS; - Status = MapDefaultKey (&KeyHandle, - hKey); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - SetLastError (ErrorCode); - return ErrorCode; - } + Status = MapDefaultKey (&KeyHandle, hKey); + if (!NT_SUCCESS(Status)) + { + ErrorCode = RtlNtStatusToDosError (Status); + SetLastError (ErrorCode); + return ErrorCode; + } - if (*lpcbValueName > 0) - { - NameLength = min (*lpcbValueName - 1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); - } - else - { - NameLength = 0; - } + if (*lpcbValueName > 0) + NameLength = min (*lpcbValueName - 1, REG_MAX_NAME_SIZE) * sizeof(WCHAR); + else + NameLength = 0; - if (lpData) - { - DataLength = min(*lpcbData, REG_MAX_DATA_SIZE); - BufferSize = ((sizeof(KEY_VALUE_FULL_INFORMATION) + NameLength + 3) & ~3) + DataLength; - } - else - { - BufferSize = sizeof(KEY_VALUE_BASIC_INFORMATION) + NameLength; - } - ValueInfo = RtlAllocateHeap (ProcessHeap, - 0, - BufferSize); - if (ValueInfo == NULL) - { - SetLastError (ERROR_OUTOFMEMORY); - return ERROR_OUTOFMEMORY; - } - Status = NtEnumerateValueKey (KeyHandle, - (ULONG)dwIndex, - lpData ? KeyValueFullInformation : KeyValueBasicInformation, - ValueInfo, - BufferSize, - &ResultSize); - - DPRINT("NtEnumerateValueKey() returned status 0x%X\n", Status); - if (!NT_SUCCESS(Status)) - { - ErrorCode = RtlNtStatusToDosError (Status); - } - else - { - if (lpData) + if (lpData) { - if (ValueInfo->Full.DataLength > DataLength || - ValueInfo->Full.NameLength > NameLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - RtlCopyMemory (lpValueName, - ValueInfo->Full.Name, - ValueInfo->Full.NameLength); - *lpcbValueName = (DWORD)(ValueInfo->Full.NameLength / sizeof(WCHAR)); - lpValueName[*lpcbValueName] = 0; - RtlCopyMemory (lpData, - (PVOID)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset), - ValueInfo->Full.DataLength); - *lpcbData = (DWORD)ValueInfo->Full.DataLength; - } + DataLength = min(*lpcbData, REG_MAX_DATA_SIZE); + BufferSize = ((sizeof(KEY_VALUE_FULL_INFORMATION) + NameLength + 3) & ~3) + DataLength; } - else + else { - if (ValueInfo->Basic.NameLength > NameLength) - { - ErrorCode = ERROR_BUFFER_OVERFLOW; - } - else - { - RtlCopyMemory (lpValueName, - ValueInfo->Basic.Name, - ValueInfo->Basic.NameLength); - *lpcbValueName = (DWORD)(ValueInfo->Basic.NameLength / sizeof(WCHAR)); - lpValueName[*lpcbValueName] = 0; - } - if (NULL != lpcbData) - { - *lpcbData = (DWORD)ValueInfo->Full.DataLength; - } + BufferSize = sizeof(KEY_VALUE_BASIC_INFORMATION) + NameLength; } + ValueInfo = RtlAllocateHeap (ProcessHeap, 0, BufferSize); + if (ValueInfo == NULL) + { + SetLastError (ERROR_OUTOFMEMORY); + return ERROR_OUTOFMEMORY; + } + Status = NtEnumerateValueKey (KeyHandle, + (ULONG)dwIndex, + lpData ? KeyValueFullInformation : KeyValueBasicInformation, + ValueInfo, + BufferSize, + &ResultSize); - if (ErrorCode == ERROR_SUCCESS && lpType != NULL) + DPRINT("NtEnumerateValueKey() returned status 0x%X\n", Status); + if (!NT_SUCCESS(Status)) { - *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; + ErrorCode = RtlNtStatusToDosError (Status); + + // handle case when BufferSize was too small + // we must let caller know the minimum accepted size + // and value type + if (Status == STATUS_BUFFER_OVERFLOW || Status == STATUS_BUFFER_TOO_SMALL) + { + ErrorCode = ERROR_MORE_DATA; + + // query now with the sufficient buffer size + RtlFreeHeap (ProcessHeap, 0, ValueInfo); + BufferSize = ResultSize; + ValueInfo = RtlAllocateHeap (ProcessHeap, 0, BufferSize); // will be freed at the bottom, as usual + if (ValueInfo == NULL) + { + SetLastError(ERROR_OUTOFMEMORY); + return ERROR_OUTOFMEMORY; + } + + Status = NtEnumerateValueKey (KeyHandle, + (ULONG)dwIndex, + lpData ? KeyValueFullInformation : KeyValueBasicInformation, + ValueInfo, + BufferSize, + &ResultSize); + if (!NT_SUCCESS(Status)) + { + // ok, some other error + ErrorCode = RtlNtStatusToDosError (Status); + } + else + { + // we have information now, pass it to the caller + // but don't touch valueName length here + if (lpData && lpcbData) + *lpcbData = ValueInfo->Full.DataLength; + + // pass type also + if (lpType) + *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; + } + } } - } + else + { + if (lpData) + { + if (ValueInfo->Full.DataLength > DataLength || + ValueInfo->Full.NameLength > NameLength) + { + // overflow data + ErrorCode = ERROR_MORE_DATA; - RtlFreeHeap (ProcessHeap, - 0, - ValueInfo); + // return correct information for data length and type + if (lpcbData) + *lpcbData = ValueInfo->Full.DataLength; - if (ErrorCode != ERROR_SUCCESS) - { - SetLastError (ErrorCode); - } + if (lpType) + *lpType = ValueInfo->Full.Type; + } + else + { + RtlCopyMemory (lpValueName, ValueInfo->Full.Name, ValueInfo->Full.NameLength); + *lpcbValueName = (DWORD)(ValueInfo->Full.NameLength / sizeof(WCHAR)); + lpValueName[*lpcbValueName] = 0; + RtlCopyMemory (lpData, + (PVOID)((ULONG_PTR)ValueInfo + ValueInfo->Full.DataOffset), + ValueInfo->Full.DataLength); + *lpcbData = (DWORD)ValueInfo->Full.DataLength; + } + } + else + { + if (ValueInfo->Basic.NameLength > NameLength) + { + // overflow name + ErrorCode = ERROR_MORE_DATA; - return ErrorCode; + if (lpcbData) + *lpcbData = ValueInfo->Full.DataLength; + + if (lpType) + *lpType = ValueInfo->Basic.Type; + } + else + { + RtlCopyMemory (lpValueName, ValueInfo->Basic.Name, ValueInfo->Basic.NameLength); + *lpcbValueName = (DWORD)(ValueInfo->Basic.NameLength / sizeof(WCHAR)); + lpValueName[*lpcbValueName] = 0; + } + + if (NULL != lpcbData) + { + *lpcbData = (DWORD)ValueInfo->Full.DataLength; + DPRINT1("BUG: Using ValueInfo as FULL when it is really BASIC\n"); + } + } + + if (ErrorCode == ERROR_SUCCESS && lpType != NULL) + { + *lpType = lpData ? ValueInfo->Full.Type : ValueInfo->Basic.Type; + } + } + + RtlFreeHeap (ProcessHeap, 0, ValueInfo); + + if (ErrorCode != ERROR_SUCCESS) + SetLastError (ErrorCode); + + return ErrorCode; } @@ -1741,7 +1842,7 @@ { ErrorCode = RtlNtStatusToDosError (Status); SetLastError (ErrorCode); - return ErrorCode; + return Status; } RtlCreateUnicodeStringFromAsciiz (&SubKeyString, @@ -1796,7 +1897,7 @@ { ErrorCode = RtlNtStatusToDosError (Status); SetLastError (ErrorCode); - return ErrorCode; + return Status; } RtlInitUnicodeString (&SubKeyString,
19 years, 7 months
1
0
0
0
[greatlrd] 14890: forget this file
by greatlrd@svn.reactos.com
forget this file thx <hpoussin> Added: trunk/reactos/subsys/system/userinit/resource.h _____ Added: trunk/reactos/subsys/system/userinit/resource.h --- trunk/reactos/subsys/system/userinit/resource.h 2005-04-30 20:54:17 UTC (rev 14889) +++ trunk/reactos/subsys/system/userinit/resource.h 2005-04-30 21:07:32 UTC (rev 14890) @@ -0,0 +1,12 @@ +#define RC_STRING_MAX_SIZE 2048 +#define STRING_USERINIT_FAIL 100 + + + + + + + + + +
19 years, 7 months
1
0
0
0
[greatlrd] 14889:
by greatlrd@svn.reactos.com
19 years, 7 months
1
0
0
0
[greatlrd] 14888: Remove all hardcode string to En.rc
by greatlrd@svn.reactos.com
Remove all hardcode string to En.rc Hopplyfull all hardcoing string are gone now Added: trunk/reactos/subsys/system/userinit/En.rc Modified: trunk/reactos/subsys/system/userinit/userinit.c Modified: trunk/reactos/subsys/system/userinit/userinit.rc _____ Added: trunk/reactos/subsys/system/userinit/En.rc --- trunk/reactos/subsys/system/userinit/En.rc 2005-04-30 18:55:44 UTC (rev 14887) +++ trunk/reactos/subsys/system/userinit/En.rc 2005-04-30 19:00:46 UTC (rev 14888) @@ -0,0 +1,12 @@ +#include "resource.h" +/* Start move all hard code string to En.rc + * By Magnus Olsen 2005 + */ + +LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT +STRINGTABLE DISCARDABLE +{ + +STRING_USERINIT_FAIL, "Userinit failed to start the shell!\n" + +} _____ Modified: trunk/reactos/subsys/system/userinit/userinit.c --- trunk/reactos/subsys/system/userinit/userinit.c 2005-04-30 18:55:44 UTC (rev 14887) +++ trunk/reactos/subsys/system/userinit/userinit.c 2005-04-30 19:00:46 UTC (rev 14888) @@ -24,6 +24,7 @@ * PROGRAMMERS: Thomas Weidenmueller (w3seek(a)users.sourceforge.net) */ #include <windows.h> +#include "resource.h" /* GLOBALS ******************************************************************/ @@ -77,6 +78,7 @@ PROCESS_INFORMATION pi; WCHAR Shell[MAX_PATH]; WCHAR ExpandedShell[MAX_PATH]; + TCHAR szMsg[RC_STRING_MAX_SIZE]; GetShell(Shell); @@ -102,7 +104,10 @@ CloseHandle(pi.hThread); } else - MessageBox(0, L"Userinit failed to start the shell!\n", NULL, 0); + { + LoadString( GetModuleHandle(NULL), STRING_USERINIT_FAIL, (LPTSTR) szMsg,sizeof(szMsg)); + MessageBox(0, szMsg, NULL, 0); + } } static _____ Modified: trunk/reactos/subsys/system/userinit/userinit.rc --- trunk/reactos/subsys/system/userinit/userinit.rc 2005-04-30 18:55:44 UTC (rev 14887) +++ trunk/reactos/subsys/system/userinit/userinit.rc 2005-04-30 19:00:46 UTC (rev 14888) @@ -1,6 +1,9 @@ /* $Id$ */ +#include <windows.h> #define REACTOS_STR_FILE_DESCRIPTION "Userinit Logon Application\0" #define REACTOS_STR_INTERNAL_NAME "userinit\0" #define REACTOS_STR_ORIGINAL_FILENAME "userinit.dll\0" #include <reactos/version.rc> +#include "En.rc" +
19 years, 7 months
1
0
0
0
[navaraf] 14887: Potapnik <jirka@studioprojekt.cz>
by navaraf@svn.reactos.com
Potapnik <jirka(a)studioprojekt.cz> Czech translation of Task Manager. Added: trunk/reactos/subsys/system/taskmgr/Cz.rc Modified: trunk/reactos/subsys/system/taskmgr/taskmgr.rc _____ Added: trunk/reactos/subsys/system/taskmgr/Cz.rc --- trunk/reactos/subsys/system/taskmgr/Cz.rc 2005-04-30 18:52:55 UTC (rev 14886) +++ trunk/reactos/subsys/system/taskmgr/Cz.rc 2005-04-30 18:55:44 UTC (rev 14887) @@ -0,0 +1,682 @@ +/////////////////////////////////////////////////////////////////////// ////// +// Czech resource files + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT +#pragma code_page(1250) +#endif //_WIN32 + +/////////////////////////////////////////////////////////////////////// ////// +// +// Menu +// + +IDR_TASKMANAGER MENU DISCARDABLE +BEGIN + POPUP "&Soubor" + BEGIN + MENUITEM "&Novß ·loha (Spustit...)", ID_FILE_NEW + MENUITEM SEPARATOR + MENUITEM "U&zav°Ýt sprßvce ·loh", ID_FILE_EXIT + END + POPUP "&Volby" + BEGIN + MENUITEM "&V×dy navrchu", ID_OPTIONS_ALWAYSONTOP + , CHECKED + MENUITEM "&Minimalizovat p°i pou×itÝ", ID_OPTIONS_MINIMIZEONUSE + , CHECKED + MENUITEM "&Skr²t p°i minimalizaci", ID_OPTIONS_HIDEWHENMINIMIZED + , CHECKED + MENUITEM "&Zobrazit 16-bitovÚ ·lohy", ID_OPTIONS_SHOW16BITTASKS + , CHECKED + END + POPUP "&Zobrazit" + BEGIN + MENUITEM "&Aktualizovat", ID_VIEW_REFRESH + POPUP "&Rychlost aktualizace" + BEGIN + MENUITEM "&Vysokß", ID_VIEW_UPDATESPEED_HIGH + MENUITEM "&NormßlnÝ", ID_VIEW_UPDATESPEED_NORMAL + , CHECKED + MENUITEM "&NÝzkß", ID_VIEW_UPDATESPEED_LOW + MENUITEM "&Zastavit", ID_VIEW_UPDATESPEED_PAUSED + + END + MENUITEM SEPARATOR + MENUITEM "&VelkÚ ikony", ID_VIEW_LARGE + MENUITEM "&MalÚ ikony", ID_VIEW_SMALL + MENUITEM "&Detaily", ID_VIEW_DETAILS, CHECKED + MENUITEM "&Vybrat sloupce...", ID_VIEW_SELECTCOLUMNS + POPUP "&Historie CPU" + BEGIN + MENUITEM "&Jeden graf, vÜechny procesory", ID_VIEW_CPUHISTORY_ONEGRAPHALL + + MENUITEM "&Jeden graf, jeden procesor", ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU + , CHECKED + END + MENUITEM "&Zobrazit Þasy jßdra", ID_VIEW_SHOWKERNELTIMES + END + POPUP "&Okna" + BEGIN + MENUITEM "Vyrovnat &horizontßlný", ID_WINDOWS_TILEHORIZONTALLY + MENUITEM "Vyrovnat &vertikßlný", ID_WINDOWS_TILEVERTICALLY + MENUITEM "&Minimalizovat", ID_WINDOWS_MINIMIZE + MENUITEM "Ma&ximalizovat", ID_WINDOWS_MAXIMIZE + MENUITEM "&Kaskßda", ID_WINDOWS_CASCADE + MENUITEM "&P°enÚst do pop°edÝ", ID_WINDOWS_BRINGTOFRONT + END + POPUP "&Nßpovýda" + BEGIN + MENUITEM "&Nßpovýda pro sprßvce ·loh", ID_HELP_TOPICS + MENUITEM SEPARATOR + MENUITEM "&O sprßvci ·loh", ID_HELP_ABOUT + END +END + +IDR_WINDOWSMENU MENU DISCARDABLE +BEGIN + MENUITEM "Vyrovnat &horizontßlný", ID_WINDOWS_TILEHORIZONTALLY + MENUITEM "Vyrovnat &vertikßlný", ID_WINDOWS_TILEVERTICALLY + MENUITEM "&Minimalizovat", ID_WINDOWS_MINIMIZE + MENUITEM "Ma&ximalizovat", ID_WINDOWS_MAXIMIZE + MENUITEM "&Kaskßda", ID_WINDOWS_CASCADE + MENUITEM "&P°enÚst do pop°edÝ", ID_WINDOWS_BRINGTOFRONT +END + +IDR_APPLICATION_PAGE_CONTEXT1 MENU DISCARDABLE +BEGIN + POPUP "DUMMY" + BEGIN + MENUITEM "&Novß ·loha (Spustit...)", ID_FILE_NEW + MENUITEM SEPARATOR + MENUITEM "&VelkÚ ikony", ID_VIEW_LARGE + MENUITEM "&MalÚ ikony", ID_VIEW_SMALL + MENUITEM "&Detaily", ID_VIEW_DETAILS, CHECKED + END +END + +IDR_APPLICATION_PAGE_CONTEXT2 MENU DISCARDABLE +BEGIN + POPUP "DUMMY" + BEGIN + MENUITEM "&P°epnout do", ID_APPLICATION_PAGE_SWITCHTO + MENUITEM "&P°enÚst do pop°edÝ", ID_WINDOWS_BRINGTOFRONT + MENUITEM SEPARATOR + MENUITEM "Vyrovnat &horizontßlný", ID_WINDOWS_TILEHORIZONTALLY + MENUITEM "Vyrovnat &Vertikßlný", ID_WINDOWS_TILEVERTICALLY + MENUITEM "&Minimalizovat", ID_WINDOWS_MINIMIZE + MENUITEM "Ma&ximalizovat", ID_WINDOWS_MAXIMIZE + MENUITEM "&Kaskßda", ID_WINDOWS_CASCADE + MENUITEM SEPARATOR + MENUITEM "&UkonÞit ·lohu", ID_APPLICATION_PAGE_ENDTASK + MENUITEM "&P°ejÝt k procesu", ID_APPLICATION_PAGE_GOTOPROCESS + + END +END + +IDR_TRAY_POPUP MENU DISCARDABLE +BEGIN + POPUP "DUMMY" + BEGIN + MENUITEM "&Obnovit", ID_RESTORE + MENUITEM "&Uzav°Ýt", ID_FILE_EXIT + MENUITEM SEPARATOR + MENUITEM "&V×dy navrchu", ID_OPTIONS_ALWAYSONTOP + END +END + +IDR_PROCESS_PAGE_CONTEXT MENU DISCARDABLE +BEGIN + POPUP "DUMMY" + BEGIN + MENUITEM "&UkonÞit proces", ID_PROCESS_PAGE_ENDPROCESS + MENUITEM "UkonÞit &strom procesu", ID_PROCESS_PAGE_ENDPROCESSTREE + + MENUITEM "&Ladit", ID_PROCESS_PAGE_DEBUG + MENUITEM SEPARATOR + POPUP "&Priorita" + BEGIN + MENUITEM "&Realtime", ID_PROCESS_PAGE_SETPRIORITY_REALTIME + + MENUITEM "&Vysokß", ID_PROCESS_PAGE_SETPRIORITY_HIGH + + MENUITEM "&Nadpr¨mýrnß", ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL + + MENUITEM "Nor&mßlnÝ", ID_PROCESS_PAGE_SETPRIORITY_NORMAL + + MENUITEM "&Podpr¨mýrnß", ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL + + MENUITEM "NÝ&zkß", ID_PROCESS_PAGE_SETPRIORITY_LOW + + END + MENUITEM "Nastavit &afinitu...", ID_PROCESS_PAGE_SETAFFINITY + MENUITEM "Upravit &kanßly ladýnÝ...", ID_PROCESS_PAGE_DEBUGCHANNELS + END +END + + +/////////////////////////////////////////////////////////////////////// ////// +// +// Dialog +// + +IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 259, 210 +STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU +CAPTION "O sprßvci ·loh" +FONT 8, "Tahoma" +BEGIN + CONTROL "Sprßvce ·loh v1.0\nCopyright (C) 1999 - 2001\n Brian Palmer (brianp(a)reactos.org)", + IDC_STATIC,"Static",SS_LEFTNOWORDWRAP | WS_GROUP,53,28, + 122,26 + DEFPUSHBUTTON "OK",IDOK,183,189,44,14,WS_GROUP + ICON IDI_TASKMANAGER,IDC_STATIC,19,30,20,20 + EDITTEXT IDC_LICENSE_EDIT,53,63,174,107,ES_MULTILINE | + ES_READONLY | WS_VSCROLL +END + +IDD_TASKMGR_DIALOG DIALOG DISCARDABLE 0, 0, 264, 246 +STYLE DS_CENTER | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | + WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_CAPTION | WS_SYSMENU | + WS_THICKFRAME +CAPTION "Sprßvce ·loh" +MENU IDR_TASKMANAGER +FONT 8, "Tahoma" +BEGIN + CONTROL "Tab1",IDC_TAB,"SysTabControl32",WS_TABSTOP,3,3,257,228 +END + +IDD_APPLICATION_PAGE DIALOG DISCARDABLE 0, 0, 247, 210 +STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN +FONT 8, "Tahoma" +BEGIN + CONTROL "List2",IDC_APPLIST,"SysListView32",LVS_REPORT | + LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP,7,7,233,177 + PUSHBUTTON "&Novß ·loha...",IDC_NEWTASK,187,189,53,14 + PUSHBUTTON "&P°epnout",IDC_SWITCHTO,131,189,53,14,WS_DISABLED + PUSHBUTTON "&UkonÞit ·lohu",IDC_ENDTASK,75,189,53,14,WS_DISABLED +END + +IDD_PROCESS_PAGE DIALOG DISCARDABLE 0, 0, 247, 210 +STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN +FONT 8, "Tahoma" +BEGIN + CONTROL "List2",IDC_PROCESSLIST,"SysListView32",LVS_REPORT | + LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_OWNERDATA | + WS_BORDER | WS_TABSTOP,7,7,233,177 + PUSHBUTTON "&UkonÞit proces",IDC_ENDPROCESS,171,189,69,14 + CONTROL "&Zobrazit procesy vÜech u×ivatel¨",IDC_SHOWALLPROCESSES, + "Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,191,111,10 +END + +//IDD_PERFORMANCE_PAGE DIALOGEX 0, 0, 247, 210 +IDD_PERFORMANCE_PAGE DIALOGEX DISCARDABLE 0, 0, 247, 210 +STYLE DS_CONTROL | WS_CHILD | WS_CLIPCHILDREN +FONT 8, "Tahoma" +BEGIN + GROUPBOX "Vyu×itÝ CPU",IDC_CPU_USAGE_FRAME,5,5,60,54,WS_TABSTOP, WS_EX_TRANSPARENT + GROUPBOX "Vyu×itÝ RAM",IDC_MEM_USAGE_FRAME,5,63,60,54,BS_LEFTTEXT, WS_EX_TRANSPARENT + GROUPBOX "Celkem",IDC_TOTALS_FRAME,5,122,111,39,0,WS_EX_TRANSPARENT + GROUPBOX "Commit Charge (K)",IDC_COMMIT_CHARGE_FRAME,5,166,111,39,0,WS_EX_TRANSPARENT + GROUPBOX "Fyzickß pamýØ (K)",IDC_PHYSICAL_MEMORY_FRAME,131,122,111,39,0,WS_EX_TRANSPARENT + GROUPBOX "PamýØ jßdra (K)",IDC_KERNEL_MEMORY_FRAME,131,166,111,39,0,WS_EX_TRANSPARENT + LTEXT "PopisovaÞe",IDS_TOTALS_HANDLE_COUNT,12,131,27,8 + LTEXT "Vlßkna",IDS_TOTALS_THREAD_COUNT,12,140,27,8 + LTEXT "Procesy",IDS_TOTALS_PROCESS_COUNT,12,149,34,8 + EDITTEXT IDC_TOTALS_HANDLE_COUNT,65,131,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_TOTALS_THREAD_COUNT,65,140,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_TOTALS_PROCESS_COUNT,65,149,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + LTEXT "Celkem",IDS_COMMIT_CHARGE_TOTAL,12,175,27,8 + LTEXT "Limit",IDS_COMMIT_CHARGE_LIMIT,12,184,15,8 + LTEXT "Vrchol",IDS_COMMIT_CHARGE_PEAK,12,193,34,8 + EDITTEXT IDC_COMMIT_CHARGE_TOTAL,65,174,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_COMMIT_CHARGE_LIMIT,65,184,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_COMMIT_CHARGE_PEAK,65,193,45,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + LTEXT "Celkem",IDS_PHYSICAL_MEMORY_TOTAL,137,131,27,8 + LTEXT "Dostupnß",IDS_PHYSICAL_MEMORY_AVAILABLE,137,140,30,8 + LTEXT "MezipamýØ systÚmu",IDS_PHYSICAL_MEMORY_SYSTEM_CACHE,137,149,46,8 + EDITTEXT IDC_PHYSICAL_MEMORY_TOTAL,185,131,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_PHYSICAL_MEMORY_AVAILABLE,185,140,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_PHYSICAL_MEMORY_SYSTEM_CACHE,185,149,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + LTEXT "Celkem",IDS_KERNEL_MEMORY_TOTAL,137,174,27,8 + LTEXT "Strßnkovßno",IDS_KERNEL_MEMORY_PAGED,137,184,21,8 + LTEXT "Nestrßnkovßno",IDS_KERNEL_MEMORY_NONPAGED,137,193,34,8 + EDITTEXT IDC_KERNEL_MEMORY_TOTAL,185,174,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_KERNEL_MEMORY_PAGED,185,184,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + EDITTEXT IDC_KERNEL_MEMORY_NONPAGED,185,193,48,8,ES_RIGHT | + ES_READONLY | ES_NUMBER | NOT WS_BORDER + GROUPBOX "Historie vyu×itÝ CPU",IDC_CPU_USAGE_HISTORY_FRAME,74,5,168,54,0,WS_EX_TRANSPARENT + GROUPBOX "Historie vyu×itÝ pamýti",IDC_MEMORY_USAGE_HISTORY_FRAME,74,63,168,54,0,WS_EX_TRANSPARENT + PUSHBUTTON "ZobrazenÝ vyu×itÝ CPU",IDC_CPU_USAGE_GRAPH,12,17,47,37,0, + WS_EX_CLIENTEDGE + PUSHBUTTON "ZobrazenÝ vyu×itÝ pamýti",IDC_MEM_USAGE_GRAPH,12,75,47,37,0, + WS_EX_CLIENTEDGE + PUSHBUTTON "Historie vyu×itÝ CPU",IDC_CPU_USAGE_HISTORY_GRAPH,81,17, + 153,37,0,WS_EX_CLIENTEDGE + PUSHBUTTON "Historie vyu×itÝ pamýti",IDC_MEM_USAGE_HISTORY_GRAPH,81,75, + 153,37,0,WS_EX_CLIENTEDGE +END + +IDD_DEBUG_CHANNELS_DIALOG DIALOG DISCARDABLE 0, 0, 247, 210 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Kanßly ladýnÝ" +FONT 8, "Tahoma" +BEGIN + CONTROL "List2",IDC_DEBUG_CHANNELS_LIST,"SysListView32",LVS_REPORT | + LVS_SINGLESEL | LVS_SHOWSELALWAYS | WS_BORDER | WS_TABSTOP | + LVS_SORTASCENDING,7,7,233,177 + PUSHBUTTON "Zav°Ýt",IDOK,171,189,69,14 +END + +IDD_AFFINITY_DIALOG DIALOG DISCARDABLE 0, 0, 231, 154 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Afinita procesoru" +FONT 8, "Tahoma" +BEGIN + DEFPUSHBUTTON "OK",IDOK,120,133,50,14 + PUSHBUTTON "Storno",IDCANCEL,174,133,50,14 + LTEXT "NastavenÝ afinity procesoru kontroluje, kter² proces bude zpracucovßn jak²m procesorem.", + IDC_STATIC,5,5,220,16 + CONTROL "CPU 0",IDC_CPU0,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, + 11,28,37,10 + CONTROL "CPU 1",IDC_CPU1,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,41,37,10 + CONTROL "CPU 2",IDC_CPU2,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,54,37,10 + CONTROL "CPU 3",IDC_CPU3,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,67,37,10 + CONTROL "CPU 4",IDC_CPU4,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,80,37,10 + CONTROL "CPU 5",IDC_CPU5,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,93,37,10 + CONTROL "CPU 6",IDC_CPU6,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,106,37,10 + CONTROL "CPU 7",IDC_CPU7,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,11,119,37,10 + CONTROL "CPU 8",IDC_CPU8,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,61,28,37,10 + CONTROL "CPU 9",IDC_CPU9,"Button",BS_AUTOCHECKBOX | WS_DISABLED | + WS_TABSTOP,61,41,37,10 + CONTROL "CPU 10",IDC_CPU10,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,54,41,10 + CONTROL "CPU 11",IDC_CPU11,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,67,41,10 + CONTROL "CPU 12",IDC_CPU12,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,80,41,10 + CONTROL "CPU 13",IDC_CPU13,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,93,41,10 + CONTROL "CPU 14",IDC_CPU14,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,106,41,10 + CONTROL "CPU 15",IDC_CPU15,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,61,119,41,10 + CONTROL "CPU 16",IDC_CPU16,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,28,41,10 + CONTROL "CPU 17",IDC_CPU17,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,41,41,10 + CONTROL "CPU 18",IDC_CPU18,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,54,41,10 + CONTROL "CPU 19",IDC_CPU19,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,67,41,10 + CONTROL "CPU 20",IDC_CPU20,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,80,41,10 + CONTROL "CPU 21",IDC_CPU21,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,93,41,10 + CONTROL "CPU 22",IDC_CPU22,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,106,41,10 + CONTROL "CPU 23",IDC_CPU23,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,116,119,41,10 + CONTROL "CPU 24",IDC_CPU24,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,28,41,10 + CONTROL "CPU 25",IDC_CPU25,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,41,41,10 + CONTROL "CPU 26",IDC_CPU26,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,54,41,10 + CONTROL "CPU 27",IDC_CPU27,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,67,41,10 + CONTROL "CPU 28",IDC_CPU28,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,80,41,10 + CONTROL "CPU 29",IDC_CPU29,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,93,41,10 + CONTROL "CPU 30",IDC_CPU30,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,106,41,10 + CONTROL "CPU 31",IDC_CPU31,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,175,119,41,10 +END + +IDD_COLUMNS_DIALOG DIALOG DISCARDABLE 0, 0, 195, 199 +STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU +CAPTION "Vyberte sloupce" +FONT 8, "Tahoma" +BEGIN + DEFPUSHBUTTON "OK",IDOK,84,178,50,14 + PUSHBUTTON "Storno",IDCANCEL,138,178,50,14 + LTEXT "Vyberte sloupce, kterÚ se zobrazÝ na kartý Procesy Sprßvce ·loh.", + IDC_STATIC,7,7,181,17 + CONTROL "Nßzev &obrazu",IDC_IMAGENAME,"Button",BS_AUTOCHECKBOX | + WS_DISABLED | WS_TABSTOP,7,28,56,10 + CONTROL "&PID (Identifikßtor procesu)",IDC_PID,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,7,39,88,10 + CONTROL "Vyu×itÝ &CPU",IDC_CPUUSAGE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,50,53,10 + CONTROL "&?as CPU",IDC_CPUTIME,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,61,48,10 + CONTROL "Vyu×itÝ &pamýti",IDC_MEMORYUSAGE,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,72,63,10 + CONTROL "&Delta vyu×itÝ pamýti",IDC_MEMORYUSAGEDELTA,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,7,83,82,10 + CONTROL "&Vrchol vyu×itÝ pamýti",IDC_PEAKMEMORYUSAGE,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,7,94,82,10 + CONTROL "&Chyby strßnek",IDC_PAGEFAULTS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,105,53,10 + CONTROL "&U×ivatelskÚ objekty",IDC_USEROBJECTS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,116,62,10 + CONTROL "I/O ÞtenÝ",IDC_IOREADS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,127,49,10 + CONTROL "I/O p°eÞtenÚ bajty",IDC_IOREADBYTES,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,7,138,65,10 + CONTROL "&ID sezenÝ",IDC_SESSIONID,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,149,50,10 + CONTROL "&JmÚno u×ivatele",IDC_USERNAME,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,7,160,51,10 + CONTROL "&Delta chyby strßnek",IDC_PAGEFAULTSDELTA,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,28,72,10 + CONTROL "&Velikost virtußlnÝ pamýti",IDC_VIRTUALMEMORYSIZE,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,39,77,10 + CONTROL "&Strßnkovßno",IDC_PAGEDPOOL,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,50,53,10 + CONTROL "&Nestrßnkovßno",IDC_NONPAGEDPOOL,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,61,67,10 + CONTROL "ZßkladnÝ p&riorita",IDC_BASEPRIORITY,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,72,55,10 + CONTROL "&popis popisovaÞ¨",IDC_HANDLECOUNT,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,83,59,10 + CONTROL "&PoÞet vlßken",IDC_THREADCOUNT,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,94,59,10 + CONTROL "GDI Objekty",IDC_GDIOBJECTS,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,105,55,10 + CONTROL "I/O zßpisy",IDC_IOWRITES,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,116,49,10 + CONTROL "I/O zapsanÚ bajty",IDC_IOWRITEBYTES,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,127,65,10 + CONTROL "I/O ostatnÝ",IDC_IOOTHER,"Button",BS_AUTOCHECKBOX | + WS_TABSTOP,107,138,46,10 + CONTROL "I/O ostatnÝ bajty",IDC_IOOTHERBYTES,"Button", + BS_AUTOCHECKBOX | WS_TABSTOP,107,149,65,10 +END + + +#ifdef APSTUDIO_INVOKED +/////////////////////////////////////////////////////////////////////// ////// +// +// TEXTINCLUDE +// + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#define APSTUDIO_HIDDEN_SYMBOLS\r\n" + "#include ""windows.h""\r\n" + "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n" + "#include ""resource.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +#endif // APSTUDIO_INVOKED + + +/////////////////////////////////////////////////////////////////////// ////// +// +// DESIGNINFO +// + +#ifdef APSTUDIO_INVOKED +GUIDELINES DESIGNINFO DISCARDABLE +BEGIN + IDD_ABOUTBOX, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 252 + TOPMARGIN, 7 + BOTTOMMARGIN, 203 + END + + IDD_TASKMGR_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 3 + RIGHTMARGIN, 260 + TOPMARGIN, 3 + BOTTOMMARGIN, 231 + END + + IDD_APPLICATION_PAGE, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 240 + TOPMARGIN, 7 + BOTTOMMARGIN, 203 + END + + IDD_PROCESS_PAGE, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 240 + TOPMARGIN, 7 + BOTTOMMARGIN, 203 + END + + IDD_PERFORMANCE_PAGE, DIALOG + BEGIN + LEFTMARGIN, 5 + RIGHTMARGIN, 242 + VERTGUIDE, 12 + VERTGUIDE, 65 + VERTGUIDE, 110 + TOPMARGIN, 5 + BOTTOMMARGIN, 205 + END + + IDD_AFFINITY_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 224 + VERTGUIDE, 11 + VERTGUIDE, 61 + VERTGUIDE, 116 + VERTGUIDE, 175 + TOPMARGIN, 7 + BOTTOMMARGIN, 147 + HORZGUIDE, 28 + HORZGUIDE, 38 + HORZGUIDE, 51 + HORZGUIDE, 64 + HORZGUIDE, 77 + HORZGUIDE, 90 + HORZGUIDE, 103 + HORZGUIDE, 116 + HORZGUIDE, 129 + END + + IDD_COLUMNS_DIALOG, DIALOG + BEGIN + LEFTMARGIN, 7 + RIGHTMARGIN, 188 + VERTGUIDE, 107 + TOPMARGIN, 7 + BOTTOMMARGIN, 192 + HORZGUIDE, 28 + END +END +#endif // APSTUDIO_INVOKED + +/////////////////////////////////////////////////////////////////////// ////// +// +// String Table +// + +STRINGTABLE DISCARDABLE +BEGIN + IDS_APP_TITLE "Sprßvce ·loh" + IDC_TASKMGR "Sprßvce ·loh" + IDS_IDLE_PROCESS "NeÞinnÚ procesy" +END + +STRINGTABLE DISCARDABLE +BEGIN + ID_FILE_NEW "SpustÝ novou aplikaci" + ID_OPTIONS_ALWAYSONTOP "Sprßvce ·loh z¨stane zobrazen² nad ostatnÝmi okny, dokud jej neminimalizujete" + ID_OPTIONS_MINIMIZEONUSE + "Sprßvce ·loh se zminimalizuje po p°epnutÝ na jinou ·lohu" + ID_OPTIONS_HIDEWHENMINIMIZED "Schovat sprßvce ·loh po minimalizaci" + ID_VIEW_REFRESH "P°inutÝ sprßvce ·loh k aktualizaci nezßvisle na nastavenÝ rychlosti aktualizace" + ID_VIEW_LARGE "ZobrazÝ ·lohy velk²mi ikonami" + ID_VIEW_SMALL "ZobrazÝ ·lohy mal²mi ikonami" + ID_VIEW_DETAILS "ZobrazÝ informace o ka×dÚ ·loze" + ID_VIEW_UPDATESPEED_HIGH "Aktualizuje ukazatel dvakrßt za vte°inu" + ID_VIEW_UPDATESPEED_NORMAL "Aktualizuje ukazatel jednou za dvý vte°inu" + ID_VIEW_UPDATESPEED_LOW "Aktualizuje ukazatel jednou za Þty°i vte°inu" +END + +STRINGTABLE DISCARDABLE +BEGIN + ID_VIEW_UPDATESPEED_PAUSED "Automaticky neaktualizuje" + ID_WINDOWS_TILEHORIZONTALLY + "Vyrovnß okna horizontßlný na ploÜe" + ID_WINDOWS_TILEVERTICALLY "Vyrovnß okna vertikßlný na ploÜe" + ID_WINDOWS_MINIMIZE "Minimalizuje okna" + ID_WINDOWS_MAXIMIZE "Maximalizuje okna" + ID_WINDOWS_CASCADE "Posklßdß okna do diagonßlnÝ kaskßdy" + ID_WINDOWS_BRINGTOFRONT "P°esune ·lohu do pop°edÝ, ale nep°epne do nÝ" + ID_HELP_TOPICS "ZobrazÝ tÚmata nßpovýdy pro sprßvce ·loh" + ID_HELP_ABOUT "ZobrazÝ informace o aplikaci, jejÝ verzi a copyright" + ID_FILE_EXIT "UkonÞÝ sprßvce ·loh" + ID_OPTIONS_SHOW16BITTASKS + "ZobrazÝ 16-bitovÚ ·lohy pod NTVDM" + ID_VIEW_SELECTCOLUMNS "Vyberte, kterÚ sloupce budou viditelnÚ na kartý Procesy" + ID_VIEW_SHOWKERNELTIMES "ZobrazÝ Þas jßdra v grafu v²konu" + ID_VIEW_CPUHISTORY_ONEGRAPHALL + "Jedin² graf historie zobrazÝ celkovou vyu×itelnost CPU" + ID_VIEW_CPUHISTORY_ONEGRAPHPERCPU "Ka×d² procesor mß sv¨j vlastnÝ graf historie" + ID_APPLICATION_PAGE_SWITCHTO + "P°epne ·lohu do pop°edÝ" +END + +STRINGTABLE DISCARDABLE +BEGIN + ID_ENDTASK "PokusÝ se ukonÞit zvolenou aplikaci" + ID_GOTOPROCESS "P°epne na proces zvolenÚ ·lohy" + ID_RESTORE "ObnovÝ sprßvce ·loh z neviditelnÚho stavu" + ID_PROCESS_PAGE_ENDPROCESS "OdstranÝ proces ze systÚmu" + ID_PROCESS_PAGE_ENDPROCESSTREE + "OdstranÝ proces a vÜechny jeho dce°innÚ podprocesy ze systÚmu" + ID_PROCESS_PAGE_DEBUG "P°ipojÝ ladicÝ aplikaci k tomuto procesu" + ID_PROCESS_PAGE_SETAFFINITY + "Spravuje, kter² procesor obslou×Ý dan² proces" + ID_PROCESS_PAGE_SETPRIORITY_REALTIME + "P°i°adÝ procesu Realtime prioritu" + ID_PROCESS_PAGE_SETPRIORITY_HIGH "P°i°adÝ procesu vysokou prioritu" + ID_PROCESS_PAGE_SETPRIORITY_ABOVENORMAL + "P°i°adÝ procesu nadpr¨mýrnou prioritu" + ID_PROCESS_PAGE_SETPRIORITY_NORMAL + "P°i°adÝ procesu normßlnÝ prioritu" + ID_PROCESS_PAGE_SETPRIORITY_BELOWNORMAL + "P°i°adÝ procesu podpr¨mýrnou prioritu" + ID_PROCESS_PAGE_SETPRIORITY_LOW "P°i°adÝ procesu nÝzkou prioritu" + IDS_LICENSE "This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.\r\n\r\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\r\n\r\nYou should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA." +END + + +STRINGTABLE DISCARDABLE +BEGIN + IDS_TAB_APPS "Aplikace" + IDS_TAB_PROCESSES "Procesy" + IDS_TAB_PERFORMANCE "V²kon" + IDS_TAB_TASK "?loha" + IDS_TAB_STATUS "Status" + IDS_TAB_IMAGENAME "Nßzev obrazu" + IDS_TAB_PID "PID" + IDS_TAB_USERNAME "U×iv. jmÚno" + IDS_TAB_SESSIONID "ID sezenÝ" + IDS_TAB_CPU "CPU" + IDS_TAB_CPUTIME "?as CPU" + IDS_TAB_MEMUSAGE "Vyu×itÝ pamýti" + IDS_TAB_PEAKMEMUSAGE "Vrchol vyu×itÝ pamýti" + IDS_TAB_MEMDELTA "PamýØ Delta" + IDS_TAB_PAGEFAULT "Chyby strßnek" + IDS_TAB_PFDELTA "PF Delta" + IDS_TAB_VMSIZE "Velikost virtußlnÝ pamýti" + IDS_TAB_PAGEDPOOL "Strßnkovßno" + IDS_TAB_NPPOOL "Nestrßnkovßno" + IDS_TAB_BASEPRI "Zßkl. priorita" + IDS_TAB_HANDLES "Ukazatele" + IDS_TAB_THREADS "Vlßkna" + IDS_TAB_USERPBJECTS "USER Objeky" + IDS_TAB_GDIOBJECTS "GDI Objekty" + IDS_TAB_IOREADS "I/O ÞtenÝ" + IDS_TAB_IOWRITES "I/O zßpisy" + IDS_TAB_IOOTHER "I/O ostatnÝ" + IDS_TAB_IOREADBYTES "I/O p°eÞtenÚ bajty" + IDS_TAB_IOWRITESBYTES "I/O zapsanÚ bajty" + IDS_TAB_IOOTHERBYTES "I/O ostatnÝ bajty" + IDS_MENU_SELECTCOLUMNS "&Vybrat sloupce..." + IDS_MENU_16BITTASK "&Zobrazit 16-bitovÚ ·lohy" + IDS_MENU_WINDOWS "&Okna" + IDS_MENU_LARGEICONS "&VelkÚ ikony" + IDS_MENU_SMALLICONS "&MalÚ ikony" + IDS_MENU_DETAILS "&Detaily" + IDS_MENU_ONEGRAPHALLCPUS "&Jeden graf, vÜechny CPU" + IDS_MENU_ONEGRAPHPERCPU "Jeden graf &pro ka×d² CPU" + IDS_MENU_CPUHISTORY "Historie &CPU" + IDS_MENU_SHOWKERNELTIMES "&Zobrazit Þasy jßdra" + IDS_CREATENEWTASK "Vytvo°it novou ·lohu" + IDS_CREATENEWTASK_DESC "NapiÜte nßzev aplikace, adresß°, dokument nebo zdroj na Internetu, a sprßvce ·loh jej otev°e." + IDS_MSG_ACCESSPROCESSAFF "NenÝ mo×nÚ zp°Ýstupnit afinitu procesu" + IDS_MSG_PROCESSONEPRO "Proces musÝ mÝt nastavenou afinitu alespo? s jednÝm procesorem." + IDS_MSG_INVALIDOPTION "Neplatnß volba" + IDS_MSG_UNABLEDEBUGPROCESS "NenÝ mo×nÚ ladit proces" + IDS_MSG_WARNINGDEBUG "UpozornýnÝ: ladýnÝ tohoto procesu m¨×e zp¨sobit ztrßtu dat.\nJste si jisti s p°ipojenÝm ladicÝho nßstroje k tomuto procesu?" + IDS_MSG_TASKMGRWARNING "UpozornýnÝ sprßvce ·loh" + IDS_MSG_WARNINGTERMINATING "UpozornýnÝ: ukonÞenÝ procesu m¨×e zp¨sobit nevratnÚ Ükody,\nnap°.: ztrßtu dat nebo nestability systÚmu. \nProcesu nebude poskytnuta Üance k ulo×enÝ jeho stavu nebo\ndat p°edtÝm, ne× bude ukonÞen. Jste si jisti\ns ukonÞenÝm procesu?" + IDS_MSG_UNABLETERMINATEPRO "NenÝ mo×nÚ ukonÞit proces" + IDS_MSG_UNABLECHANGEPRIORITY "NenÝ mo×nÚ zmýnit prioritu" + IDS_MSG_WARNINGCHANGEPRIORITY "UpozornýnÝ: Zmýna priority procesu m¨×e\nzp¨sobit nestabilitu systÚmu a jinÚ nep°edvÝdatelnÚ problÚmy. Jste si jisti\nse zmýnou priority procesu?" + IDS_MSG_TRAYICONCPUUSAGE "Vyu×itÝ CPU: %d%%" + +END + + +#endif // Czech resource file +/////////////////////////////////////////////////////////////////////// ////// + + + +#ifndef APSTUDIO_INVOKED +/////////////////////////////////////////////////////////////////////// ////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +/////////////////////////////////////////////////////////////////////// ////// +#endif // not APSTUDIO_INVOKED + _____ Modified: trunk/reactos/subsys/system/taskmgr/taskmgr.rc --- trunk/reactos/subsys/system/taskmgr/taskmgr.rc 2005-04-30 18:52:55 UTC (rev 14886) +++ trunk/reactos/subsys/system/taskmgr/taskmgr.rc 2005-04-30 18:55:44 UTC (rev 14887) @@ -247,6 +247,7 @@ '00 A0 00 00 00 00' } */ +#include "Cz.rc" #include "En.rc" #include "De.rc" #include "Dk.rc"
19 years, 7 months
1
0
0
0
[Phreak] 14886: Renamed another makefile in the xmlbuildsystem branch that had the wrong case
by Phreak@svn.reactos.com
Renamed another makefile in the xmlbuildsystem branch that had the wrong case Deleted: branches/xmlbuildsystem/reactos/lib/wininet/Makefile Added: branches/xmlbuildsystem/reactos/lib/wininet/makefile _____ Deleted: branches/xmlbuildsystem/reactos/lib/wininet/Makefile --- branches/xmlbuildsystem/reactos/lib/wininet/Makefile 2005-04-30 18:49:41 UTC (rev 14885) +++ branches/xmlbuildsystem/reactos/lib/wininet/Makefile 2005-04-30 18:52:55 UTC (rev 14886) @@ -1,26 +0,0 @@ -# $Id$ - -PATH_TO_TOP = ../.. - -TARGET_TYPE = dynlink - -TARGET_NAME = wininet - -TARGET_BASE = $(TARGET_BASE_LIB_WININET) - -# require os code to explicitly request A/W version of structs/functions -TARGET_CFLAGS += -Wall -Werror - -TARGET_SDKLIBS = kernel32.a ntdll.a - -TARGET_OBJECTS = stubs.o - -TARGET_NORC = yes - -DEP_OBJECTS = $(TARGET_OBJECTS) - -include $(PATH_TO_TOP)/rules.mak - -include $(TOOLS_PATH)/helper.mk - -include $(TOOLS_PATH)/depend.mk _____ Copied: branches/xmlbuildsystem/reactos/lib/wininet/makefile (from rev 14885, branches/xmlbuildsystem/reactos/lib/wininet/Makefile)
19 years, 7 months
1
0
0
0
[navaraf] 14885: Potapnik <jirka@studioprojekt.cz>
by navaraf@svn.reactos.com
Potapnik <jirka(a)studioprojekt.cz> Czech translations of appwiz, control, desk, intl, ncpa, sysdm and timedate. Added: trunk/reactos/lib/cpl/appwiz/Cz.rc Modified: trunk/reactos/lib/cpl/appwiz/appwiz.rc Added: trunk/reactos/lib/cpl/control/Cz.rc Modified: trunk/reactos/lib/cpl/control/control.rc Added: trunk/reactos/lib/cpl/desk/cz.rc Modified: trunk/reactos/lib/cpl/desk/desk.rc Added: trunk/reactos/lib/cpl/intl/cz.rc Modified: trunk/reactos/lib/cpl/intl/intl.rc Added: trunk/reactos/lib/cpl/ncpa/cz.rc Modified: trunk/reactos/lib/cpl/ncpa/ncpa.rc Added: trunk/reactos/lib/cpl/sysdm/cz.rc Modified: trunk/reactos/lib/cpl/sysdm/sysdm.rc Added: trunk/reactos/lib/cpl/timedate/Cz.rc Modified: trunk/reactos/lib/cpl/timedate/timedate.rc _____ Added: trunk/reactos/lib/cpl/appwiz/Cz.rc --- trunk/reactos/lib/cpl/appwiz/Cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/appwiz/Cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,50 @@ +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +IDD_PROPPAGEINSTALL DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Instalace/OdstranýnÝ" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + ICON IDI_CPLSYSTEM,-1,PROPSHEETPADDING,18,16,16 + LTEXT "Pro nainstalovßnÝ novÚ aplikace, klepnýte na Instalovat...",-1,36,18,PROPSHEETWIDTH-48,8 + PUSHBUTTON "&Instalovat...", IDC_INSTALL, PROPSHEETWIDTH-(72), 36, 60, 14 + LTEXT "", -1, PROPSHEETPADDING, 63, PROPSHEETWIDTH-12, 1, NOT WS_GROUP | SS_SUNKEN + + ICON IDI_CPLSYSTEM,-1,PROPSHEETPADDING,76,16,16 + LTEXT "NßsledujÝcÝ aplikace mohou b²t automaticky odstranýny. K odstranýnÝ aplikace nebo k nastavenÝ jejÝch komponent, ji vyberte ze seznamu a klepnýte na tlaÞÝtko P°idat/Odebrat.",-1,36,72,PROPSHEETWIDTH-48,32 + LISTBOX IDC_SOFTWARELIST, PROPSHEETPADDING, 105, PROPSHEETWIDTH-12, 88, LBS_STANDARD | WS_TABSTOP + PUSHBUTTON "P°idat/&Odebrat", IDC_ADDREMOVE, PROPSHEETWIDTH-72, 198, 60, 14 +END + +IDD_PROPPAGEROSSETUP DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "NastavenÝ systÚmu ReactOS" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + +END + +IDD_FIRSTPAGE DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Vytvo°it odkaz..." +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "Text1", -1, 115, 15, 160, 24 + LTEXT "Text2", -1, 115, 35, 160, 17 +END + +IDD_SUBMIT_REPORT DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Create link" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "Text1",-1,10,0,225,40 + LTEXT "Text2",-1,10,40,120,20 + LTEXT "Text3",-1,10,55,120,20 +END + +STRINGTABLE +BEGIN + IDS_CPLSYSTEMNAME "P°idat/Odebrat aplikace" + IDS_CPLSYSTEMDESCRIPTION "NastavÝ aplikace a vytvo°Ý ikony." +END _____ Modified: trunk/reactos/lib/cpl/appwiz/appwiz.rc --- trunk/reactos/lib/cpl/appwiz/appwiz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/appwiz/appwiz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -25,8 +25,8 @@ * a neutral version. This is to get localized bitmaps for example. */ +#include "Cz.rc" #include "En.rc" #include "De.rc" #include "Dk.rc" #include "Ru.rc" - _____ Added: trunk/reactos/lib/cpl/control/Cz.rc --- trunk/reactos/lib/cpl/control/Cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/control/Cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,28 @@ +// Czech language resource file (potapnik, 2005-04-30) + +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +/////////////////////////////////////////////////////////////////////// ////// +// +// Menu +// + +IDM_MAINMENU MENU DISCARDABLE +BEGIN + POPUP "&Soubor" + BEGIN + MENUITEM "&Zav°Ýt", IDM_CLOSE + END + POPUP "&ZobrazenÝ" + BEGIN + MENUITEM "&VelkÚ ikony", IDM_LARGEICONS + MENUITEM "&MalÚ ikony", IDM_SMALLICONS + MENUITEM "&Seznam", IDM_LIST + MENUITEM "&Detaily", IDM_DETAILS + END + POPUP "&Nßpovýda" + BEGIN + MENUITEM "&O aplikaci...", IDM_ABOUT + END +END + _____ Modified: trunk/reactos/lib/cpl/control/control.rc --- trunk/reactos/lib/cpl/control/control.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/control/control.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -35,6 +35,7 @@ * a neutral version. This is to get localized bitmaps for example. */ +#include "Cz.rc" #include "En.rc" #include "De.rc" #include "Dk.rc" _____ Added: trunk/reactos/lib/cpl/desk/cz.rc --- trunk/reactos/lib/cpl/desk/cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/desk/cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,104 @@ +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +IDD_BACKGROUND DIALOGEX DISCARDABLE 0, 0, 246, 228 +STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "PozadÝ" +FONT 8, "MS Shell Dlg" +BEGIN + CONTROL "",IDC_BACKGROUND_PREVIEW,"Static",SS_OWNERDRAW,48,10, + 150,105,WS_EX_STATICEDGE + CONTROL "",IDC_BACKGROUND_LIST,"SysListView32",LVS_REPORT | + LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_SHAREIMAGELISTS | + WS_BORDER | WS_TABSTOP,7,139,173,71 + LTEXT "Vyberte obrßzek, kter² chcete pou×Ýt jako pozadÝ:", + IDC_STATIC,8,127,180,8 + PUSHBUTTON "&Vybrat...",IDC_BROWSE_BUTTON,187,175,50,14 + PUSHBUTTON "&Barva...",IDC_COLOR_BUTTON,187,195,50,14 + LTEXT "UmÝstýnÝ:",IDC_STATIC,187,138,36,8 + COMBOBOX IDC_PLACEMENT_COMBO,187,148,50,90,CBS_DROPDOWNLIST | + CBS_SORT | WS_VSCROLL | WS_TABSTOP +END + +IDD_SCREENSAVER DIALOGEX DISCARDABLE 0, 0, 246, 228 +STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Spo°iÞ obrazovky" +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "&Spo°iÞ obrazovky",IDC_SCREENS_DUMMY, 5, 7, 238, 176 + + LTEXT "Seznam spo°iÞ¨:",IDC_STATIC,13, 24, 71, 9 + CONTROL "",IDC_SCREENS_CHOICES,"SysListView32",LVS_REPORT | + LVS_SINGLESEL | LVS_NOCOLUMNHEADER | LVS_SHAREIMAGELISTS | + WS_BORDER | WS_TABSTOP,13, 34, 171, 109 + PUSHBUTTON "&Odebrat",IDC_SCREENS_DELETE, 189,47,39,10 + PUSHBUTTON "&P°idat",IDC_SCREENS_POWER_BUTTON, 190,34,39,10 + + PUSHBUTTON "&NastavenÝ...",IDC_SCREENS_SETTINGS,140, 164, 48, 12,WS_GROUP + PUSHBUTTON "&Ukßzka",IDC_SCREENS_TESTSC,192, 164, 43, 12 + + CONTROL "P°i obnovenÝ po×adovat &heslo.",IDC_SCREENS_USEPASSCHK,"button", + BS_AUTOCHECKBOX | WS_TABSTOP,13, 161, 119, 18 + + LTEXT "&?ekat:",IDC_STATIC,13, 150, 17, 9 + EDITTEXT IDC_SCREENS_TIMEDELAY,33, 149, 31, 12,ES_RIGHT | WS_GROUP + CONTROL "",IDC_SCREENS_TIME ,UPDOWN_CLASS,UDS_SETBUDDYINT | + UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | + WS_BORDER | WS_GROUP,52, 149, 12, 12 + LTEXT "Minut ne× se spustÝ spo°iÞ obrazovky.",IDC_STATIC,70, 151, 147, 9 + + GROUPBOX "èet°enÝ &energie monitoru",IDC_SCREENS_DUMMY,5, 186, 238, 35 + LTEXT "Pro mo×nosti napßjenÝ monitoru klepnýta na tlaÞÝtko Mo×nosti napßjenÝ.", + IDC_STATIC,16, 199, 155, 19 + PUSHBUTTON "M&o×nosti napßjenÝ",IDC_SCREENS_POWER_BUTTON,180, 202, 57, 12 +END + +IDD_APPEARANCE DIALOGEX DISCARDABLE 0, 0, 246, 228 +STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Vzhled" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "This space is intentionally left blank",IDC_STATIC,66, + 110,112,8 +END + +IDD_SETTINGS DIALOGEX DISCARDABLE 0, 0, 246, 228 +STYLE DS_SHELLFONT | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "NastavenÝ" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "&Displej:",1820,3,140,30,8 + LTEXT "<none>",IDC_SETTINGS_DEVICE,9,149,224,8 + GROUPBOX "&Velikost obrazovky",1818,3,160,115,43 + CONTROL "",IDC_SETTINGS_RESOLUTION,"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP, + 30,170,58,17 + LTEXT "MÚný",1815,9,170,15,8,NOT WS_GROUP + LTEXT "VÝce",1816,93,170,21,8,NOT WS_GROUP + LTEXT "",IDC_SETTINGS_RESOLUTION_TEXT,10,190,100,10,NOT WS_GROUP | SS_CENTER + GROUPBOX "&PoÞet barev",1817,125,160,115,43 + COMBOBOX IDC_SETTINGS_BPP,131,170,103,80,CBS_DROPDOWNLIST | CBS_AUTOHSCROLL | + WS_VSCROLL | WS_TABSTOP + CONTROL "",1813,"Static",SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN, + 131,188,103,9 + PUSHBUTTON "R&ozÜÝ°enÚ nastavenÝ...",IDC_SETTINGS_ADVANCED,306,205,56,14 +END + +STRINGTABLE +BEGIN + IDS_CPLNAME "Obrazovka" + IDS_CPLDESCRIPTION "NastavenÝ obrazovky, spo°iÞe, vzhledu a rozliÜenÝ." + + IDS_NONE "(Nic)" + IDS_CENTER "Vycentrovat" + IDS_STRETCH "Roztßhnout" + IDS_TILE "Dla×dice" +END + +STRINGTABLE DISCARDABLE +BEGIN + IDS_COLOR_4BIT "16 barev" + IDS_COLOR_8BIT "256 barev" + IDS_COLOR_16BIT "High Color (16 Bit)" + IDS_COLOR_32BIT "True Color (24 Bit)" + IDS_COLOR_32BIT "True Color (32 Bit)" + IDS_PIXEL "%lux%lu bod¨" +END _____ Modified: trunk/reactos/lib/cpl/desk/desk.rc --- trunk/reactos/lib/cpl/desk/desk.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/desk/desk.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -12,6 +12,7 @@ IDC_DESK_ICON ICON "resources/applet.ico" +#include "cz.rc" #include "en.rc" #include "de.rc" _____ Added: trunk/reactos/lib/cpl/intl/cz.rc --- trunk/reactos/lib/cpl/intl/cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/intl/cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,84 @@ +/* $Id: intl.rc 12852 2005-01-06 13:58:04Z mf $ */ + +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +IDD_GENERALPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "ObecnÚ nastavenÝ" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Property Page 1",-1,73,74,90,8 +END + + +IDD_NUMBERSPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "?Ýsla" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Property Page 2",-1,73,74,90,8 +END + + +IDD_CURRENCYPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Mýna" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Property Page 3",-1,73,74,90,8 +END + + +IDD_TIMEPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "?as" +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "Ukßzka", -1, 7, 7, 228, 33, WS_CHILD | WS_VISIBLE + LTEXT "?as:", -1, 13, 21, 54, 10, WS_CHILD |WS_VISIBLE | WS_GROUP + EDITTEXT IDC_TIMESAMPLE, 68, 19, 84, 14, ES_READONLY | WS_CHILD | WS_VISIBLE | WS_GROUP + LTEXT "&Formßt Þasu:", -1, 13, 52, 54, 10, WS_CHILD |WS_VISIBLE | WS_GROUP + COMBOBOX IDC_TIMEFORMAT, 68, 50, 84, 100, CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP + LTEXT "OddýlovaÞ:", -1, 13, 70, 54, 10, WS_VISIBLE | WS_GROUP + COMBOBOX IDC_TIMESEPARATOR, 68, 68, 84, 100, CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP + LTEXT "Zkratka dopoledne:", -1, 13, 88, 54, 10, WS_VISIBLE | WS_GROUP + COMBOBOX IDC_TIMEAMSYMBOL, 68, 86, 84, 100, CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP + LTEXT "Zkratka odpoledne:", -1, 13, 106, 54, 10, WS_VISIBLE | WS_GROUP + COMBOBOX IDC_TIMEPMSYMBOL, 68, 104, 84, 100, CBS_DROPDOWN | WS_CHILD | WS_VISIBLE | WS_TABSTOP + GROUPBOX "", -1, 7, 132, 228, 88, WS_VISIBLE + LTEXT "Zßpis formßtu Þasu\n\n" + "h = hodina m = minuta s = vte°ina t = dop. nebo odp.\n\n" + "h = 12-ti hodinov² cyklus\n" + "H = 24-ti godinov² cyklus\n\n" + "hh, mm, ss = poÞßteÞnÝ nula\n" + "h, m, s = bez poÞßteÞnÝ nuly", + -1, 13, 141, 214, 74, WS_CHILD |WS_VISIBLE | WS_GROUP +END + + +IDD_DATEPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Datum" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Property Page 5",-1,73,74,90,8 +END + + +IDD_LOCALEPAGE DIALOGEX 0, 0, 246, 228 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Jazyky" +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "V²chozÝ jazyk", -1, 8, 11, 228, 74 + ICON IDC_FLAGS, IDC_ICON1, 12, 26, 21, 20, SS_ICON + LTEXT "Vyberte jazyk, ve kterÚm bude systÚm zobrazovat dialogy a hlßÜenÝ:", -1, 38, 25, 193, 22 + COMBOBOX IDC_LANGUAGELIST, 39, 49, 191, 83, CBS_DROPDOWNLIST | CBS_SORT | WS_CHILD | WS_VISIBLE | WS_TABSTOP +END + + +STRINGTABLE +BEGIN + IDS_CPLNAME "RegionßlnÝ nastavenÝ" + IDS_CPLDESCRIPTION "NastavenÝ jazyku a formßtu data, Þasu a mýny." +END _____ Modified: trunk/reactos/lib/cpl/intl/intl.rc --- trunk/reactos/lib/cpl/intl/intl.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/intl/intl.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -21,6 +21,7 @@ * a neutral version. This is to get localized bitmaps for example. */ +#include "cz.rc" #include "en.rc" #include "de.rc" #include "sv.rc" _____ Added: trunk/reactos/lib/cpl/ncpa/cz.rc --- trunk/reactos/lib/cpl/ncpa/cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/ncpa/cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,87 @@ +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +IDD_PROPPAGENETWORK DIALOG DISCARDABLE 0, 0, 246, 228 +STYLE DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "SÝØ" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "SÝØovÚ adaptÚry",-1,9,9,217,8 + LISTBOX IDC_NETCARDLIST,9,21,229,73,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP + PUSHBUTTON "&P°idat",IDC_ADD,9,100,60,14 + PUSHBUTTON "&Odebrat",IDC_REMOVE,72,100,60,14 + PUSHBUTTON "&Vlastnosti",IDC_PROPERTIES,179,100,60,14 +END + +IDD_NETPROPERTIES DIALOG DISCARDABLE 0, 0, 246, 228 +STYLE DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "ObecnÚ nastavenÝ" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "P°ipojit prost°ednictvÝm:", -1, 9,9,217,8 + EDITTEXT IDC_NETCARDNAME, 9, 21, 230, 12, WS_DISABLED | WS_BORDER | WS_TABSTOP + PUSHBUTTON "&Nastavit", IDC_CONFIGURE, 189, 38, 50, 14 + LTEXT "VybranÚ komponenty jsou pou×Ývßny tÝmto p°ipojenÝm:", -1, 9, 59, 217, 8 + LISTBOX IDC_COMPONENTSLIST, 9, 71, 230, 67, LBS_STANDARD + PUSHBUTTON "&Instalovat", IDC_INSTALL, 9, 130, 65, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Odstranit", IDC_UNINSTALL, 90, 130, 65, 14, WS_DISABLED | WS_TABSTOP + PUSHBUTTON "&Vlastnosti", IDC_PROPERTIES, 174, 130, 65, 14 + GROUPBOX "Popis", -1, 9, 153, 230, 46, BS_GROUPBOX + LTEXT "Tak tady bude popis komponenty...", IDC_DESCRIPTION, 15, 165, 217, 28, WS_GROUP + CHECKBOX "Po p°ipojenÝ zobrazit ikonu na hlavnÝm panelu", IDC_SHOWTASKBAR, 9, 206, 230, 12, BS_AUTOCHECKBOX | WS_DISABLED | WS_TABSTOP +END + + +IDD_CARDPROPERTIES DIALOG DISCARDABLE 0, 0, 200,180 +STYLE DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "ObecnÚ nastavenÝ" +FONT 8, "MS Shell Dlg" +BEGIN + GROUPBOX "SpojenÝ", -1, 9, 8, 182, 58, BS_GROUPBOX + LTEXT "Status:", -1, 19, 20, 60, 8 + LTEXT "Doba p°ipojenÝ:", -1, 19, 34, 60, 8 + LTEXT "Rychlost:", -1, 19, 48, 60, 8 + GROUPBOX "Aktivita", -1, 9, 74, 182, 70, BS_GROUPBOX + RTEXT "Odeslßno", -1, 26, 90, 60, 8 + ICON IDI_HORIZONTAL, -1, 90, 85, 18, 20 + ICON IDI_NETSTAT, -1, 110, 85, 18, 20 + ICON IDI_HORIZONTAL, -1, 130, 85, 18, 20 + LTEXT "P°ijato", -1, 149, 90, 37, 8 + LTEXT "Paket¨:", -1, 17, 115, 32, 8 + RTEXT "000.000.000", IDC_SEND, 63, 115, 44, 8 + ICON IDI_VERTICAL, -1, 110, 108, 18, 20 + RTEXT "000.000.000", IDC_RECEIVED, 139, 115, 44, 8 + PUSHBUTTON "&Vlastnosti", IDC_PROPERTIES, 10, 150, 50, 14 + PUSHBUTTON "&Zakßzat", IDC_ENDISABLE, 66, 150, 50, 14 +END + +IDD_TCPIPPROPERTIES DIALOG DISCARDABLE 0, 0, 246, 228 +STYLE DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "ObecnÚ nastavenÝ" +FONT 8, "MS Shell Dlg" +BEGIN + LTEXT "Konfigurace IP adres m¨×e probýhnout automaticky, pokud to VaÜe sÝØ dovoluje. V opaÞnÚm p°Ýpadý kontaktujte sprßvce sÝtý pro sprßvnÚ nastavenÝ.", -1, 9, 9, 228, 27 + CONTROL "ZÝskat IP adresu automaticky", IDC_USEDHCP, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP, 14, 43, 210, 12 + GROUPBOX "", -1, 9, 61, 228, 70, BS_GROUPBOX + CONTROL "&Pou×Ýt nßsledujÝcÝ IP adresu:", IDC_NODHCP, "BUTTON", BS_AUTORADIOBUTTON, 14, 59, 105, 12 + LTEXT "IP adresa:", -1, 14, 75, 135, 8 + CONTROL "",IDC_IPADDR,"SysIPAddress32",0,150,75-2,80,12 + LTEXT "Maska podsÝtý:", -1, 14, 90, 135, 8 + CONTROL "",IDC_SUBNETMASK,"SysIPAddress32",0,150,90-2,80,12 + LTEXT "V²chozÝ brßna:", -1, 14, 105, 135, 8 + CONTROL "",IDC_DEFGATEWAY,"SysIPAddress32",0,150,105-2,80,12 + CONTROL "ZÝskat adresy DNS server¨ automaticky", IDC_AUTODNS, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP, 14, 139, 210, 12 + GROUPBOX "", -1, 9, 157, 228, 47, BS_GROUPBOX + CONTROL "&Pou×Ýt nßsledujÝcÝ adresy DNS server¨", IDC_FIXEDDNS, "BUTTON", BS_AUTORADIOBUTTON, 14, 155, 142, 12 + LTEXT "Up°ednost?ovan² DNS server:", -1, 14, 171, 135, 8 + CONTROL "",IDC_DNS1,"SysIPAddress32",0,150,171-2,80,12 + LTEXT "Zßlo×nÝ DNS server:", -1, 14, 186, 135, 8 + CONTROL "",IDC_DNS2,"SysIPAddress32",0,150,186-2,80,12 + PUSHBUTTON "&RozÜÝ°enÚ", IDC_ADVANCED, 186, 209, 50, 14, WS_DISABLED | WS_TABSTOP +} + + +STRINGTABLE +BEGIN + IDS_CPLSYSTEMNAME "SÝØovß nastavenÝ" + IDS_CPLSYSTEMDESCRIPTION "Konigurace sÝØov²ch adaptÚr¨ a p°ipojenÝ" +END _____ Modified: trunk/reactos/lib/cpl/ncpa/ncpa.rc --- trunk/reactos/lib/cpl/ncpa/ncpa.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/ncpa/ncpa.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -22,6 +22,7 @@ IDI_VERTICAL ICON "resources/VERTIC.ICO" IDI_NETSTAT ICON "resources/NETCONN.ICO" +#include "cz.rc" #include "en.rc" #include "de.rc" #include "dk.rc" _____ Added: trunk/reactos/lib/cpl/sysdm/cz.rc --- trunk/reactos/lib/cpl/sysdm/cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/sysdm/cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,139 @@ +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +RC_LICENSE RTDATA "resources/gpl.txt" + +IDD_PROPPAGEGENERAL DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "ObecnÚ informace" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "OperaÞnÝ systÚm",-1,SYSTEM_COLUMN,LABELLINE(2),PROPSHEETWIDTH-SYSTEM_COLUMN-PROPS HEETPADDING,8 + LTEXT REACTOS_STR_PRODUCT_NAME,-1,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE(3), PROPSHEETWIDTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + LTEXT "Verze " REACTOS_STR_PRODUCT_VERSION,-1,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE( 4),PROPSHEETWIDTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + + LTEXT "PoÞÝtaÞ",-1,SYSTEM_COLUMN,LABELLINE(6),PROPSHEETWIDTH-SYSTEM_COLUMN-PRO PSHEETPADDING,8 + LTEXT "",IDC_PROCESSORMANUFACTURER,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE(7) ,PROPSHEETWIDTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + LTEXT "",IDC_PROCESSOR,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE(8),PROPSHEETWI DTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + LTEXT "",IDC_PROCESSORSPEED,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE(9),PROPSH EETWIDTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + LTEXT "",IDC_SYSTEMMEMORY,SYSTEM_COLUMN+PROPSHEETPADDING,LABELLINE(10),PROPSHE ETWIDTH-SYSTEM_COLUMN-PROPSHEETPADDING,8 + + EDITTEXT IDC_LICENSEMEMO,PROPSHEETPADDING,LABELLINE(13),PROPSHEETWIDTH-(2*PROPSHE ETPADDING),PROPSHEETHEIGHT-LABELLINE(13)-PROPSHEETPADDING,ES_LEFT|WS_TAB STOP|WS_BORDER|WS_VSCROLL|WS_HSCROLL|WS_GROUP|ES_MULTILINE|ES_READONLY +END + +IDD_PROPPAGECOMPUTER DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "SÝØovß identifikace" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + ICON IDI_DEVMGR, IDC_ICON1, PROPSHEETPADDING,LABELLINE(1)-5, ICONSIZE, ICONSIZE, SS_ICON + LTEXT "ReactOS pou×Ývß nßsledujÝcÝ informace k identifikaci VaÜeho poÞÝtaÞe v sÝti.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(1)-5,PROPSHEETWIDTH-(6 *PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + LTEXT "Nßzev poÞÝtaÞe:",-1,PROPSHEETPADDING,LABELLINE(4)-4,17*PROPSHEETPADDING,LABELL INE(4)-4 + LTEXT "(V²chozÝ)",IDC_COMPUTERNAME,17*PROPSHEETPADDING,LABELLINE(4)-5,60,LABEL LINE(4)-5 + LTEXT "Skupina:",IDC_WORKGROUPDOMAIN,PROPSHEETPADDING,LABELLINE(6)-6,17*PROPSH EETPADDING,LABELLINE(6)-6 + LTEXT "(PrßzdnÚ)",IDC_WORKGROUPDOMAIN_NAME,17*PROPSHEETPADDING,LABELLINE(6)-6, 60,LABELLINE(6)-6 + LTEXT "Pro spuÜtýnÝ Pr¨vodce identifikacÝ v sÝti, klepnýte na SÝØovß ID.",-1,PROPSHEETPADDING,LABELLINE(7)+5,PROPSHEETWIDTH-(12*PROPSHEETPADD ING)-ICONSIZE,LABELLINE(8)+5 + PUSHBUTTON "&SÝØovß ID...",IDC_NETWORK_ID,175,LABELLINE(7)+5,70,LABELLINE(1)+4 + LTEXT "Pro p°ejmenovßnÝ poÞÝtaÞe nebo nastavenÝ domÚny, klepnýte na Vlastnosti.",-1,PROPSHEETPADDING,LABELLINE(11)+2,PROPSHEETWIDTH-(12*PROP SHEETPADDING)-ICONSIZE,LABELLINE(12)+2 + PUSHBUTTON "&Vlastnosti",IDC_NETWORK_PROPERTY,175,LABELLINE(11)+2,70,LABELLINE(1)+4 +END + +IDD_PROPPAGEHARDWARE DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Hardware" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "Pr¨vodce hardwarem",-1,PROPSHEETPADDING,LABELLINE(1),PROPSHEETWIDTH-(2*PROPSHEETP ADDING),LABELLINE(6)+PROPSHEETPADDING + LTEXT "Pr¨vodce hardwarem pomßhß p°i instalaci, odstranýnÝ, opravý, odpojenÝ, vysunutÝ a konfiguraci hardwaru.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(2),PROPSHEETWIDTH- (6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(2), ICONSIZE, ICONSIZE, SS_ICON + PUSHBUTTON "&Pr¨vodce hardwarem...",IDC_HARDWARE_WIZARD,PROPSHEETWIDTH-(17*PROPSHEETPADDING),L ABELLINE(5)+2,(15*PROPSHEETPADDING),14 + + GROUPBOX "Sprßvce za°ÝzenÝ",-1,PROPSHEETPADDING,LABELLINE(8)+5,PROPSHEETWIDTH-(2*PROPSHEET PADDING),LABELLINE(7)+2 + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(10)-3,ICONSIZE, ICONSIZE, SS_ICON + LTEXT "Sprßvce za°ÝzenÝ zobrazuje veÜker² hardware nainstalovan² ve VaÜem poÞÝtaÞi. Spßvce za°ÝzenÝ pou×ijte v p°Ýpadý, ×e chcete zmýnit vlastnosti hardware.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(10)-3,PROPSHEETWID TH-(6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + + PUSHBUTTON "&Sprßvce za°ÝzenÝ...",IDC_HARDWARE_DEVICE_MANAGER,PROPSHEETWIDTH-(17*PROPSHEETPAD DING),LABELLINE(13)+2,(15*PROPSHEETPADDING),14 + + GROUPBOX "HardwarovÚ profily",-1,PROPSHEETPADDING,LABELLINE(16)+3,PROPSHEETWIDTH-(2*PROPSHEET PADDING),LABELLINE(6)+PROPSHEETPADDING + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(18)-5, ICONSIZE, ICONSIZE, SS_ICON + LTEXT "HardwarovÚ profily dovolujÝ uklßdat r¨znß nastavenÝ hardware VaÜeho poÞÝtaÞe.",0,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(18)-5,PROPSHEETWIDT H-(6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + PUSHBUTTON "Hard&warovÚ profily...",IDC_HARDWARE_PROFILE,PROPSHEETWIDTH-(17*PROPSHEETPADDING),LA BELLINE(20)+2,(15*PROPSHEETPADDING),14 +END + +IDD_PROPPAGEUSERPROFILE DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "U×ivatelskÚ profily" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + ICON IDI_DEVMGR, IDC_ICON1, PROPSHEETPADDING,LABELLINE(1), ICONSIZE, ICONSIZE, SS_ICON + LTEXT "U×ivatelskÚ profily obsahujÝ informace vztahujÝcÝ se k p°ihlßÜenÝ. Na ka×dÚm poÞÝtaÞi mohou b²t pou×ity rozdÝlnÚ profily, nebo mohou b²t nastaveny tzv. cestovnÝ profily, kterÚ lze p°enßÜet libovolný mezi r¨zn²mi poÞÝtaÞi.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(1),PROPSHEETWIDTH- (6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(4) + LTEXT "Profily ulo×enÚ v tomto poÞÝtaÞi:",-1,PROPSHEETPADDING,LABELLINE(6),PROPSHEETWIDTH-(6*PROPSHEETP ADDING)-ICONSIZE,LABELLINE(1) + CONTROL "",IDC_USERPROFILE_LIST,"SysListView32",LVS_REPORT|LVS_SINGLESEL|LVS_SHO WSELALWAYS|LVS_SORTASCENDING|WS_BORDER|WS_TABSTOP,PROPSHEETPADDING,LABEL LINE(8),PROPSHEETWIDTH-(2*PROPSHEETPADDING),LABELLINE(11),WS_EX_CLIENTED GE + + PUSHBUTTON "Odstranit",IDC_USERPROFILE_DELETE,PROPSHEETPADDING,LABELLINE(20),60,LAB ELLINE(1)+2 + PUSHBUTTON "Zmýnit typ...",IDC_USERPROFILE_CHANGE,(PROPSHEETWIDTH/2)-30,LABELLINE(20),60,LA BELLINE(1)+2 + PUSHBUTTON "KopÝrovat...",IDC_USERPROFILE_COPY,PROPSHEETWIDTH-PROPSHEETPADDING-60,L ABELLINE(20),60,LABELLINE(1)+2 +END + +IDD_PROPPAGEADVANCED DIALOGEX 0, 0, PROPSHEETWIDTH, PROPSHEETHEIGHT +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "RozÜÝ°enÚ nastavenÝ" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "V²kon",-1,PROPSHEETPADDING,LABELLINE(1),PROPSHEETWIDTH-(2*PROPSHEETPADD ING),LABELLINE(6)+PROPSHEETPADDING + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(2), ICONSIZE, ICONSIZE, SS_ICON + LTEXT "Volby v²konu nastavujÝ, jak aplikace pou×ÝvajÝ pamýØ. NastavenÝ týchto hodnot zßsadný ovliv?uje v²kon systÚmu.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(2),PROPSHEETWIDTH-( 6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + PUSHBUTTON "&Volby v²konu...",IDC_ENVVAR,PROPSHEETWIDTH-(20*PROPSHEETPADDING),LABELLINE(5)+ 2,(18*PROPSHEETPADDING),14 + GROUPBOX "PromýnnÚ prost°edÝ",-1,PROPSHEETPADDING,LABELLINE(8)+2,PROPSHEETWIDTH-(2*PROPSHEE TPADDING),LABELLINE(6)+PROPSHEETPADDING + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(10)-5, ICONSIZE, ICONSIZE, SS_ICON + LTEXT "PromýnnÚ prost°edÝ uchovßvajÝ cesty k urÞit²m systÚmov²m informacÝm.",-1,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(10)-5,PROPSHEETW IDTH-(6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + PUSHBUTTON "&PromýnnÚ prost°edÝ...",IDC_ENVVAR,PROPSHEETWIDTH-(20*PROPSHEETPADDING),LABELLINE( 12)+2,(18*PROPSHEETPADDING),14 + GROUPBOX "&SpuÜtýnÝ && zotavenÝ",-1,PROPSHEETPADDING,LABELLINE(15)+3,PROPSHEETWIDTH-(2*PROPSHEE TPADDING),LABELLINE(6)+PROPSHEETPADDING + ICON IDI_DEVMGR, IDC_ICON1, (2*PROPSHEETPADDING),LABELLINE(17)-5, ICONSIZE, ICONSIZE, SS_ICON + LTEXT "SpuÜtýnÝ && zotavenÝ nastavuje start poÞÝtaÞe a akce, kterÚ se vykonajÝ p°i neoÞekßvanÚm zastavenÝ chodu systÚmu.",0,(4*PROPSHEETPADDING)+ICONSIZE,LABELLINE(17)-5,PROPSHEETWIDTH -(6*PROPSHEETPADDING)-ICONSIZE,LABELLINE(3) + PUSHBUTTON "&SpuÜtýnÝ && zotavenÝ...",IDC_STAREC,PROPSHEETWIDTH-(20*PROPSHEETPADDING),LABELLINE(1 9)+2,(18*PROPSHEETPADDING),14 +END + +IDD_ENVIRONMENT_VARIABLES DIALOGEX 6, 18, 252, 245 +STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "PromýnnÚ prost°edÝ" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "U×ivatelskÚ promýnnÚ",-1,7,12,238,100 + LTEXT "&PromýnnÚ:",-1,14,24,224,8 + CONTROL "",IDC_USER_VARIABLE_LIST,"SysListView32",LVS_REPORT|LVS_SINGLESEL|LVS_S HOWSELALWAYS|LVS_SORTASCENDING|LVS_NOSORTHEADER|WS_VSCROLL|WS_HSCROLL|WS _TABSTOP,14,35,224,48,WS_EX_CLIENTEDGE + PUSHBUTTON "&Novß...",IDC_USER_VARIABLE_NEW,80,90,50,14 + PUSHBUTTON "&Zmýnit...",IDC_USER_VARIABLE_EDIT,134,90,50,14 + PUSHBUTTON "&Odstranit",IDC_USER_VARIABLE_DELETE,188,90,50,14 + + GROUPBOX "SystÚmovÚ promýnnÚ",-1,7,116,238,100 + LTEXT "P&romýnnÚ:",-1,14,128,224,8 + CONTROL "",IDC_SYSTEM_VARIABLE_LIST,"SysListView32",LVS_REPORT|LVS_SINGLESEL|LVS _SHOWSELALWAYS|LVS_SORTASCENDING|LVS_NOSORTHEADER|WS_VSCROLL|WS_HSCROLL| WS_TABSTOP,14,139,224,48,WS_EX_CLIENTEDGE + PUSHBUTTON "No&vß...",IDC_SYSTEM_VARIABLE_NEW,80,194,50,14 + PUSHBUTTON "Zm&ýnit...",IDC_SYSTEM_VARIABLE_EDIT,134,194,50,14 + PUSHBUTTON "Od&stranit",IDC_SYSTEM_VARIABLE_DELETE,188,194,50,14 + + DEFPUSHBUTTON "OK",IDOK,141,224,50,14,WS_GROUP + PUSHBUTTON "Storno",IDCANCEL,195,224,50,14 +END + + +IDD_EDIT_VARIABLE DIALOGEX 10, 15, 227, 71 +STYLE DS_MODALFRAME | DS_CONTEXTHELP | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU +CAPTION "Zmýna promýnnÚ" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + LTEXT "Nßzev &promýnnÚ:",-1,7,14,50,8 + EDITTEXT IDC_VARIABLE_NAME,75,12,145,12,ES_AUTOHSCROLL + LTEXT "&Hodnota promýnnÚ:",-1,7,32,50,8 + EDITTEXT IDC_VARIABLE_VALUE,75,30,145,12,ES_AUTOHSCROLL + + DEFPUSHBUTTON "OK",IDOK,116,50,50,14,WS_GROUP + PUSHBUTTON "Storno",IDCANCEL,170,50,50,14 +END + + +STRINGTABLE +BEGIN + IDS_CPLSYSTEMNAME "SystÚm" + IDS_CPLSYSTEMDESCRIPTION "Zobrazuje informace o VaÜem poÞÝtaÞi, mýnÝ r¨znÚ systÚmovÚ promýnnÚ a hardwarovÚ vlastnosti." +END _____ Modified: trunk/reactos/lib/cpl/sysdm/sysdm.rc --- trunk/reactos/lib/cpl/sysdm/sysdm.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/sysdm/sysdm.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -17,6 +17,7 @@ IDI_CPLSYSTEM ICON "resources/applet.ico" IDI_DEVMGR ICON "resources/devmgr.ico" +#include "cz.rc" #include "en.rc" #include "de.rc" #include "dk.rc" _____ Added: trunk/reactos/lib/cpl/timedate/Cz.rc --- trunk/reactos/lib/cpl/timedate/Cz.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/timedate/Cz.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -0,0 +1,42 @@ +LANGUAGE LANG_CZECH, SUBLANG_DEFAULT + +IDD_DATETIMEPAGE DIALOGEX 0, 0, 252, 146 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "Datum && ?as" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + GROUPBOX "&Datum", -1, 4, 2, 122, 125 + CONTROL "", IDC_DATEPICKER, "SysDateTimePick32", + DTS_SHORTDATEFORMAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, + 11, 17, 108, 12 + CONTROL "", IDC_MONTHCALENDAR, "SysMonthCal32", + WS_CHILD | WS_VISIBLE | WS_TABSTOP, + 11, 37, 108, 80 + GROUPBOX "&?as", -1, 132, 2, 113, 125 + CONTROL "", IDC_TIMEPICKER, "SysDateTimePick32", + DTS_TIMEFORMAT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, + 144, 17, 90, 12 + LTEXT "", IDC_TIMEZONE, 4, 136, 241, 8 +END + + +IDD_TIMEZONEPAGE DIALOGEX 0, 0, 252, 146 +STYLE DS_SETFONT | DS_FIXEDSYS | WS_CHILD | WS_DISABLED | WS_CAPTION +CAPTION "?asovÚ pßsmo" +FONT 8, "MS Shell Dlg", 0, 0, 0x0 +BEGIN + COMBOBOX IDC_TIMEZONELIST, 5, 4, 241, 136, + CBS_DROPDOWNLIST | WS_VSCROLL | WS_VISIBLE | WS_TABSTOP + AUTOCHECKBOX "Provßdýt zmýnu na letnÝ Þas a zpýt automaticky", + IDC_AUTODAYLIGHT, 5, 136, 241, 10, WS_VISIBLE | WS_GROUP | WS_TABSTOP +END + + +STRINGTABLE +BEGIN + IDS_CPLNAME "Datum/?as" + IDS_CPLDESCRIPTION "Nastavuje datum, Þas a zmýny ÞasovÚho pßsma." + IDS_TIMEZONETEXT "AktußlnÝ ÞasovÚ pßsmo: %s" + IDS_TIMEZONEINVALID "NeplatnÚ" + IDS_TIMEZONEUNKNOWN "NeznßmÚ" +END _____ Modified: trunk/reactos/lib/cpl/timedate/timedate.rc --- trunk/reactos/lib/cpl/timedate/timedate.rc 2005-04-30 17:43:18 UTC (rev 14884) +++ trunk/reactos/lib/cpl/timedate/timedate.rc 2005-04-30 18:49:41 UTC (rev 14885) @@ -17,6 +17,7 @@ IDC_CPLICON ICON "resources/applet.ico" +#include "Cz.rc" #include "En.rc" #include "De.rc" #include "Dk.rc"
19 years, 7 months
1
0
0
0
← Newer
1
2
3
4
...
48
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Results per page:
10
25
50
100
200