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


NAME
    MakeDosEntry -- Creates a doslist structure (v36)

SYNOPSIS
    newdlist = MakeDosEntry(name, type)
    D0                       D1    D2

    struct doslist *makedosentry(strptr, long)

FUNCTION
    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()!

INPUTS
    name - name for the device/volume/assign node.
    type - type of node.

RESULT
    newdlist - The new device entry or NULL.

SEE ALSO
    adddosentry(), remdosentry(), finddosentry(), lockdoslist(),
    nextdosentry(), freedosentry()