Added filename to 32 bit builtin module descriptors.

This commit is contained in:
Eric Pouech 1999-10-13 16:00:18 +00:00 committed by Alexandre Julliard
parent d2344fbbcd
commit 117f9f9713
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ typedef void (*ENTRYPOINT32)();
typedef struct
{
const char *name; /* DLL name */
const char* filename; /* DLL file name */
int base; /* Ordinal base */
int nb_funcs; /* Number of functions */
int nb_names; /* Number of function names */

View File

@ -1222,6 +1222,7 @@ static int BuildSpec32File( char * specfile, FILE *outfile )
fprintf( outfile, "const BUILTIN32_DESCRIPTOR %s_Descriptor =\n{\n",
DLLName );
fprintf( outfile, " \"%s\",\n", DLLName );
fprintf( outfile, " \"%s\",\n", DLLFileName );
fprintf( outfile, " %d,\n", Base );
fprintf( outfile, " %d,\n", Limit - Base + 1 );
fprintf( outfile, " %d,\n", nb_names );