Unit 'amigados' Package
[Overview][Constants][Types][Procedures and functions][Index] [#os4units]

Inhibit

Inhibits access to a filesystem

Declaration

Source position: amigados.pas line 2560

function Inhibit(

  const Name: PChar;

  OnOff: LongInt

):LongBool;

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