mirror of
https://github.com/VincentWei/MiniGUI.git
synced 2026-09-25 02:33:59 +08:00
implement IsScreenDC and IsWindowDC
This commit is contained in:
@@ -3731,6 +3731,18 @@ MG_EXPORT BOOL GUIAPI IsMemDC (HDC hdc)
|
||||
return dc_IsMemDC (pdc);
|
||||
}
|
||||
|
||||
MG_EXPORT BOOL GUIAPI IsScreenDC (HDC hdc)
|
||||
{
|
||||
PDC pdc = dc_HDC2PDC(hdc);
|
||||
return dc_IsScreenDC (pdc);
|
||||
}
|
||||
|
||||
MG_EXPORT BOOL GUIAPI IsWindowDC (HDC hdc)
|
||||
{
|
||||
PDC pdc = dc_HDC2PDC(hdc);
|
||||
return dc_IsGeneralDC (pdc);
|
||||
}
|
||||
|
||||
MG_EXPORT GHANDLE GetVideoHandle (HDC hdc)
|
||||
{
|
||||
PDC pdc = dc_HDC2PDC (hdc);
|
||||
|
||||
Reference in New Issue
Block a user