export on a function declaration means dllimport for exactly that purpose (.di files). It's not mentioned at the attributes doc site but I'm sure I read it somewhere else.