protected override int FindNext(int findId, ref ISourceFile source) { NET_DVR_FIND_PICTURE_V50 findData = new NET_DVR_FIND_PICTURE_V50(); int res = SdkHelper.InvokeSDK(() => NET_DVR_FindNextPicture_V50(findId, ref findData)); source = findData; return(res); }
private static extern int NET_DVR_FindNextPicture_V50(int lFindHandle, ref NET_DVR_FIND_PICTURE_V50 lpFindData);
internal RemotePhotoFile(NET_DVR_FIND_PICTURE_V50 findData) { this.Name = findData.sFileName; this.Date = findData.struTime.ToDateTime(); this.Size = findData.dwFileSize; }