function GetColorDepth: integer
var
dc: HDC;
begin
dc := GetDC(0);
Result := GetDeviceCaps(dc, BITSPIXEL);
ReleaseDC(0, dc);
end;
转载于:https://www.cnblogs.com/yzryc/p/6374133.html
function GetColorDepth: integer
var
dc: HDC;
begin
dc := GetDC(0);
Result := GetDeviceCaps(dc, BITSPIXEL);
ReleaseDC(0, dc);
end;
转载于:https://www.cnblogs.com/yzryc/p/6374133.html