public int RecordPlay(IntPtr hWnd) { if (mConfig.IsRecord && initImageRecorder()) { return(mRecorder.Play(hWnd)); } return(-1); }