一直发愁API如何DllImport,这下找到个好参考!
http://www.webtropy.com/articles/Win32-API-DllImport-art9.asp?Windows+API
File, Memory, Process, Threading, Time, Console, and Comm control(kernel32.dll)
Window handling, and Windows UI control(user32.dll)
Graphics and Imaging(gdi32.dll)
Audio, Video, and Joystick control(winmm.dll)
Registry, Event Log, Authentication, and Services(advapi32.dll)
Printing(winspool.drv)
Asian charachter support(imm32.dll)
Executing processes(shell32.dll)
Winsock, windows berkley socket support(wsock32.dll)
WNet* Instrumentation(mpr.dll)
Common Dialog control(comdlg32.dll)
Windows Network support(netapi32.dll)
Windows Compression(lz32.dll)
Common Controls(comctl32.dll)
Versioning support(version.dll)
Object linking and embedding(ole32.dll)