Creates a dos object
Source position: amigados.pas line 2463
function AllocDosObject( |
Type_: LongWord; |
const Tags: PTagItem |
):Pointer; |
Type_ |
|
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() |