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

Inhibit

Inhibits access to a filesystem

Declaration

Source position: amigados.pas line 1662

function Inhibit(

  const name: pCHAR;

  onoff: LongInt

):LongBool;

function Inhibit(

  const name: string;

  onoff: LongInt

):Boolean;

Arguments

name

  

Name of device to inhibit (with ':')

onoff

  

New status. DOSTRUE = inhibited, DOSFALSE = uninhibited

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