shcore.bmx 284 B

1234567891011121314
  1. SuperStrict
  2. Import "user32.bmx"
  3. Local shcoreLib:Byte Ptr = LoadLibraryA( "Shcore.dll" )
  4. Global GetDpiForMonitor:Int(monitor:Byte Ptr, dpiType:Int, dpix:UInt Var, dpiy:UInt Var)"Win32"
  5. If shcoreLib Then
  6. GetDpiForMonitor = GetProcAddress( shcoreLib, "GetDpiForMonitor" )
  7. End If