Sets the camera focus position. # Arguments `focus` - Focus position (device-specific range)
(&self, focus: u32)
| 109 | /// |
| 110 | /// * `focus` - Focus position (device-specific range) |
| 111 | fn set_focus(&self, focus: u32) -> Result<()> { |
| 112 | unsafe { |
| 113 | set_media_type_uint64(&self.source_reader.0, &MF_MT_VIDEO_LIGHTING, focus as u64); |
| 114 | } |
| 115 | Ok(()) |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | /// System control implementation for MSMF cameras. |
nothing calls this directly
no test coverage detected