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

MakeDosEntry

Creates a DosList structure

Declaration

Source position: amigados.pas line 2555

function MakeDosEntry(

  const Name: PChar;

  Type_: LongInt

):PDOSList;

Arguments

Name

  

Name for the device/volume/assign node.

Type_

  

Type of Node (LDF_*)

Function result

New device entry or nil

Description

Create a DosList structure, including allocating a name and correctly null-terminating the BSTR. It also sets the dol_Type field, and sets all other fields to 0. This routine should be eliminated and replaced by a value passed to AllocDosObject()!

See also

AllocDosObject

  

Creates a dos object

RemDosEntry

  

Removes a Dos List entry from it's list

FindDosEntry

  

Finds a specific Dos List entry

LockDosList

  

Locks the specified Dos Lists for use

NextDosEntry

  

Get the next Dos List entry

FreeDosEntry

  

Frees an entry created by MakeDosEntry


Documentation generated on: 2021-07-30