Advertisement
MagicAndre1981

new GDI Scaling API for Windows 10

Apr 4th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. #ifdef GDIDPISCALING
  2. __kernel_entry W32KAPI BOOL
  3. NtGdiScaleRgn(
  4. _In_ HDC hdc,
  5. _In_ HRGN hrgn);
  6.  
  7. __kernel_entry W32KAPI BOOL
  8. NtGdiScaleValues(
  9. _In_ HDC hdc,
  10. __in_ecount(cl) LPLONG pl,
  11. _In_ UINT cl);
  12.  
  13. BOOL GreScaleValues(
  14. _In_ HDC hdc,
  15. __in_ecount(cl) LPLONG pl,
  16. _In_ UINT cl);
  17.  
  18. BOOL GreScaleRgn(
  19. _In_ HDC hdc,
  20. _In_ HRGN hrgn);
  21.  
  22. __kernel_entry W32KAPI LONG
  23. NtGdiGetDCDpiScaleValue(
  24. _In_ HDC hdc);
  25.  
  26. __kernel_entry W32KAPI LONG
  27. NtGdiGetBitmapDpiScaleValue(
  28. _In_ HBITMAP hbm);
  29.  
  30. LONG GreGetDCDpiScaleValue(
  31. _In_ HDC hdc);
  32.  
  33. LONG GreGetBitmapDpiScaleValue(
  34. _In_ HSURF hsurf);
  35.  
  36. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement