Creates a dos object
Source position: amigados.pas line 1741
function AllocDosObject( |
type1: Cardinal; |
tags: Pointer |
):Pointer; |
type1 |
|
Type of object requested |
tags |
|
Pointer to taglist with additional information (DOS_* and ADO_*) |
Pointer to the object or nil
Create a dos objects of a given type, initializes it, and returns it to you. Note the DOS_STDPKT returns a pointer to the sp_Pkt of the structure.This memory has to be freed with FreeDosObject().
This function may be called by a task for all types and tags DOS_* and ADO_*. Any future types or tags will be documented as to whether a task may use them.
|
Frees an object allocated by AllocDosObject() |