Seeing as you know the definition, but don?t have the header, you can declare a typedef as shown below:
typedef int (__stdcall *fnPtr)( char *FileDescription, short int port_num, short int slot_num);
You will then need to load the DLL using :
hRef=LoadLibrary(?Your DLL Name?);
After loading, you now need to get the address of the function you want to call:
nameFn=(fnPtr)GetProcAddress(hRef,"Download_Can");
And to call it, you use:
nameFn (FileDescription, port_num, slot_num);
All of those functions above are from the Windows SDK, so if you need any info on them, do a search using the function names.
If you need anymore help, ask away
Regards
Chris