Hi, Gurus:
I know there are a lot of functionalities which are provided by Win32 API
previously, now are available with .NET framework. But not all of them are
available with .NET.
Is there any good article which can tell us generic rules to translate
Win32 API and its coding into C#. For example:
we have C++ function:
DWORD RasEnumEntries (
LPTSTR reserved, // reserved, must be NULL
LPTSTR lpszPhonebook, // pointer to full path and filename of phonebook
file
LPRASENTRYNAME lprasentryname, // buffer to receive phonebook entries
LPDWORD lpcb, // size in bytes of buffer
LPDWORD lpcEntries // number of entries written to buffer
);
How to translate it into C# and how to initialize the value of each
parameter and how to use it?
Thanks in advance!