I thought of using a ptr type when a c wrapperfunction needs a pointer. But i saw in windows.nim that var is used instead. So is it correct to use var instead of ptr?
proc DrawFocusRect*(hDC: HDC, lprc: var RECT): WINBOOL{.stdcall,
dynlib: "user32", importc: "DrawFocusRect".}
proc DrawFocusRect*(hDC: HDC, lprc: ptr RECT): WINBOOL{.stdcall,
dynlib: "user32", importc: "DrawFocusRect".}