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

FindDosEntry

Finds a specific Dos List entry

Declaration

Source position: amigados.pas line 1640

function FindDosEntry(

  const dlist: pDosList;

  const name: pCHAR;

  flags: LongWord

):pDosList;

function FindDosEntry(

  const dlist: pDosList;

  const name: string;

  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

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.

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