From b065697ad8393c3dabd9580021d79357633adb52 Mon Sep 17 00:00:00 2001
From: Francois Gouget <fgouget@free.fr>
Date: Tue, 26 Dec 2000 00:00:46 +0000
Subject: [PATCH] Added GetDCBrushColor and GetDCPenColor.

---
 dlls/gdi/gdi32.spec | 2 ++
 include/wingdi.h    | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec
index 729214b2cf2..63255b4f7af 100644
--- a/dlls/gdi/gdi32.spec
+++ b/dlls/gdi/gdi32.spec
@@ -412,6 +412,8 @@ debug_channels (bitblt bitmap clipping dc ddraw driver enhmetafile font gdi
 @ extern pfnRealizePalette pfnRealizePalette
 @ extern pfnSelectPalette pfnSelectPalette
 @ stub pstackConnect
+@ stub GetDCBrushColor #stdcall (long)
+@ stub GetDCPenColor   #stdcall (long)
 
 ################################################################
 # Wine extensions: Win16 functions that are needed by other dlls
diff --git a/include/wingdi.h b/include/wingdi.h
index 0560f2c0b6a..d9b8e058bac 100644
--- a/include/wingdi.h
+++ b/include/wingdi.h
@@ -3139,7 +3139,9 @@ BOOL      WINAPI GetColorAdjustment(HDC, LPCOLORADJUSTMENT);
 HANDLE    WINAPI GetCurrentObject(HDC,UINT);
 BOOL      WINAPI GetCurrentPositionEx(HDC,LPPOINT);
 INT       WINAPI GetDeviceCaps(HDC,INT);
+COLORREF  WINAPI GetDCBrushColor(HDC);
 BOOL      WINAPI GetDCOrgEx(HDC,LPPOINT);
+COLORREF  WINAPI GetDCPenColor(HDC);
 UINT      WINAPI GetDIBColorTable(HDC,UINT,UINT,RGBQUAD*);
 INT       WINAPI GetDIBits(HDC,HBITMAP,UINT,UINT,LPVOID,LPBITMAPINFO,UINT);
 HENHMETAFILE WINAPI GetEnhMetaFileA(LPCSTR);
-- 
GitLab