]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/windows.factor
Make a way to get DNS server ips on Windows
[factor.git] / basis / windows / windows.factor
1 ! Copyright (C) 2005, 2006 Doug Coleman.
2 ! See http://factorcode.org/license.txt for BSD license.
3 USING: alien sequences alien.libraries ;
4 IN: windows
5
6 CONSTANT: MAX_UNICODE_PATH 32768
7
8 {
9     { "advapi32"    "advapi32.dll"       stdcall }
10     { "dinput"      "dinput8.dll"        stdcall }
11     { "gdi32"       "gdi32.dll"          stdcall }
12     { "user32"      "user32.dll"         stdcall }
13     { "kernel32"    "kernel32.dll"       stdcall }
14     { "winsock"     "ws2_32.dll"         stdcall }
15     { "mswsock"     "mswsock.dll"        stdcall }
16     { "shell32"     "shell32.dll"        stdcall }
17     { "iphlpapi"    "iphlpapi.dll"       stdcall }
18     { "libc"        "msvcrt.dll"         cdecl   }
19     { "libm"        "msvcrt.dll"         cdecl   }
20     { "gl"          "opengl32.dll"       stdcall }
21     { "glu"         "glu32.dll"          stdcall }
22     { "ole32"       "ole32.dll"          stdcall }
23     { "usp10"       "usp10.dll"          stdcall }
24     { "psapi"       "psapi.dll"          stdcall }
25     { "xinput"      "xinput1_3.dll"      stdcall }
26     { "dxgi"        "dxgi.dll"           stdcall }
27     { "d2d1"        "d2d1.dll"           stdcall }
28     { "d3d9"        "d3d9.dll"           stdcall }
29     { "d3d10"       "d3d10.dll"          stdcall }
30     { "d3d10_1"     "d3d10_1.dll"        stdcall }
31     { "d3d11"       "d3d11.dll"          stdcall }
32     { "d3dcompiler" "d3dcompiler_42.dll" stdcall } 
33     { "d3dcsx"      "d3dcsx_42.dll"      stdcall }
34     { "d3dx9"       "d3dx9_42.dll"       stdcall }
35     { "d3dx10"      "d3dx10_42.dll"      stdcall }
36     { "d3dx11"      "d3dx11_42.dll"      stdcall }
37     { "dwrite"      "dwrite.dll"         stdcall }
38     { "x3daudio"    "x3daudio1_6.dll"    stdcall }
39     { "xactengine"  "xactengine3_5.dll"  stdcall }
40     { "xapofx"      "xapofx1_3.dll"      stdcall }
41     { "xaudio2"     "xaudio2_5.dll"      stdcall }
42 } [ first3 add-library ] each