title: DEF file format for Windows __stdcall DLLs? (*.def -> lib.exe -> *.lib)
body: <p>I'm trying to recreate import libraries (.lib) for some Microsoft DLLs (I want to remove a few functions). It's possible to create lib files for dlls by using lib.exe on a def file. However it seems to be difficult to do that for __stdcall functions.</p>
  
  <p>How to do this? Note: I have access to the dll and the original lib file. </p>