https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f06066dc6e893d78a6c6b…
commit f06066dc6e893d78a6c6bf3d4cc9224c4062edc0
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Jun 11 13:13:27 2022 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Jun 11 13:13:27 2022 +0200
[DISKPART] Add help text for the SELECT DISK command
---
base/system/diskpart/diskpart_msg.mc | 405 ++++++++++++++++++++++++++++++++++-
1 file changed, 395 insertions(+), 10 deletions(-)
diff --git a/base/system/diskpart/diskpart_msg.mc b/base/system/diskpart/diskpart_msg.mc
index c974c6ddc72..ed0cebc248e 100644
--- a/base/system/diskpart/diskpart_msg.mc
+++ b/base/system/diskpart/diskpart_msg.mc
@@ -2778,34 +2778,419 @@ SymbolicName=MSG_COMMAND_SELECT_DISK
Severity=Informational
Facility=System
Language=English
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=German
-<Add SELECT DISK command help text here>
+ Dient zum Auswählen des angegebenen Datenträgers sowie zum
+ Festlegen des Fokus auf den Datenträger.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ Die DiskPart-Datenträgerindexnummer des Datenträgers, auf
+ den der Fokus festgelegt werden soll.
+
+ DISK=<Pfad>
+ Der Speicherortpfad des Datenträgers, auf den der Fokus
+ festgelegt werden soll.
+
+ DISK=SYSTEM
+ Bei BIOS-Computern erhält der BIOS-Datenträger "0" den
+ Fokus. Bei EFI-Computern erhält der Datenträger mit der
+ ESP-Partition, der für den aktuellen Startvorgang verwendet
+ wird, den Fokus. Bei EFI-Computern ohne ESP oder mit
+ mehreren ESPs (oder beim Start des Computers unter Ver-
+ wendung von Windows PE) tritt bei Verwendung des Befehls
+ ein Fehler auf.
+
+ DISK=NEXT
+ Nach Auswahl eines Datenträgers erfolgt mithilfe dieses
+ Befehls eine Iteration durch alle Datenträger in der Daten-
+ trägerliste. Der nächste Datenträger in der Liste erhält den
+ Fokus. Handelt es sich beim nächsten Datenträger um den
+ Beginn der Aufzählung, tritt bei dem Befehl ein Fehler auf, und
+ keiner der Datenträger erhält den Fokus.
+
+ Ohne Angabe von Optionen wird mithilfe des Befehls "Select" der
+ Datenträger angegeben, der derzeit den Fokus besitzt. Verwenden
+ Sie zum Anzeigen der DiskPart-Indexnummern für alle Datenträger
+ des Computers den Befehl "LIST DISK".
+
+Beispiele:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Polish
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Portugese
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Romanian
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Russian
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Albanian
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Turkish
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Chinese
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
Language=Taiwanese
-<Add SELECT DISK command help text here>
+ Selects the specified disk and shifts the focus to it.
+
+Syntax: SELECT DISK=<N>
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=<Path>
+
+ DISK=<N>
+ The DiskPart disk index number of the disk to receive
+ focus.
+
+ DISK=<Path>
+ The location path of the disk to receive focus.
+
+ DISK=SYSTEM
+ On BIOS machines, BIOS disk 0 will receive focus.
+ On EFI machines, the disk containing the ESP partition
+ used for the current boot will receive focus. On EFI
+ machines, if there is no ESP, or there is more than
+ one ESP present, or the machine is booted from Windows PE,
+ the command will fail.
+
+ DISK=NEXT
+ Once a disk is selected, this command is used to iterate
+ over all disks in the disk list. The next disk in the list
+ will receive focus. If the next disk is the start of the
+ enumeration, the command will fail and no disk will have
+ focus.
+
+ If no options are specified, the select command lists the disk that
+ currently has the focus. You can view the DiskPart index numbers
+ for all disks on the computer by using the LIST DISK command.
+
+Example:
+
+ SELECT DISK=1
+ SELECT DISK=SYSTEM
+ SELECT DISK=NEXT
+ SELECT DISK=PCIROOT(0)#PCI(0100)#ATA(C00T00L01)
.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=84512b7abddffe28d9b95…
commit 84512b7abddffe28d9b95472635b9c2bcf4bd732
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Fri Jun 10 22:01:42 2022 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Fri Jun 10 22:02:07 2022 +0200
[DISKPART] Add help text for the SETID command
---
base/system/diskpart/diskpart_msg.mc | 741 ++++++++++++++++++++++++++++++++++-
1 file changed, 732 insertions(+), 9 deletions(-)
diff --git a/base/system/diskpart/diskpart_msg.mc b/base/system/diskpart/diskpart_msg.mc
index 15ccd2c3117..c974c6ddc72 100644
--- a/base/system/diskpart/diskpart_msg.mc
+++ b/base/system/diskpart/diskpart_msg.mc
@@ -3004,31 +3004,754 @@ Example:
SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=German
-<Add SETID command help text here>
+
+ Ändert das Partitionstypfeld für die Partition im Fokus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Gibt den neuen Partitionstyp an.
+
+ Für MBR-Datenträger (Master Boot Record) können Sie ein
+ Partitionstypbyte im Hexadezimalformat angeben. Mit
+ diesem Parameter können Sie jedes Partitionstypbyte angeben,
+ außer Typ "0x42" (LDM-Partition). Das voranstehende "0x" wird
+ bei Angabe des hexadezimalen Partitionstyps ausgelassen.
+
+ Für GPT-Datenträger (GPT = GUID-Partitionstabelle) können
+ Sie einen Partitionstyp-GUID für die zu erstellende Partition
+ angeben: Zu den erkannten GUIDs gehören:
+
+ EFI-Systempartition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basisdatenpartition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Mit diesem Parameter kann jeder Partitionstyp-GUID
+ angegeben werden, mit Ausnahme der folgenden:
+
+ MSR-Partition (Microsoft Reserved):
+ e3c9e316-0b5c-4db8-817d-f92df00215ae
+
+ LDM-Metadatenpartition auf einem dynamischen Datenträger:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM-Datenpartition auf einem dynamischen Datenträger:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Clustermetadaten-Partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Abgesehen von den erwähnten Einschränkungen überprüft
+ DiskPart die Gültigkeit des Partitionstyps nicht. Es wird
+ lediglich sichergestellt, dass es sich um ein Byte im Hexadezi-
+ malformat oder um einen GUID handelt
+
+ OVERRIDE Ermöglicht DiskPart die Aufhebung der Bereitstellung
+ des Dateisystems auf dem Volume zu erzwingen, bevor der
+ Partitionstyp geändert wird. Beim Ändern des Partitionstyps
+ wird das Dateisystem auf dem Volume gesperrt und dessen
+ Bereitstellung aufgehoben. Wird dieser Parameter nicht an-
+ gegeben und schlägt der Aufruf zum Sperren des Dateisys-
+ tems fehl (da einige andere Anwendungen über ein geöffne-
+ tes Handle für das Volume verfügen), schlägt der gesamte
+ Vorgang fehl. Bei Angabe dieses Parameters wird die Auf-
+ hebung der Bereitstellung auch dann erzwungen, wenn der
+ Aufruf des Dateisystems fehlschlägt. Wird die Bereitstellung
+ eines Dateisystems aufgehoben, werden alle geöffneten
+ Handles für das Volume ungültig.
+
+ NOERR Nur für Skripting. Bei einem Fehler wird die Verarbeitung von
+ Befehlen fortgesetzt, als sei der Fehler nicht aufgetreten.
+ Ohne NOERR-Parameter wird DiskPart bei einem Fehler mit
+ dem entsprechenden Fehlercode beendet.
+
+ Ist nur für die Verwendung durch Originalgerätehersteller
+ (OEM, Original Equipment Manufacturer) vorgesehen.
+
+ Damit dieser Vorgang erfolgreich ausgeführt werden kann, muss
+ eine Partition ausgewählt sein.
+
+ Vorsicht:
+
+ Das Ändern von Partitionstypfeldern mit diesem Parameter kann
+ dazu führen, dass der Computer nicht mehr ordnungsgemäß
+ funktioniert oder nicht mehr gestartet werden kann. Sofern Sie
+ kein Originalgerätehersteller oder IT-Fachmann sind, der mit GPT-
+ Datenträgern vertraut ist, sollten Sie keine Partitionstypfelder auf
+ GPT-Datenträgern mit diesem Parameter ändern. Verwenden Sie
+ stattdessen immer den Befehl "CREATE PARTITION EFI" zum
+ Erstellen von EFI-Systempartitionen, den Befehl "CREATE
+ PARTITION MSR" zum Erstellen von MSR-Partitionen und den
+ Befehl "CREATE PARTITION PRIMARY" (ohne diesen Parameter)
+ zum Erstellen von primären Partitionen auf GPT-Datenträgern.
+
+ Dieser Befehl funktioniert weder auf dynamischen Datenträgern noch
+ auf MSR-Partitionen (Microsoft Reserved).
+
+Beispiel:
+
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Polish
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Portugese
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Romanian
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Russian
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Albanian
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Turkish
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Chinese
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
Language=Taiwanese
-<Add SETID command help text here>
+ Changes the partition type field for the partition with focus.
+
+Syntax: SET ID={<BYTE> | <GUID>} [OVERRIDE] [NOERR]
+
+ ID={<BYTE> | <GUID>}
+
+ Specifies the new partition type.
+ For master boot record (MBR) disks, you can specify a partition
+ type byte, in hexadecimal form, for the partition. Any
+ partition type byte can be specified with this parameter except
+ for type 0x42 (LDM partition). Note that the leading '0x' is
+ omitted when specifying the hexadecimal partition type.
+
+ For GUID partition table (GPT) disks you can specify a
+ partition type GUID for the partition. Recognized GUIDs
+ include:
+
+ EFI System partition:
+ c12a7328-f81f-11d2-ba4b-00a0c93ec93b
+
+ Basic data partition:
+ ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
+
+ Any partition type GUID can be specified with this parameter
+ except for the following:
+
+ Microsoft Reserved partition:
+ e3c9e316-0b5c-4db8-817d-f92df00215a
+
+ LDM Metadata partition on a dynamic disk:
+ 5808c8aa-7e8f-42e0-85d2-e1e90434cfb3
+
+ LDM Data partition on a dynamic disk:
+ af9b60a0-1431-4f62-bc68-3311714a69ad
+
+ Cluster Metadata partition:
+ db97dba9-0840-4bae-97f0-ffb9a327c7e1
+
+
+ Other than the limitations mentioned, DiskPart otherwise does
+ not check the partition type for validity except to ensure that
+ it is a byte in hexadecimal form or a GUID.
+
+ OVERRIDE Enables DiskPart to force the file system on the volume to
+ dismount before changing the partition type. When changing
+ the partition type, DiskPart will attempt to lock and dismount
+ the file system on the volume. If this parameter is not specified,
+ and the call to lock the file system fails, (because some other
+ application has an open handle to the volume), the entire
+ operation will fail. When this parameter is specified, the
+ dismount is forced even if the call to lock the file system
+ fails. When a file system is dismounted, all opened handles to
+ the volume will become invalid.
+
+ NOERR For scripting only. When an error is encountered, DiskPart
+ continues to process commands as if the error did not occur.
+ Without the NOERR parameter, an error causes DiskPart to exit
+ with an error code.
+
+ Intended for Original Equipment Manufacturer (OEM) use only.
+
+ A partition must be selected for this operation to succeed.
+
+ Caution:
+
+ Changing partition type fields with this parameter might cause your
+ computer to fail or be unable to start up. Unless you are an OEM or an
+ IT professional experienced with GPT disks, do not change partition
+ type fields on GPT disks using this parameter. Instead, always use the
+ CREATE PARTITION EFI command to create EFI System partitions, the
+ CREATE PARTITION MSR command to create Microsoft Reserved partitions,
+ and the CREATE PARTITION PRIMARY command without the ID parameter to
+ create primary partitions on GPT disks.
+
+ This command does not work on dynamic disks nor on Microsoft Reserved
+ partitions.
+
+Example:
+ SET ID=07 OVERRIDE
+ SET ID=ebd0a0a2-b9e5-4433-87c0-68b6b72699c7
.
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=81e0f74a7a150edb98e27…
commit 81e0f74a7a150edb98e272c5cf86a36488422795
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Mon Jun 6 20:54:26 2022 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Jun 8 19:19:59 2022 +0200
[WIN32K] Conditionally enable IMM32
MFC42 applications only expect an IME window when on a DBCS system,
so they will capture this IME window as their 'main' window on non-DBCS systems.
CORE-18212
---
win32ss/user/ntuser/simplecall.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/win32ss/user/ntuser/simplecall.c b/win32ss/user/ntuser/simplecall.c
index b228746a9e4..b0e1d86f1d0 100644
--- a/win32ss/user/ntuser/simplecall.c
+++ b/win32ss/user/ntuser/simplecall.c
@@ -124,7 +124,16 @@ NtUserCallNoParam(DWORD Routine)
break;
case NOPARAM_ROUTINE_UPDATEPERUSERIMMENABLING:
- gpsi->dwSRVIFlags |= SRVINFO_IMM32; // Always set.
+ // TODO: This should also check the registry!
+ // see https://www.pctipsbox.com/fix-available-for-ie7-memory-leaks-on-xp-sp3/ for more information
+ if (NLS_MB_CODE_PAGE_TAG)
+ {
+ gpsi->dwSRVIFlags |= SRVINFO_IMM32;
+ }
+ else
+ {
+ gpsi->dwSRVIFlags &= ~SRVINFO_IMM32;
+ }
Result = TRUE; // Always return TRUE.
break;