Get_Partition_Information

This function returns the Partition_Information_Record for the specified partition.


#include <lvm_intr.h>

Partition_Information_Record _System Get_Partition_Information(

    ADDRESS      Partition_Handle,   /* (I) Handle of the partition to be queried */
    CARDINAL32 * Error_Code          /* (O) Address where the error code will be stored */

);

Parameters

Partition_Handle
The handle associated with the partition whose information is desired.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

A Partition_Information_Record is returned.

Errors

If Partition_Handle is not a valid handle, a trap could result. If it is a handle for something other than a partition, an error condition will result.

If an error occurs, the value pointed to by Error_Code will be greater than 0.

Side Effects

None.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds  GET_PARTITION_INFORMATION16(
        CARDINAL32                            Partition_Handle,
        Partition_Information_Record * _Seg16 Partition_Information,
        CARDINAL32 *                   _Seg16 Error_Code
);