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

FindDosEntry

Finds a specific Dos List entry

Declaration

Source position: amigados.pas line 2553

function FindDosEntry(

  const DList: PDOSList;

  const Name: PChar;

  Flags: LongWord

):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