Rediscover_PRMs

This function causes OS2LVM and OS2DASD to check all PRM (partitioned removable media) devices for new or changed media.

The LVM Engine must be closed when this function is called.


#include <lvm_intr.h>

void _System Rediscover_PRMs(

    CARDINAL32 * Error_Code   /* (O) Address where the error code will be stored */

);

Parameters

Error_Code
The address of a CARDINAL32 in which to store an error code should an error occur.

Returns

N/A.

Errors

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

Side Effects

New volumes may be discovered and assigned drive letters.

Notes

This function is disabled while the LVM Engine is open.

16-Bit Equivalent:

void _Far16 _Pascal _loadds REDISCOVER_PRMS16( CARDINAL32 * _Seg16 Error_Code );