adsi.ADsGetLastError

(int, unicode, unicode) = ADsGetLastError()