Skip to content

Commit ab2d95b

Browse files
committed
fix typos
1 parent 394f36b commit ab2d95b

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/GetDiskInfoFromWmi/GetDiskInfoFromWmi.au3

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
2222
CHANGELOG:
2323
2022-08-28 (v1.4.2)
24-
Fixed: Build warings for non declared vars $sDiskHeader, $sPartitionHeader (Github#28)
24+
Fixed: Build warnings for non declared variables $sDiskHeader and $sPartitionHeader. (Github#28)
2525
Added: New Readme.txt for this script. (Github#29)
2626
2727
2021-07-06 (v1.4.1)
@@ -70,10 +70,10 @@ Global Const $DiskInfoWmi_DiskType_Unknown = "Unknown%"
7070
Func _GetDiskInfoFromWmi(ByRef $aDiskList, ByRef $aPartitionList, $bAddTableHeader = $DiskInfoWmi_TableHeader_Yes, $sFilterDiskType = $DiskInfoWmi_DiskType_All)
7171
; Name ...............: _GetDiskInfoFromWmi
7272
; Author .............: htcfreek (Heiko) - https://github.com/htcfreek
73-
; Input parameter ....: ByRef $aDiskList = Array var for list of disks returned.
74-
; ByRef $aPartitionList = Array var for list of partitions returned.
73+
; Input parameter ....: ByRef $aDiskList = Array variable for list of disks returned.
74+
; ByRef $aPartitionList = Array variable for list of partitions returned.
7575
; [$bAddTableHeader = $DiskInfoWmi_TableHeader_Yes] = Should array tables have a header row. (Values: 0|1 or $DiskInfoWmi_TableHeader_Yes|$DiskInfoWmi_TableHeader_No)
76-
; [$sFilterDiskType = $DiskInfoWmi_DiskType_All] = Which type of disk should be included in result. (Values: $DiskInfoWmi_DiskType_All|$DiskInfoWmi_DiskType_External|$DiskInfoWmi_DiskType_Removable|$DiskInfoWmi_DiskType_Fixed|$DiskInfoWmi_DiskType_Unknown)
76+
; [$sFilterDiskType = $DiskInfoWmi_DiskType_All] = Which type of disk should be included in the result. (Values: $DiskInfoWmi_DiskType_All|$DiskInfoWmi_DiskType_External|$DiskInfoWmi_DiskType_Removable|$DiskInfoWmi_DiskType_Fixed|$DiskInfoWmi_DiskType_Unknown)
7777
; Output parameter ...: none
7878
; On WMI-Error .......: @error = 1
7979

src/GetDiskInfoFromWmi/Readme.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
**********************************************************************
22
* Name: _GetDiskInfoFromWmi *
3-
* Description: Returns disk and partition informations from WMI. *
3+
* Description: Returns disk and partition information from WMI. *
44
* Author: htcfreek (Heiko) - https://github.com/htcfreek [original] *
55
**********************************************************************
66

77
Detailed description:
88
---------------------
9-
This function generates two arrays conatining the list of all disks on this computer and all partitions on this computer. The arrays are returned using the output parameters of the funtion.
10-
There are two more funtion parameteres you can use to controll the output One to decide if the array tables should have a header line and one to control which types of disks are returned.
9+
This function generates two arrays conatining the list of all disks on this computer and all partitions on this computer. The arrays are returned using the output parameters of the function.
10+
There are two more fucntion parameters you can use to control the output: One to decide if the array tables should have a header line and one to control which types of disks are returned.
1111

1212
Parameters:
1313
-----------
14-
1. ByRef $aDiskList : Array var for list of disks returned.
15-
2. ByRef $aPartitionList : Array var for list of partitions returned.
14+
1. ByRef $aDiskList : Array variable for list of disks returned.
15+
2. ByRef $aPartitionList : Array variable for list of partitions returned.
1616
3. $bAddTableHeader (Optional, Default value = $DiskInfoWmi_TableHeader_Yes) : Should array tables have a header row. (Values: 0|1 or $DiskInfoWmi_TableHeader_Yes|$DiskInfoWmi_TableHeader_No)
17-
4. $sFilterDiskType (Optional, Default value = $DiskInfoWmi_DiskType_All) : Which type of disk should be included in result. (Values: $DiskInfoWmi_DiskType_All|$DiskInfoWmi_DiskType_External|$DiskInfoWmi_DiskType_Removable|$DiskInfoWmi_DiskType_Fixed|$DiskInfoWmi_DiskType_Unknown)
17+
4. $sFilterDiskType (Optional, Default value = $DiskInfoWmi_DiskType_All) : Which type of disk should be included in the result. (Values: $DiskInfoWmi_DiskType_All|$DiskInfoWmi_DiskType_External|$DiskInfoWmi_DiskType_Removable|$DiskInfoWmi_DiskType_Fixed|$DiskInfoWmi_DiskType_Unknown)
1818

1919
Output:
2020
-------

0 commit comments

Comments
 (0)