[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


NAME
    AllocDosObject -- Creates a dos object (V36)

SYNOPSIS
    ptr = AllocDosObject(type, tags)
    D0                    D1    D2

    void *AllocDosObject(ULONG, struct TagItem *)

    ptr = AllocDosObjectTagList(type, tags)
    D0                           D1    D2

    void *AllocDosObjectTagList(ULONG, struct TagItem *)

    ptr = AllocDosObjectTags(type, Tag1, ...)

    void *AllocDosObjectTags(ULONG, ULONG, ...)

FUNCTION
    Create one of several dos objects, initializes it, and returns it
    to you.  Note the DOS_STDPKT returns a pointer to the sp_Pkt of the
    structure.

INPUTS
    type - type of object requested
    tags - pointer to taglist with additional information

RESULT
    packet - pointer to the object or NULL

SEE ALSO
    FreeDosObject(), <dos/dostags.h>, <dos/dos.h>