Although the .NET framework encapsulates a large portion of the Win32 API, it's sometimes still necessary to call the API from your managed code using the DllImport attribute—and that can get complicated.
Author: Martin Heller Code: ASP.NET v1.0 & VB