Previous Topic Next topic Print topic


PC_FIND_DRIVES

Returns all valid drives on a PC.
Restriction: This routine is not currently supported in COBOL for JVM.

Syntax:

call "PC_FIND_DRIVES" using      drive-info
                      returning status-code

Parameters:

  Using call prototype (see Key) Picture
drive-info cblt-x4-compx pic x(4) comp-x.
status-code See Library Routines - Key

On Entry:

None

On Exit:

drive-info The 26 least-significant bits correspond to drives A: through Z:, with A: represented by bit 0 (the least significant bit) and Z: represented by bit 25. The corresponding bit is set for each drive that is present.
status-code Status code.
Previous Topic Next topic Print topic