[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>