Unit 'exec' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

RemDevice

Remove a device from the system

Declaration

Source position: exec.pas line 1986

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: 2021-07-30