I need to make use of some functions in an unmanaged dll -- printui.dll. My
question is how can I find the parameter names for each function in the dll?
I have searched the internet, and pinvoke.net, and I have also run a dumbin
/export on the dll , which helps me know what the function names are, but how
can I get the information about the parameters needed for each if I don't
have a header file? If anyone can point me in the right direction, it would
be appreciated! Is this even possible?
Thanks,
Peter
Mattias Sjögren - 11 Nov 2005 06:28 GMT
Peter,
>I need to make use of some functions in an unmanaged dll -- printui.dll. My
>question is how can I find the parameter names for each function in the dll?
You read the documentation. If the function isn't documented then you
probably shouldn't call it.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Robert Jordan - 11 Nov 2005 11:03 GMT
> I need to make use of some functions in an unmanaged dll -- printui.dll. My
> question is how can I find the parameter names for each function in the dll?
[quoted text clipped - 3 lines]
> have a header file? If anyone can point me in the right direction, it would
> be appreciated! Is this even possible?
It is not possible w/out a header file.
Robert
Ole Nielsby - 11 Nov 2005 18:51 GMT
> It is not possible w/out a header file.
A type library will do.
HTH/Ole Nielsby