title: Custom Types in/with DLLImport'ed / P/Invoke'd win32 dll?
body: <p>Good afternoon,</p>
  
  <p>i am currently wrestling with an old .dll which functionality I have to re-use in a .Net application &amp; I came so far to import the basic/easy functions/methods that return bool etc, but some do in fact also expect (or return) an type that is declared within the .dll.</p>
  
  <p>How would I handle this? How would I map/create that type in my .net environment?? Is that possible at all?</p>
  
  <p>Cheers and thanks,
  -Jörg</p>