.Net API Docs: How to Find DLL Definitions
Posted on 2004-04-05
This is a general question regarding how to find the information I'm looking for in the maze of .NET documentation.
While working on the my current project, I am converting some C++ code into C#. What I have to work with is pretty much a bunch of code snippetts. An example follows:
WSAQUERYSET wsaqueryset = new WSAQUERYSET();
wsaqueryset.dwNameSpace = NS_BTH;
One of the challenges I am faced with is finding where references to constants such as: NS_BTH are defined. I'm using the .Net help systems with limited success. I need to find where NS_BTH (as a generic example) are defined in that way, I can add the proper DLL imports into my code, such as:
private static extern int WSAStartup(short versionrequested,byte wsadata);
I can find references to things like WSAQUERYSET and know which DLL it is defined in, but when it comes to the constants, no such luck.
Bottom line, how do I go about finding this type of documentation?