MCPcopy Create free account
hub / github.com/ariccio/altWinDirStat / CheckITSDll

Method CheckITSDll

Reference code/osImageTool/RemoteDevice.cpp:69–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69bool RemoteDevice::CheckITSDll()
70{
71 DWORD outsize=0;
72 HRESULT res= CeRapiInvoke(L"\\Windows\\ItsUtils.dll", L"ITGetVersion",
73 0, NULL, &outsize, NULL, NULL, 0);
74 if (res>10000 || res<ITSDLL_VERSION)
75 {
76 return CeCopyFileToDevice(g_cfg.ApplicationRoot+"\\itsutils.dll", "\\windows");
77 }
78 return true;
79}
80bool RemoteDevice::Connect()
81{
82 if (m_bConnected)

Callers

nothing calls this directly

Calls 1

CeCopyFileToDeviceFunction · 0.85

Tested by

no test coverage detected