And here we have it! What you need is this little wrapper.
Call GetPluginName for each plugin you find.
The declaration is as follows:
Private Declare Function GetPluginName Lib "PJ64 EGP.dll" (ByVal filename As String, ByVal buffer As String) As Long
Then, to recieve the name, use the following code:
Dim buffer As String * 100
GetPluginName("C:\folder\plugin.dll",buffer)
And that's it.
Oh yeah, buffer contains the plugin name. Returns 0 on success, 1 if error.
And a last note: Don't blame me for errors; this wrapper works perfecly, and i have no intention of revising it.
Just remember that that dll file is copyrighted by me and may be disturbed with that program only. It may not be disturbed outside it, or used for any other purpose without my permission. Put a thanks to me for that plugin in the about box as well.
Copyright ©2003 Doomulation. This file may be disturbed by this program only. It may not be disturbed/used outside this package/software without my permission. If wished to be used for any other purposes than originally created for, the e-mail me and state why, and if permission is granted, it is approved for others use; otherwise, this may not be done. Any abuse of this will be punished to the extent of the Law.