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

Inhibit

Inhibits access to a filesystem

Declaration

Source position: amigados.pas line 2366

function Inhibit(

  const Name: STRPTR;

  OnOff: LongInt

):LongInt;

Arguments

Name

  

Name of device to inhibit (with ':')

OnOff

  

New status. DOSTRUE = inhibited, DOSFALSE = uninhibited

Description

Sends an ACTION_INHIBIT packet to the indicated handler. This stops all activity by the handler until uninhibited. When uninhibited, anything may have happened to the disk in the drive, or there may no longer be one.


Documentation generated on: 2017-01-10