Changeset 222 for trunk/src/helpers/dosh2.c
- Timestamp:
- Sep 3, 2002, 8:17:46 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/dosh2.c
r200 r222 368 368 */ 369 369 370 staticAPIRET CopyToBuffer(PSZ pszTarget, // out: target buffer370 STATIC APIRET CopyToBuffer(PSZ pszTarget, // out: target buffer 371 371 PCSZ pcszSource, // in: source string 372 372 ULONG cbTarget) // in: size of target buffer … … 485 485 */ 486 486 487 staticAPIRET FindFile(const char *pcszCommand, // in: command (e.g. "lvm")487 STATIC APIRET FindFile(const char *pcszCommand, // in: command (e.g. "lvm") 488 488 PSZ pszExecutable, // out: full path (e.g. "F:\os2\lvm.exe") 489 489 ULONG cbExecutable) // in: sizeof (*pszExecutable) … … 785 785 */ 786 786 787 staticAPIRET AppendPartition(PARTITIONINFO **pppiFirst,787 STATIC APIRET AppendPartition(PARTITIONINFO **pppiFirst, 788 788 PARTITIONINFO **pppiThis, // in/out: partition info; pointer will be advanced 789 789 PUSHORT posCount, // in/out: partition count … … 916 916 */ 917 917 918 staticUSHORT GetCyl(USHORT rBeginSecCyl)918 STATIC USHORT GetCyl(USHORT rBeginSecCyl) 919 919 { 920 920 return ( (rBeginSecCyl & 0x00C0) << 2) … … 931 931 */ 932 932 933 staticUSHORT GetSec(USHORT rBeginSecCyl)933 STATIC USHORT GetSec(USHORT rBeginSecCyl) 934 934 { 935 935 return rBeginSecCyl & 0x003F; … … 1018 1018 */ 1019 1019 1020 staticAPIRET GetPrimaryPartitions(PARTITIONINFO **pppiFirst,1020 STATIC APIRET GetPrimaryPartitions(PARTITIONINFO **pppiFirst, 1021 1021 PARTITIONINFO **pppiThis, 1022 1022 PUSHORT posCount, // in/out: partition count … … 1105 1105 */ 1106 1106 1107 staticAPIRET GetLogicalDrives(PARTITIONINFO **pppiFirst,1107 STATIC APIRET GetLogicalDrives(PARTITIONINFO **pppiFirst, 1108 1108 PARTITIONINFO **pppiThis, 1109 1109 PUSHORT posCount, … … 1194 1194 */ 1195 1195 1196 staticAPIRET GetExtendedPartition(PARTITIONINFO **pppiFirst,1196 STATIC APIRET GetExtendedPartition(PARTITIONINFO **pppiFirst, 1197 1197 PARTITIONINFO **pppiThis, 1198 1198 PUSHORT posCount, … … 1239 1239 */ 1240 1240 1241 staticAPIRET ReadFDiskPartitions(PARTITIONINFO **ppPartitionInfos,1241 STATIC APIRET ReadFDiskPartitions(PARTITIONINFO **ppPartitionInfos, 1242 1242 USHORT *pcPartitions, 1243 1243 PUSHORT pusContext) // out: error context … … 1312 1312 */ 1313 1313 1314 staticVOID CleanPartitionInfos(PPARTITIONINFO ppiThis)1314 STATIC VOID CleanPartitionInfos(PPARTITIONINFO ppiThis) 1315 1315 { 1316 1316 while (ppiThis) … … 2019 2019 */ 2020 2020 2021 staticBOOL PerformMatch(PCSZ pMask,2021 STATIC BOOL PerformMatch(PCSZ pMask, 2022 2022 PCSZ pName, 2023 2023 int fHasDot)
Note:
See TracChangeset
for help on using the changeset viewer.