[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'Exec' (#aros)

RemDevice

Remove a device from the system

Declaration

Source position: exec.pas line 1281

procedure RemDevice(

  Device: PDevice

);

Arguments

Device

  

A pointer to a device node

Description

This function calls the device's EXPUNGE vector, which requests that a device delete itself. The device may refuse to do this if it is busy or currently open. This is not typically called by user code.

There are certain, limited circumstances where it may be appropriate to attempt to specifically flush a certain device.

See also

AddDevice

  

Adds a device to the system

OpenDevice

  

Open a device for use

CloseDevice

  

Close access to a device.


Documentation generated on: 2017-01-10