summary refs log tree commit diff stats
path: root/lib/windows/windows.nim
diff options
context:
space:
mode:
authorenurlyx <enurlyx@gmail.com>2014-04-22 19:42:32 +0200
committerenurlyx <enurlyx@gmail.com>2014-04-22 19:42:32 +0200
commitfa961f16d0d2078a841fccb93231858e2afae94e (patch)
tree9f626fd27c48fc585c4d1e2b5c5df185a8c39c55 /lib/windows/windows.nim
parent1bb0bdec246dbc9ed3bc967ca4e1e70b6fbb35bd (diff)
downloadNim-fa961f16d0d2078a841fccb93231858e2afae94e.tar.gz
1) export UINT
2) Fixed parameter of FillRect   RECT -> var RECT
Diffstat (limited to 'lib/windows/windows.nim')
-rw-r--r--lib/windows/windows.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/windows/windows.nim b/lib/windows/windows.nim
index dd743ffa4..41f760130 100644
--- a/lib/windows/windows.nim
+++ b/lib/windows/windows.nim
@@ -62,7 +62,7 @@ type  # BaseTsd.h -- Type definitions for the basic sized types
 

 type  # WinDef.h -- Basic Windows Type Definitions

   # BaseTypes

-  UINT = int32
+  UINT* = int32
   ULONG* = int

   PULONG* = ptr int

   USHORT* = int16

@@ -19683,7 +19683,7 @@ proc SetSysColors*(cElements: int32, lpaElements: var wINT,
     dynlib: "user32", importc: "SetSysColors".}

 proc DrawFocusRect*(hDC: HDC, lprc: var RECT): WINBOOL{.stdcall,

     dynlib: "user32", importc: "DrawFocusRect".}

-proc FillRect*(hDC: HDC, lprc: RECT, hbr: HBRUSH): int32{.stdcall,

+proc FillRect*(hDC: HDC, lprc: var RECT, hbr: HBRUSH): int32{.stdcall,

     dynlib: "user32", importc: "FillRect".}

 proc FrameRect*(hDC: HDC, lprc: var RECT, hbr: HBRUSH): int32{.stdcall,

     dynlib: "user32", importc: "FrameRect".}