summaryrefslogtreecommitdiffstats
path: root/src/fake_w32gdi.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-04-15 23:31:52 +0200
committerMattias Andrée <maandree@operamail.com>2014-04-15 23:31:52 +0200
commit537fc529ffe3d715bb918b254450027f2383878b (patch)
tree1d2c1604ae40f21c06cd3321e2b08c940df388b7 /src/fake_w32gdi.h
parentadd fake_quartz.h (diff)
downloadblueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.gz
blueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.bz2
blueshift-537fc529ffe3d715bb918b254450027f2383878b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/fake_w32gdi.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fake_w32gdi.h b/src/fake_w32gdi.h
index 7347caf..e0b9d59 100644
--- a/src/fake_w32gdi.h
+++ b/src/fake_w32gdi.h
@@ -24,10 +24,10 @@
typedef uint16_t WORD;
typedef uint32_t DWORD;
typedef int BOOL;
-typedef void *HDC;
-typedef void *HWND;
-typedef void *LPVOID;
-typedef const char *LPCTSTR;
+typedef void* HDC;
+typedef void* HWND;
+typedef void* LPVOID;
+typedef const char* LPCTSTR;
typedef char TCHAR;
#define TRUE 1
#define FALSE 0
@@ -53,7 +53,7 @@ BOOL GetDeviceGammaRamp(HDC hDC, LPVOID lpRamp);
/* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183490(v=vs.85).aspx */
-HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void *lpszOutput, void *lpInitData);
+HDC CreateDC(LPCTSTR lpszDriver, LPCTSTR lpszDevice, void* lpszOutput, void* lpInitData);
#define TEXT(X) ((LPCTSTR)(X))
/* http://msdn.microsoft.com/en-us/library/windows/desktop/dd183569(v=vs.85).aspx */
@@ -62,7 +62,7 @@ typedef struct {
TCHAR DeviceName[32];
DWORD StateFlags;
} DISPLAY_DEVICE;
-typedef DISPLAY_DEVICE *PDISPLAY_DEVICE;
+typedef DISPLAY_DEVICE* PDISPLAY_DEVICE;
#define DISPLAY_DEVICE_ACTIVE 1
/* http://msdn.microsoft.com/en-us/library/windows/desktop/dd162609(v=vs.85).aspx */