What's the most annoying api you've ever used? Mine pretty much has to be the winsock NSP as it is probably the hardest api in Windows to use behind the relatively harmless looking INT WSALookupServiceBegin( LPWSAQUERYSET pQuerySet , DWORD dwFlags , LPHANDLE