internal void CloseFireDTVHandle() { uint returnCode = FireDTVAPI.FS_CloseDeviceHandle(Handle); if ((FireDTVConstants.FireDTVStatusCodes)returnCode != FireDTVConstants.FireDTVStatusCodes.Success) { throw new FireDTVException((FireDTVConstants.FireDTVStatusCodes)returnCode, "Device Close Failure"); } _handle = 0; }
internal void CloseFireDTVHandle(FireDTVSourceFilterInfo currentSourceFilter) { try { uint returnCode = FireDTVAPI.FS_CloseDeviceHandle(currentSourceFilter.Handle); if ((FireDTVConstants.FireDTVStatusCodes)returnCode != FireDTVConstants.FireDTVStatusCodes.Success) { throw new FireDTVException((FireDTVConstants.FireDTVStatusCodes)returnCode, "Device Close Failure"); } } catch (Exception) { } }