public void GetContinuousBuffer(uint bufType, out IntPtr buffer, out ulong bufferLength) { var errorCode = Drv.spcm_dwGetContBuf_i64(handle, bufType, out buffer, out bufferLength); HandleError(handle, errorCode); }