MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / Close

Method Close

Service/DisplayXLib.cpp:142–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142int CDisplayXLib::Close()
143{
144 int nRet = 0;
145 if(m_pDisplay)
146 {
147 XCloseDisplay(m_pDisplay);
148 m_pDisplay = NULL;
149 }
150
151 m_RootWindow = 0;
152
153 if(m_pImage)
154 {
155 DestroyImage(m_pImage);
156 m_pImage = NULL;
157 }
158
159 return nRet;
160}
161
162int CDisplayXLib::GetScreenCount()
163{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected