(&self)
| 592 | } |
| 593 | |
| 594 | fn create_gdi(&self) -> Option<CapturerGDI> { |
| 595 | if let Ok(res) = CapturerGDI::new(self.name(), self.width(), self.height()) { |
| 596 | Some(res) |
| 597 | } else { |
| 598 | None |
| 599 | } |
| 600 | } |
| 601 | |
| 602 | pub fn hmonitor(&self) -> HMONITOR { |
| 603 | self.desc.Monitor |