What exceptions can occur when using PInvoke or are all errors handled by the method return values and it is up to the developer to check and raise exceptions if ne
Also:
DllNotFoundException
BadImageFormatException
MethodAccessException