MCPcopy Create free account
hub / github.com/JHRobotics/softgpu / setHightDPI

Function setHightDPI

softgpu.c:834–847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

832typedef BOOL (WINAPI * SetProcessDPIAware_f)();
833
834void setHightDPI()
835{
836 SetProcessDPIAware_f SetProcessDPIAware_h = NULL;
837 HMODULE hmod = GetModuleHandleA("user32.dll");
838 if(hmod != NULL)
839 {
840 SetProcessDPIAware_h = (SetProcessDPIAware_f)GetProcAddress(hmod, "SetProcessDPIAware");
841
842 if(SetProcessDPIAware_h != NULL)
843 {
844 SetProcessDPIAware_h();
845 }
846 }
847}
848
849int main(int argc, const char *argv[])
850{

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected