define POSIXC_SELECT so we don't pull in the inline select from bsdsocket, but use...
[AROS.git] / arch / arm-native / ceboot / winapi.h
blob3952d0765dd27505e869420fb8814e31e3144aab
1 /*
2 Copyright © 2010-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Windows CE API functions missing in mingw32ce headers
6 Lang: english
7 */
9 /*
10 * These definitions are taken from HaRET project
11 * (http://htc-linux.org/wiki/index.php?title=HaRET)
13 #define GETGXINFO 0x00020000
14 #define GETRAWFRAMEBUFFER 0x00020001
16 typedef struct _RawFrameBufferInfo
18 WORD wFormat;
19 WORD wBPP;
20 VOID *pFramePointer;
21 int cxStride;
22 int cyStride;
23 int cxPixels;
24 int cyPixels;
25 } RawFrameBufferInfo;
27 typedef struct
29 long Version;
30 void *pvFrameBuffer;
31 unsigned long cbStride;
32 unsigned long cxWidth;
33 unsigned long cyHeight;
34 unsigned long cBPP;
35 unsigned long ffFormat;
36 char Unused[0x84-7*4];
37 } GXDeviceInfo;
39 /* Known screen formats */
40 #define FORMAT_565 1
41 #define FORMAT_555 2
42 #define FORMAT_OTHER 3
44 void *AllocPhysMem(DWORD, DWORD, DWORD, DWORD, PULONG);
45 BOOL SetKMode(BOOL);