STATIC METHOD AdsSetLastError( ulErrCode AS DWORD, pucDetails AS STRING ) AS DWORD
public static uint AdsSetLastError( uint ulErrCode, string pucDetails )