724508d61f
This is an appalling hack. We need the lib tool to generate a coff lib with the "undecorate" parameter. And apparently the only way to do this with the MSVC tools is by making a stub object, and then rewriting the symbols using the def file. See Q131313 for Microsoft-sanctioned details. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
21 lines
404 B
Modula-2
21 lines
404 B
Modula-2
LIBRARY wintun.dll
|
|
EXPORTS
|
|
WintunAllocateSendPacket
|
|
WintunCreateAdapter
|
|
WintunDeleteAdapter
|
|
WintunEndSession
|
|
WintunEnumAdapters
|
|
WintunFreeAdapter
|
|
WintunGetAdapter
|
|
WintunGetAdapterDeviceObject
|
|
WintunGetAdapterGUID
|
|
WintunGetAdapterLUID
|
|
WintunGetAdapterName
|
|
WintunGetVersion
|
|
WintunReceivePacket
|
|
WintunReceiveRelease
|
|
WintunSendPacket
|
|
WintunSetAdapterName
|
|
WintunSetLogger
|
|
WintunStartSession
|