/* output the import and delayed import tables of a Win32 module * returns number of DLLs exported in 'immediate' mode */ int output_imports( FILE *outfile ) { int ret; output_delayed_imports( outfile ); ret = output_immediate_imports( outfile ); output_get_pc_thunk( outfile ); return ret; }
/* output the import and delayed import tables of a Win32 module */ void output_imports( DLLSPEC *spec ) { output_immediate_imports(); output_delayed_imports( spec ); output_immediate_import_thunks(); output_delayed_import_thunks( spec ); output_external_link_imports( spec ); if (nb_imports || ext_link_imports.count || has_stubs(spec) || has_relays(spec)) output_get_pc_thunk(); }