2017-11-13 00:04:11 -05:00
|
|
|
/*
|
|
|
|
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
|
|
|
|
* running old operating systems and software designed for IBM
|
|
|
|
|
* PC systems and compatibles from 1981 through fairly recent
|
|
|
|
|
* system designs based on the PCI bus.
|
|
|
|
|
*
|
|
|
|
|
* This file is part of the 86Box distribution.
|
|
|
|
|
*
|
|
|
|
|
* Definitions for the DirectDraw 9 rendering module.
|
|
|
|
|
*
|
|
|
|
|
* Version: @(#)win_ddraw.h 1.0.1 2017/11/12
|
|
|
|
|
*
|
|
|
|
|
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
|
|
|
|
|
* Miran Grca, <mgrca8@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* Copyright 2008-2017 Sarah Walker.
|
|
|
|
|
* Copyright 2016,2017 Miran Grca.
|
|
|
|
|
*/
|
2017-05-24 00:27:42 -04:00
|
|
|
#ifndef WIN_DDRAW_H
|
|
|
|
|
# define WIN_DDRAW_H
|
|
|
|
|
# define UNICODE
|
|
|
|
|
# define BITMAP WINDOWS_BITMAP
|
|
|
|
|
# include <ddraw.h>
|
|
|
|
|
# undef BITMAP
|
|
|
|
|
|
|
|
|
|
|
2017-05-18 14:03:43 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
2017-05-24 00:27:42 -04:00
|
|
|
|
|
|
|
|
extern int ddraw_init(HWND h);
|
2017-11-13 00:04:11 -05:00
|
|
|
extern int ddraw_init_fs(HWND h);
|
2017-05-24 00:27:42 -04:00
|
|
|
extern void ddraw_close(void);
|
2017-10-14 00:49:08 -04:00
|
|
|
extern int ddraw_pause(void);
|
2017-10-07 04:34:04 -04:00
|
|
|
extern void ddraw_take_screenshot(wchar_t *fn);
|
2017-05-24 00:27:42 -04:00
|
|
|
|
2017-05-18 14:03:43 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2017-05-24 00:27:42 -04:00
|
|
|
|
|
|
|
|
#endif /*WIN_DDRAW_H*/
|