MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / init

Method init

source/MaaWin32ControlUnit/Screencap/DesktopDupScreencap.cpp:53–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53bool DesktopDupScreencap::init()
54{
55 LogFunc;
56
57 if (!init_d3d_device()) {
58 return false;
59 }
60
61 if (!init_dxgi_factory()) {
62 return false;
63 }
64
65 return true;
66}
67
68bool DesktopDupScreencap::ensure_output_for_monitor()
69{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected