diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,7 @@
+Copyright (c) 2015 Anton Dessiatov
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/Setup.hs b/Setup.hs
new file mode 100644
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/inline-c-win32.cabal b/inline-c-win32.cabal
new file mode 100644
--- /dev/null
+++ b/inline-c-win32.cabal
@@ -0,0 +1,28 @@
+name:             inline-c-win32
+version:          0.1
+synopsis:         Win32 API Context for the inline-c library
+license:          MIT
+license-file:     LICENSE
+author:           Anton Dessiatov
+maintainer:       anton.dessiatov@gmail.com
+copyright:        Anton Dessiatov,
+category:         FFI
+build-type:       Simple
+cabal-version:    >=1.16
+homepage:         https://github.com/anton-dessiatov/inline-c-win32
+bug-reports:      https://github.com/anton-dessiatov/inline-c-win32/issues
+description:      This is a little helper for the marvelous inline-c library. It provides a context with Win32 API
+                  data types so you can use DWORD, BOOL, UINT and other Win32 data types right in your inlined
+                  function types.
+
+library
+  default-language: Haskell2010
+  build-depends:
+      base >= 4 && < 5
+    , containers
+    , inline-c >= 0.5.3
+    , template-haskell
+    , Win32
+  exposed-modules:
+      Language.C.Inline.Win32
+  hs-source-dirs: src
diff --git a/src/Language/C/Inline/Win32.hs b/src/Language/C/Inline/Win32.hs
new file mode 100644
--- /dev/null
+++ b/src/Language/C/Inline/Win32.hs
@@ -0,0 +1,50 @@
+{-# LANGUAGE OverloadedStrings, QuasiQuotes, TemplateHaskell #-}
+module Language.C.Inline.Win32 (win32Ctx) where
+
+import Data.Monoid (mempty)
+import Language.C.Inline
+import Language.C.Inline.Context
+import System.Win32.Types
+import qualified Data.Map as Map
+import qualified Language.C.Types as C
+import qualified Language.Haskell.TH as TH
+
+win32Ctx :: Context
+win32Ctx = mempty { ctxTypesTable = win32TypesTable }
+
+win32TypesTable :: Map.Map C.TypeSpecifier TH.TypeQ
+win32TypesTable = Map.fromList
+  [ (C.TypeName "BOOL", [t| BOOL |])
+  , (C.TypeName "BYTE", [t| BYTE |])
+  , (C.TypeName "UCHAR", [t| UCHAR |])
+  , (C.TypeName "USHORT", [t| USHORT |])
+  , (C.TypeName "UINT", [t| UINT |])
+  , (C.TypeName "INT", [t| INT |])
+  , (C.TypeName "WORD", [t| WORD |])
+  , (C.TypeName "DWORD", [t| DWORD |])
+  , (C.TypeName "LONG", [t| LONG |])
+  , (C.TypeName "FLOAT", [t| FLOAT |])
+  , (C.TypeName "LARGE_INTEGER", [t| LARGE_INTEGER |])
+  , (C.TypeName "UINT_PTR", [t| UINT_PTR |])
+  , (C.TypeName "DDWORD", [t| DDWORD |])
+  , (C.TypeName "ATOM", [t| ATOM |])
+  , (C.TypeName "WPARAM", [t| WPARAM |])
+  , (C.TypeName "LPARAM", [t| LPARAM |])
+  , (C.TypeName "LRESULT", [t| LRESULT |])
+  , (C.TypeName "SIZE_T", [t| SIZE_T |])
+  , (C.TypeName "HRESULT", [t| HRESULT |])
+  , (C.TypeName "LPVOID", [t| LPVOID |])
+  , (C.TypeName "LPBOOL", [t| LPBOOL |])
+  , (C.TypeName "LPBYTE", [t| LPBYTE |])
+  , (C.TypeName "PUCHAR", [t| PUCHAR |])
+  , (C.TypeName "LPDWORD", [t| LPDWORD |])
+  , (C.TypeName "LPSTR", [t| LPSTR |])
+  , (C.TypeName "LPCSTR", [t| LPCSTR |])
+  , (C.TypeName "LPWSTR", [t| LPWSTR |])
+  , (C.TypeName "LPCWSTR", [t| LPCWSTR |])
+  , (C.TypeName "LPTSTR", [t| LPTSTR |])
+  , (C.TypeName "LPCTSTR", [t| LPCTSTR |])
+  , (C.TypeName "HANDLE", [t| HANDLE |])
+  , (C.TypeName "HINSTANCE", [t| HINSTANCE |])
+  , (C.TypeName "HMODULE", [t| HMODULE |])
+  ]
