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

FindDosEntry

Finds a specific Dos List entry

Declaration

Source position: amigados.pas line 2091

function FindDosEntry(

  dlist: PDOSList;

  name: PChar;

  flags: Cardinal

):PDOSList;

Arguments

dlist

  

The device entry to start with.

name

  

Name of device entry (without ':') to locate.

flags

  

Search control flags. Use the flags you passed to LockDosList, or a subset of them. LDF_READ/LDF_WRITE are not required for this call.

Function result

The device entry or nil

Description

Locates an entry on the device list. Starts with the entry dlist. NOTE: must be called with the device list locked, no references may be made to dlist after unlocking.

See also

AddDosEntry

  

Add a Dos List entry to the lists

RemDosEntry

  

Removes a Dos List entry from it's list

NextDosEntry

  

Get the next Dos List entry

LockDosList

  

Locks the specified Dos Lists for use

MakeDosEntry

  

Creates a DosList structure

FreeDosEntry

  

Frees an entry created by MakeDosEntry


Documentation generated on: 2021-07-30