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


    NAME
        FreeSysRequest -- Free resources gotten by a call to buildsysrequest().

    SYNOPSIS
        FreeSysRequest( window )
                        A0

        VOID FreeSysRequest( struct window * );

    FUNCTION
        This routine frees up all memory allocated by a successful call to
        the buildsysrequest() procedure.  if buildsysrequest() returned a
        pointer to a window, then you are able to wait on the message port
        of that window to detect an event which satisfies the requester.
        When you want to remove the requester, you call this procedure.  It
        ends the requester and deallocates any memory used in the creation
        of the requester.  It also closes the special window that was opened
        for your system requester.

        For V36: It's OK if you pass a NULL or a TRUE (1) value to
        this function.  Also, this function properly disposes of
        requesters gotten using buildeasyrequestargs().

    INPUTS
        window = value of the window pointer returned by a successful call to
           the buildsysrequest() procedure

    RESULT
        None

    BUGS

    SEE ALSO
        buildsysrequest(), autorequest(), closewindow()