Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".

diff --git a/objects/dc.c b/objects/dc.c
index 54b2001..32984b0 100644
--- a/objects/dc.c
+++ b/objects/dc.c
@@ -868,7 +868,7 @@
        int w, h, border, depth;
        /* FIXME: this is not correct for managed windows */
        TSXGetGeometry( display, physDev->drawable, &root,
-                    &lpp->x, &lpp->y, &w, &h, &border, &depth );
+                    (int*)&lpp->x, (int*)&lpp->y, &w, &h, &border, &depth );
     }
     else lpp->x = lpp->y = 0;
     lpp->x += dc->w.DCOrgX; lpp->y += dc->w.DCOrgY;