tslediter/funcext/tvclib/setprocessdpiawareness.tsf

16 lines
362 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

function setprocessdpiawareness(v);
begin
{**
@explan(˵Ã÷)ÉèÖÃdpi¸ÐÖª,Ŀǰ½öÖ§³Öwindows
@param(v) 0,1,2
**}
SetProcessDpiAwareness_sub(v);
end
{$ifdef linux}
function SetProcessDpiAwareness_sub(v);
begin
end
{$else}
function SetProcessDpiAwareness_sub(v:integer):pointer;stdcall; external "Shcore.dll" name "SetProcessDpiAwareness";
{$endif}