mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
1e37a18171
Sun Aug 18 12:17:54 1996 Alexandre Julliard <julliard@lrc.epfl.ch> * [files/drive.c] Added 'Filesystem' option in drives configuration. * [files/dos_fs.c] Added handling of case-insensitive filesystems. * [memory/selector.c] [include/stackframe.h] Removed MAKE_SEGPTR. * [misc/commdlg.c] [multimedia/mcistring.c] Replaced MAKE_SEGPTR by the SEGPTR_* macros. * [objects/bitblt.c] [windows/graphics.c] Use an intermediary pixmap to avoid some BadMatch errors on XGetImage(). Sun Aug 18 09:21:27 1996 Albrecht Kleine <kleine@ak.sax.de> * [windows/message.c] Added handling of WM_NC...mouse messages in JOURNALRECORD hook. * [misc/ver.c] Fixed a bad string result in VerQueryValue[16|32A|32W]. Fri Aug 16 19:55:04 1996 Marcus Meissner <msmeissn@cip.informatik.uni-erlangen.de> * [if1632/crtdll.spec] [misc/crtdll.c] More additions to get win95 programs further down the road. * [if1632/kernel.spec] [loader/module.c] GetModuleName() added. LoadModule(): params->showCmd can be NULL. * [if1632/kernel32.spec] [if1632/thunk.c] ThunkConnect32() stub added. * [loader/resource.c] Entries include lastentry. * [misc/shell.c] [files/file.c] Made progman work again. Fri Aug 16 09:00:00 1996 Alex Korobka <alex@phm30.pharm.sunysb.edu> * [windows/defwnd.c] [windows/winpos.c] [windows/painting.c] Icon painting fixes. * [windows/winpos.c] [windows/painting.c] Enforce and follow hrgnUpdate more closely to cut down on redundant RedrawWindow() calls. * [windows/event.c] Process ConfigureNotify only for managed windows. * [windows/winpos.c] Do not redraw parent if the window was hidden before SetWindowPos(). * [windows/nonclient.c] Omit some nonclient decoration painting for managed windows. * [controls/menu.c] [windows/mdi.c] [windows/nonclient.c] Implemented WM_NEXTMENU. * [controls/listbox.c] Multicolumn listboxes return WVR_VREDRAW on WM_NCCALCSIZE. * [misc/shell.c] Added .ICO file handling to ExtractIcon().
65 lines
1.8 KiB
C
65 lines
1.8 KiB
C
/*
|
|
* 16-bit mode stack frame layout
|
|
*
|
|
* Copyright 1995 Alexandre Julliard
|
|
*/
|
|
|
|
#ifndef __WINE_STACKFRAME_H
|
|
#define __WINE_STACKFRAME_H
|
|
|
|
#include <windows.h>
|
|
#include "ldt.h"
|
|
|
|
#pragma pack(1)
|
|
|
|
/* 16-bit stack layout after CallFrom16() */
|
|
typedef struct
|
|
{
|
|
WORD saved_ss; /* saved previous 16-bit stack */
|
|
WORD saved_sp;
|
|
WORD entry_ip; /* ip of entry point */
|
|
WORD ds; /* ds */
|
|
WORD entry_cs; /* cs of entry point */
|
|
WORD es; /* es */
|
|
DWORD entry_point WINE_PACKED; /* 32-bit entry point to call */
|
|
WORD bp; /* 16-bit bp */
|
|
WORD ip; /* return address */
|
|
WORD cs;
|
|
WORD args[1]; /* arguments to API function */
|
|
} STACK16FRAME;
|
|
|
|
/* 32-bit stack layout after CallTo16() */
|
|
typedef struct
|
|
{
|
|
DWORD saved_esp; /* saved previous 32-bit stack */
|
|
DWORD edi; /* saved registers */
|
|
DWORD esi;
|
|
DWORD edx;
|
|
DWORD ecx;
|
|
DWORD ebx;
|
|
DWORD ebp; /* saved 32-bit frame pointer */
|
|
DWORD retaddr; /* return address */
|
|
DWORD codeselector; /* code selector for return address */
|
|
DWORD args[1]; /* arguments to 16-bit function */
|
|
} STACK32FRAME;
|
|
|
|
#pragma pack(4)
|
|
|
|
/* Saved 16-bit stack for current process (Win16 only) */
|
|
extern WORD IF1632_Saved16_ss;
|
|
extern WORD IF1632_Saved16_sp;
|
|
|
|
/* Saved 32-bit stack for current process (Win16 only) */
|
|
extern DWORD IF1632_Saved32_esp;
|
|
extern SEGPTR IF1632_Stack32_base;
|
|
|
|
/* Original Unix stack */
|
|
extern DWORD IF1632_Original32_esp;
|
|
|
|
#define CURRENT_STACK16 \
|
|
((STACK16FRAME *)PTR_SEG_OFF_TO_LIN(IF1632_Saved16_ss,IF1632_Saved16_sp))
|
|
|
|
#define CURRENT_DS (CURRENT_STACK16->ds)
|
|
|
|
#endif /* __WINE_STACKFRAME_H */
|