mirror of
https://github.com/arehnman/yttrium-virtio-gpu.git
synced 2026-10-31 02:05:04 +00:00
netkvm-prot: add system directory getter class
Signed-off-by: Yuri Benditovich <[email protected]>
This commit is contained in:
1 parent
3ae4694b64
commit
1be84c81fe
1 file changed
+17
@@ -777,6 +777,23 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class CSystemDirectory : public CString
|
||||
{
|
||||
public:
|
||||
CSystemDirectory()
|
||||
{
|
||||
WCHAR* p = new WCHAR[MAX_PATH];
|
||||
if (p)
|
||||
{
|
||||
if (GetSystemDirectory(p, MAX_PATH))
|
||||
{
|
||||
Append(p);
|
||||
Append(L"\\");
|
||||
}
|
||||
delete[] p;
|
||||
}
|
||||
}
|
||||
};
|
||||
class CProtocolServiceImplementation :
|
||||
public CServiceImplementation,
|
||||
public CThreadOwner,
|
||||
|
||||
Reference in new issue
Block a user