mirror of
https://github.com/mupen64plus/mupen64plus-oldsvn.git
synced 2025-04-02 10:52:35 -04:00
40 lines
811 B
C
40 lines
811 B
C
#ifndef __WINTYPES_H__
|
|
#define __WINTYPES_H__
|
|
|
|
#include <sys/types.h>
|
|
|
|
typedef int HWND;
|
|
typedef int HINSTANCE;
|
|
typedef void* LPVOID;
|
|
|
|
#define __declspec(dllexport)
|
|
#define __cdecl
|
|
#define _cdecl
|
|
#define WINAPI
|
|
|
|
typedef u_int32_t DWORD;
|
|
typedef u_int16_t WORD;
|
|
typedef u_int8_t BYTE, byte;
|
|
typedef int BOOL, BOOLEAN;
|
|
#define __int8 char
|
|
#define __int16 short
|
|
#define __int32 int
|
|
#define __int64 long long
|
|
|
|
/** HRESULT stuff **/
|
|
typedef int HRESULT;
|
|
#define S_OK ((HRESULT)0L)
|
|
#define E_NOTIMPL 0x80004001L
|
|
|
|
#ifndef FALSE
|
|
# define FALSE (0)
|
|
#endif
|
|
#ifndef TRUE
|
|
# define TRUE (!FALSE)
|
|
#endif
|
|
|
|
typedef int HMENU;
|
|
typedef int RECT;
|
|
typedef int PAINTSTRUCT;
|
|
|
|
#endif /* __WINTYPES_H__ */
|