Export_Configuration

This function creates a file containing all of the LVM.EXE commands necessary to recreate or replicate all of the current system's partitions and volumes.


#include <lvm_intr.h>

void _System Export_Configuration(

    char       * Filename,      /* (I) Filespec of the file to be created */
    CARDINAL32 * Error_Code     /* (O) Address where the error code will be stored */

);

Parameters

Filename
The path and filename of the configuration file to be created.
Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

If the output file cannot be created, or some other error occurs, the value pointed to by Error_Code will be greater than 0.

Side Effects

A file containing LVM commands may be created.

Notes

None.

16-Bit Equivalent:

void _Far16 _Pascal _loadds EXPORT_CONFIGURATION16(
    char *       _Seg16 Filename,
    CARDINAL32 * _Seg16 Error_Code
);