Changeset 41 for trunk/include/helpers/lvm.h
- Timestamp:
- Mar 3, 2001, 11:58:48 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/helpers/lvm.h
r14 r41 43 43 44 44 /* A BYTE is 8 bits of memory with no interpretation attached. */ 45 typedef unsigned char BYTE;45 // typedef unsigned char BYTE; 46 46 47 47 /* A BOOLEAN variable is one which is either TRUE or FALSE. */ 48 48 typedef unsigned char BOOLEAN; 49 #define TRUE 150 #define FALSE 0; 49 /* #define TRUE 1 50 #define FALSE 0; */ 51 51 52 52 /* An ADDRESS variable is one which holds the address of a location in memory. */ 53 typedef void * ADDRESS;53 // typedef void * ADDRESS; 54 54 55 55 /* pSTRING is a pointer to an array of characters. */ … … 57 57 58 58 /* 4 bytes */ 59 typedef unsigned long DoubleWord;59 // typedef unsigned long DoubleUSHORT; 60 60 61 61 /* 2 bytes */ 62 typedef short unsigned int Word;62 // typedef short unsigned int USHORT; 63 63 64 64 /* Define a Partition Sector Number. A Partition Sector Number is relative to the start of a partition. … … 93 93 typedef struct _Partition_Record 94 94 { 95 B yteBoot_Indicator; /* 80h = active partition. */96 B yteStarting_Head;97 B yteStarting_Sector; /* Bits 0-5 are the sector. Bits 6 and 7 are the high95 BYTE Boot_Indicator; /* 80h = active partition. */ 96 BYTE Starting_Head; 97 BYTE Starting_Sector; /* Bits 0-5 are the sector. Bits 6 and 7 are the high 98 98 order bits of the starting cylinder. */ 99 B yteStarting_Cylinder; /* The cylinder number is a 10 bit value. The high order99 BYTE Starting_Cylinder; /* The cylinder number is a 10 bit value. The high order 100 100 bits of the 10 bit value come from bits 6 & 7 of the 101 101 Starting_Sector field. */ 102 B yteFormat_Indicator; /* An indicator of the format/operation system on this102 BYTE Format_Indicator; /* An indicator of the format/operation system on this 103 103 partition. */ 104 B yteEnding_Head;105 B yteEnding_Sector;106 B yteEnding_Cylinder;107 DoubleWordSector_Offset; /* The number of sectors on the disk which are prior to104 BYTE Ending_Head; 105 BYTE Ending_Sector; 106 BYTE Ending_Cylinder; 107 ULONG Sector_Offset; /* The number of sectors on the disk which are prior to 108 108 the start of this partition. */ 109 DoubleWordSector_Count; /* The number of sectors in this partition. */109 ULONG Sector_Count; /* The number of sectors in this partition. */ 110 110 } Partition_Record; 111 111 112 112 typedef struct _Master_Boot_Record 113 113 { 114 B yteReserved[446];114 BYTE Reserved[446]; 115 115 Partition_Record Partition_Table[4]; 116 WordSignature; /* AA55h in this field indicates that this116 USHORT Signature; /* AA55h in this field indicates that this 117 117 is a valid partition table/MBR. */ 118 118 } Master_Boot_Record; … … 201 201 typedef struct _DLA_Entry 202 202 { 203 DoubleWordVolume_Serial_Number; /* The serial number of the volume203 ULONG Volume_Serial_Number; /* The serial number of the volume 204 204 that this partition belongs to. */ 205 DoubleWordPartition_Serial_Number; /* The serial number of this partition. */206 DoubleWordPartition_Size; /* The size of the partition, in sectors. */205 ULONG Partition_Serial_Number; /* The serial number of this partition. */ 206 ULONG Partition_Size; /* The size of the partition, in sectors. */ 207 207 LBA Partition_Start; /* The starting sector of the partition. */ 208 208 BOOLEAN On_Boot_Manager_Menu; /* Set to TRUE if this volume/partition … … 221 221 typedef struct _DLA_Table_Sector 222 222 { 223 DoubleWordDLA_Signature1; /* The magic signature (part 1) of a223 ULONG DLA_Signature1; /* The magic signature (part 1) of a 224 224 Drive Letter Assignment Table. */ 225 DoubleWordDLA_Signature2; /* The magic signature (part 2) of a225 ULONG DLA_Signature2; /* The magic signature (part 2) of a 226 226 Drive Letter Assignment Table. */ 227 DoubleWordDLA_CRC; /* The 32 bit CRC for this sector.227 ULONG DLA_CRC; /* The 32 bit CRC for this sector. 228 228 Calculated assuming that this 229 229 field and all unused space in 230 230 the sector is 0. */ 231 DoubleWordDisk_Serial_Number; /* The serial number assigned to231 ULONG Disk_Serial_Number; /* The serial number assigned to 232 232 this disk. */ 233 DoubleWordBoot_Disk_Serial_Number; /* The serial number of the disk used to233 ULONG Boot_Disk_Serial_Number; /* The serial number of the disk used to 234 234 boot the system. This is for conflict 235 235 resolution when multiple volumes want … … 298 298 typedef struct _LVM_Feature_Data 299 299 { 300 DoubleWordFeature_ID; /* The ID of the feature. */300 ULONG Feature_ID; /* The ID of the feature. */ 301 301 PSN Location_Of_Primary_Feature_Data; /* The PSN of the starting sector of 302 302 the private data for this feature.*/ … … 304 304 the backup copy of the private 305 305 data for this feature. */ 306 DoubleWordFeature_Data_Size; /* The number of sectors used by this306 ULONG Feature_Data_Size; /* The number of sectors used by this 307 307 feature for its private data. */ 308 WordFeature_Major_Version_Number; /* The integer portion of the version308 USHORT Feature_Major_Version_Number; /* The integer portion of the version 309 309 number of this feature. */ 310 WordFeature_Minor_Version_Number; /* The decimal portion of the version310 USHORT Feature_Minor_Version_Number; /* The decimal portion of the version 311 311 number of this feature. */ 312 312 BOOLEAN Feature_Active; /* TRUE if this feature is active on … … 322 322 that it is a part of, as well as which LVM features (BBR, drive linking, 323 323 etc.) are active on the volume that this partition is a part of. */ 324 324 #if 0 325 325 typedef struct _LVM_Signature_Sector 326 326 { 327 DoubleWordLVM_Signature1; /* The first part of the327 ULONG LVM_Signature1; /* The first part of the 328 328 magic LVM signature. */ 329 DoubleWordLVM_Signature2; /* The second part of329 ULONG LVM_Signature2; /* The second part of 330 330 the magic LVM 331 331 signature. */ 332 DoubleWordSignature_Sector_CRC; /* 32 bit CRC for this332 ULONG Signature_Sector_CRC; /* 32 bit CRC for this 333 333 sector. Calculated 334 334 using 0 for this 335 335 field. */ 336 DoubleWordPartition_Serial_Number; /* The LVM assigned336 ULONG Partition_Serial_Number; /* The LVM assigned 337 337 serial number for this 338 338 partition. */ … … 342 342 LBA Partition_End; /* LBA of the last sector 343 343 of this partition. */ 344 DoubleWordPartition_Sector_Count; /* The number of sectors344 ULONG Partition_Sector_Count; /* The number of sectors 345 345 in this partition. */ 346 DoubleWordLVM_Reserved_Sector_Count; /* The number of sectors346 ULONG LVM_Reserved_Sector_Count; /* The number of sectors 347 347 reserved for use by 348 348 LVM. */ 349 DoubleWordPartition_Size_To_Report_To_User; /* The size of the349 ULONG Partition_Size_To_Report_To_User; /* The size of the 350 350 partition as the user 351 351 sees it - i.e. (the … … 355 355 rounded to a track 356 356 boundary. */ 357 DoubleWordBoot_Disk_Serial_Number; /* The serial number of357 ULONG Boot_Disk_Serial_Number; /* The serial number of 358 358 the boot disk for the 359 359 system. If the system … … 364 364 active copy of Boot 365 365 Manager. */ 366 DoubleWordVolume_Serial_Number; /* The serial number of366 ULONG Volume_Serial_Number; /* The serial number of 367 367 the volume that this 368 368 partition belongs to.*/ … … 370 370 of a Fake EBR, if one 371 371 has been allocated. */ 372 WordLVM_Major_Version_Number; /* Major version number372 USHORT LVM_Major_Version_Number; /* Major version number 373 373 of the LVM that 374 374 created this 375 375 partition. */ 376 WordLVM_Minor_Version_Number; /* Minor version number376 USHORT LVM_Minor_Version_Number; /* Minor version number 377 377 of the LVM that 378 378 created this … … 401 401 else the CRC will not come out correctly. */ 402 402 } LVM_Signature_Sector; 403 #endif 403 404 404 405 /* ****************************************************************** … … 527 528 CARDINAL32 Drive_Number; /* OS/2 Drive Number for this drive. */ 528 529 CARDINAL32 Drive_Size; /* The total number of sectors on the drive. */ 529 DoubleWordDrive_Serial_Number; /* The serial number assigned to this drive.530 ULONG Drive_Serial_Number; /* The serial number assigned to this drive. 530 531 For info. purposes only. */ 531 ADDRESSDrive_Handle; /* Handle used for operations on the disk that532 PVOID Drive_Handle; /* Handle used for operations on the disk that 532 533 this record corresponds to. */ 533 534 CARDINAL32 Cylinder_Count; /* The number of cylinders on the drive. */ … … 570 571 typedef struct _Partition_Information_Record 571 572 { 572 ADDRESSPartition_Handle; /* The handle used to perform573 PVOID Partition_Handle; /* The handle used to perform 573 574 operations on this partition. */ 574 ADDRESSVolume_Handle; /* If this partition is part575 PVOID Volume_Handle; /* If this partition is part 575 576 of a volume, this will be the 576 577 handle of the volume. If … … 578 579 part of a volume, then 579 580 this handle will be 0. */ 580 ADDRESSDrive_Handle; /* The handle for the drive581 PVOID Drive_Handle; /* The handle for the drive 581 582 this partition resides on. */ 582 DoubleWordPartition_Serial_Number; /* The serial number assigned583 ULONG Partition_Serial_Number; /* The serial number assigned 583 584 to this partition. */ 584 585 CARDINAL32 Partition_Start; /* The LBA of the first … … 703 704 typedef struct _Volume_Control_Record 704 705 { 705 DoubleWordVolume_Serial_Number; /* The serial number assigned to this volume. */706 ADDRESSVolume_Handle; /* The handle used to perform operations on this volume. */706 ULONG Volume_Serial_Number; /* The serial number assigned to this volume. */ 707 PVOID Volume_Handle; /* The handle used to perform operations on this volume. */ 707 708 BOOLEAN Compatibility_Volume; /* TRUE indicates that this volume is compatible with older versions of OS/2. 708 709 FALSE indicates that this is an LVM specific volume and can not be used without OS2LVM.DMD. */ … … 746 747 typedef struct _Boot_Manager_Menu_Item 747 748 { 748 ADDRESSHandle; /* A Volume or Partition handle. */749 PVOID Handle; /* A Volume or Partition handle. */ 749 750 BOOLEAN Volume; /* If TRUE, then Handle is the handle of a Volume. Otherwise, Handle is the handle of a partition. */ 750 751 } Boot_Manager_Menu_Item; … … 997 998 * Input: 998 999 * 999 * -- ADDRESSDrive_Handle: The handle of the drive to use.1000 * -- PVOID Drive_Handle: The handle of the drive to use. 1000 1001 * Drive handles are obtained through the 1001 1002 * Get_Drive_Control_Data function. … … 1013 1014 */ 1014 1015 1015 Drive_Information_Record _System Get_Drive_Status( ADDRESSDrive_Handle, CARDINAL32 * Error_Code );1016 Drive_Information_Record _System Get_Drive_Status( PVOID Drive_Handle, CARDINAL32 * Error_Code ); 1016 1017 1017 1018 /* ****************************************************************** … … 1028 1029 * Input: 1029 1030 * 1030 * -- ADDRESSHandle: This is the handle of a drive or volume.1031 * -- PVOID Handle: This is the handle of a drive or volume. 1031 1032 * Drive handles are obtained through the 1032 1033 * Get_Drive_Control_Data function. Volume … … 1073 1074 */ 1074 1075 1075 Partition_Information_Array _System Get_Partitions( ADDRESSHandle, CARDINAL32 * Error_Code );1076 Partition_Information_Array _System Get_Partitions( PVOID Handle, CARDINAL32 * Error_Code ); 1076 1077 1077 1078 /* … … 1100 1101 */ 1101 1102 1102 ADDRESS_System Get_Partition_Handle( CARDINAL32 Serial_Number, CARDINAL32 * Error_Code );1103 PVOID _System Get_Partition_Handle( CARDINAL32 Serial_Number, CARDINAL32 * Error_Code ); 1103 1104 1104 1105 /* … … 1109 1110 * Input: 1110 1111 * 1111 * -- ADDRESSPartition_Handle:1112 * -- PVOID Partition_Handle: 1112 1113 * The handle associated with the partition for which the 1113 1114 * Partition_Information_Record is desired. … … 1124 1125 */ 1125 1126 1126 Partition_Information_Record _System Get_Partition_Information( ADDRESSPartition_Handle, CARDINAL32 * Error_Code );1127 Partition_Information_Record _System Get_Partition_Information( PVOID Partition_Handle, CARDINAL32 * Error_Code ); 1127 1128 1128 1129 /* … … 1132 1133 * Input: 1133 1134 * 1134 * -- ADDRESSHandle: The handle of a disk drive or a block1135 * -- PVOID Handle: The handle of a disk drive or a block 1135 1136 * of free space. 1136 1137 * … … 1184 1185 */ 1185 1186 1186 ADDRESS _System Create_Partition( ADDRESSHandle,1187 PVOID _System Create_Partition( PVOID Handle, 1187 1188 CARDINAL32 Size, 1188 1189 char Name[ PARTITION_NAME_SIZE ], … … 1200 1201 * Input: 1201 1202 * 1202 * -- ADDRESSPartition_Handle: The handle associated with the*1203 * -- PVOID Partition_Handle: The handle associated with the* 1203 1204 * partition to be deleted. 1204 1205 * … … 1222 1223 */ 1223 1224 1224 void _System Delete_Partition( ADDRESSPartition_Handle, CARDINAL32 * Error_Code );1225 void _System Delete_Partition( PVOID Partition_Handle, CARDINAL32 * Error_Code ); 1225 1226 1226 1227 /* … … 1230 1231 * Input: 1231 1232 * 1232 * -- ADDRESSPartition_Handle: The handle of the partition1233 * -- PVOID Partition_Handle: The handle of the partition 1233 1234 * whose Active Flag is to be set. 1234 1235 * … … 1257 1258 */ 1258 1259 1259 void _System Set_Active_Flag ( ADDRESSPartition_Handle,1260 void _System Set_Active_Flag ( PVOID Partition_Handle, 1260 1261 BYTE Active_Flag, 1261 1262 CARDINAL32 * Error_Code … … 1271 1272 * Input: 1272 1273 * 1273 * -- ADDRESSPartition_Handle: The handle of the partition1274 * -- PVOID Partition_Handle: The handle of the partition 1274 1275 * whose Active Flag is to be set. 1275 1276 * -- BYTE OS_Flag - The new value for the OS Flag. … … 1298 1299 */ 1299 1300 1300 void _System Set_OS_Flag ( ADDRESSPartition_Handle,1301 void _System Set_OS_Flag ( PVOID Partition_Handle, 1301 1302 BYTE OS_Flag, 1302 1303 CARDINAL32 * Error_Code … … 1357 1358 * Input: 1358 1359 * 1359 * -- ADDRESSVolume_Handle: The handle of the volume about1360 * -- PVOID Volume_Handle: The handle of the volume about 1360 1361 * which information is desired. 1361 1362 * … … 1373 1374 */ 1374 1375 1375 Volume_Information_Record _System Get_Volume_Information( ADDRESSVolume_Handle, CARDINAL32 * Error_Code );1376 Volume_Information_Record _System Get_Volume_Information( PVOID Volume_Handle, CARDINAL32 * Error_Code ); 1376 1377 1377 1378 /* … … 1398 1399 * link together to form the volume being created. 1399 1400 * 1400 * -- ADDRESSPartition_Handles[]: An array of partition handles1401 * -- PVOID Partition_Handles[]: An array of partition handles 1401 1402 * with one entry for each partition that is to become part 1402 1403 * of the volume being created. … … 1430 1431 CARDINAL32 FeaturesToUse, 1431 1432 CARDINAL32 Partition_Count, 1432 ADDRESSPartition_Handles[],1433 PVOID Partition_Handles[], 1433 1434 CARDINAL32 * Error_Code 1434 1435 ); … … 1440 1441 * Input: 1441 1442 * 1442 * -- ADDRESSVolume_Handle: The handle of the volume to1443 * -- PVOID Volume_Handle: The handle of the volume to 1443 1444 * delete. All partitions which are 1444 1445 * part of the specified volume will … … 1470 1471 */ 1471 1472 1472 void _System Delete_Volume( ADDRESSVolume_Handle, CARDINAL32 * Error_Code );1473 void _System Delete_Volume( PVOID Volume_Handle, CARDINAL32 * Error_Code ); 1473 1474 1474 1475 /* … … 1480 1481 * Input: 1481 1482 * 1482 * -- ADDRESSVolume_Handle: The handle of the volume to hide.1483 * -- PVOID Volume_Handle: The handle of the volume to hide. 1483 1484 * 1484 1485 * Output: … … 1498 1499 */ 1499 1500 1500 void _System Hide_Volume( ADDRESSVolume_Handle, CARDINAL32 * Error_Code );1501 void _System Hide_Volume( PVOID Volume_Handle, CARDINAL32 * Error_Code ); 1501 1502 1502 1503 /* … … 1506 1507 * Input: 1507 1508 * 1508 * -- ADDRESSVolume_Handle: The handle of the volume to be1509 * -- PVOID Volume_Handle: The handle of the volume to be 1509 1510 * expanded. 1510 1511 * … … 1512 1513 * volumes to be added to the volume being expanded. 1513 1514 * 1514 * -- ADDRESSPartition_Handles[] - An array of handles. Each1515 * -- PVOID Partition_Handles[] - An array of handles. Each 1515 1516 * handle in the array is the handle of a partition which 1516 1517 * is to be added to the volume being expanded. … … 1549 1550 */ 1550 1551 1551 void _System Expand_Volume ( ADDRESSVolume_Handle,1552 void _System Expand_Volume ( PVOID Volume_Handle, 1552 1553 CARDINAL32 Partition_Count, 1553 ADDRESSPartition_Handles[],1554 PVOID Partition_Handles[], 1554 1555 CARDINAL32 * Error_Code 1555 1556 ); … … 1561 1562 * Input: 1562 1563 * 1563 * -- ADDRESSVolume_Handle: The handle of the volume which1564 * -- PVOID Volume_Handle: The handle of the volume which 1564 1565 * is to have its assigned drive letter changed. 1565 1566 * … … 1591 1592 */ 1592 1593 1593 void _System Assign_Drive_Letter( ADDRESSVolume_Handle,1594 void _System Assign_Drive_Letter( PVOID Volume_Handle, 1594 1595 char New_Drive_Preference, 1595 1596 CARDINAL32 * Error_Code … … 1602 1603 * Input: 1603 1604 * 1604 * -- ADDRESSVolume_Handle: The handle of the volume to which1605 * -- PVOID Volume_Handle: The handle of the volume to which 1605 1606 * OS/2 should be installed. 1606 1607 * … … 1622 1623 */ 1623 1624 1624 void _System Set_Installable ( ADDRESSVolume_Handle, CARDINAL32 * Error_Code );1625 void _System Set_Installable ( PVOID Volume_Handle, CARDINAL32 * Error_Code ); 1625 1626 1626 1627 /* … … 1650 1651 * Input: 1651 1652 * 1652 * -- ADDRESSHandle: The handle of the drive, partition, or1653 * -- PVOID Handle: The handle of the drive, partition, or 1653 1654 * volume which is to have its name set. 1654 1655 * … … 1670 1671 */ 1671 1672 1672 void _System Set_Name ( ADDRESSHandle,1673 void _System Set_Name ( PVOID Handle, 1673 1674 char New_Name[], 1674 1675 CARDINAL32 * Error_Code … … 1685 1686 * Input: 1686 1687 * 1687 * -- ADDRESSHandle: The handle of the partition or volume1688 * -- PVOID Handle: The handle of the partition or volume 1688 1689 * which is to be set startable. 1689 1690 * … … 1707 1708 */ 1708 1709 1709 void _System Set_Startable ( ADDRESSHandle,1710 void _System Set_Startable ( PVOID Handle, 1710 1711 CARDINAL32 * Error_Code 1711 1712 ); … … 1722 1723 * Input: 1723 1724 * 1724 * -- ADDRESSHandle: This is any valid drive, volume, or1725 * -- PVOID Handle: This is any valid drive, volume, or 1725 1726 * partition handle. 1726 1727 * … … 1745 1746 */ 1746 1747 1747 CARDINAL32 _System Get_Valid_Options( ADDRESSHandle, CARDINAL32 * Error_Code );1748 CARDINAL32 _System Get_Valid_Options( PVOID Handle, CARDINAL32 * Error_Code ); 1748 1749 1749 1750 /* ****************************************************************** … … 1775 1776 * Input: 1776 1777 * 1777 * -- ADDRESSHandle: The handle of a partition or volume that1778 * -- PVOID Handle: The handle of a partition or volume that 1778 1779 * is to be added to the Boot Manager menu. 1779 1780 * … … 1800 1801 */ 1801 1802 1802 void _System Add_To_Boot_Manager ( ADDRESSHandle, CARDINAL32 * Error_Code );1803 void _System Add_To_Boot_Manager ( PVOID Handle, CARDINAL32 * Error_Code ); 1803 1804 1804 1805 /* … … 1827 1828 */ 1828 1829 1829 void _System Remove_From_Boot_Manager ( ADDRESSHandle, CARDINAL32 * Error_Code );1830 void _System Remove_From_Boot_Manager ( PVOID Handle, CARDINAL32 * Error_Code ); 1830 1831 1831 1832 /* … … 1916 1917 * Input: 1917 1918 * 1918 * -- ADDRESSHandle - The handle of the partition or volume1919 * -- PVOID Handle - The handle of the partition or volume 1919 1920 * to boot if the time-out timer is active and the time-out 1920 1921 * value is reached. … … 1945 1946 */ 1946 1947 1947 void _System Set_Boot_Manager_Options( ADDRESSHandle,1948 void _System Set_Boot_Manager_Options( PVOID Handle, 1948 1949 BOOLEAN Timer_Active, 1949 1950 CARDINAL32 Time_Out_Value, … … 1959 1960 * Input: 1960 1961 * 1961 * -- ADDRESS* Handle - The handle for the default boot1962 * -- PVOID * Handle - The handle for the default boot 1962 1963 * volume or partition. 1963 1964 * … … 1992 1993 */ 1993 1994 1994 void _System Get_Boot_Manager_Options( ADDRESS* Handle,1995 void _System Get_Boot_Manager_Options( PVOID * Handle, 1995 1996 BOOLEAN * Handle_Is_Volume, 1996 1997 BOOLEAN * Timer_Active, … … 2013 2014 * Input: 2014 2015 * 2015 * -- ADDRESSObject: The address of the memory object to2016 * -- PVOID Object: The address of the memory object to 2016 2017 * free. This could be the Drive_Control_Data field of 2017 2018 * a Drive_Control_Record, the Partition_Array field of … … 2026 2027 */ 2027 2028 2028 void _System Free_Engine_Memory( ADDRESSObject );2029 void _System Free_Engine_Memory( PVOID Object ); 2029 2030 2030 2031 /* … … 2034 2035 * Input: 2035 2036 * 2036 * -- ADDRESSDrive_Handle - The handle of the drive on which2037 * -- PVOID Drive_Handle - The handle of the drive on which 2037 2038 * the new MBR is to be placed. 2038 2039 * … … 2054 2055 */ 2055 2056 2056 void _System New_MBR( ADDRESSDrive_Handle, CARDINAL32 * Error_Code );2057 void _System New_MBR( PVOID Drive_Handle, CARDINAL32 * Error_Code ); 2057 2058 2058 2059 /* … … 2252 2253 * read into memory. 2253 2254 * 2254 * -- ADDRESSBuffer : The location to put the data read into.2255 * -- PVOID Buffer : The location to put the data read into. 2255 2256 * 2256 2257 * Output: … … 2274 2275 LBA Starting_Sector, 2275 2276 CARDINAL32 Sectors_To_Read, 2276 ADDRESSBuffer,2277 PVOID Buffer, 2277 2278 CARDINAL32 * Error); 2278 2279 … … 2293 2294 * be written. 2294 2295 * 2295 * -- ADDRESSBuffer : The location of the data to be written2296 * -- PVOID Buffer : The location of the data to be written 2296 2297 * to disk. 2297 2298 * … … 2316 2317 LBA Starting_Sector, 2317 2318 CARDINAL32 Sectors_To_Write, 2318 ADDRESSBuffer,2319 PVOID Buffer, 2319 2320 CARDINAL32 * Error); 2320 2321
Note:
See TracChangeset
for help on using the changeset viewer.