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

MakeDosEntry

Creates a DosList structure

Declaration

Source position: amigados.pas line 1673

function MakeDosEntry(

  const name: pCHAR;

  type_: LongInt

):pDosList;

function MakeDosEntry(

  const name: string;

  type_: LongInt

):pDosList;

Arguments

name

  

Name for the device/volume/assign node.

type_

  

Type of Node (LDF_*)

Function result

New device entry or nil

Arguments

name

  

Name for the device/volume/assign node.

type_

  

Type of Node (LDF_*)

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