/* $Id: instance.h,v 1.1 1999-05-24 20:19:13 ktk Exp $ */

/*
 * Instance data declaration
 *
 * Copyright 1995 Alexandre Julliard
 */

#ifndef __WINE_INSTANCE_H
#define __WINE_INSTANCE_H

#include "windef.h"

  /* This structure is always located at offset 0 of the DGROUP segment */

typedef struct
{
    WORD null;        /* Always 0 */
    DWORD old_ss_sp WINE_PACKED;  /* Stack pointer; used by SwitchTaskTo() */
    WORD heap;        /* Pointer to the local heap information (if any) */
    WORD atomtable;   /* Pointer to the local atom table (if any) */ 
    WORD stacktop;    /* Top of the stack */
    WORD stackmin;    /* Lowest stack address used so far */
    WORD stackbottom; /* Bottom of the stack */
} INSTANCEDATA;

#endif /* __WINE_INSTANCE_H */
