Esempio n. 1
0
 public static extern unsafe HResult GetThemeMargins(
     SafeThemeHandle hTheme,
     User32.SafeDCHandle hdc,
     int iPartId,
     int iStateId,
     int iPropId,
     [Friendly(FriendlyFlags.In | FriendlyFlags.Optional)] RECT *prc,
     out MARGINS pMargins);
Esempio n. 2
0
 public static extern User32.SafeDCHandle CreateCompatibleDC(User32.SafeDCHandle hDC);
Esempio n. 3
0
 public static extern IntPtr CreateCompatibleBitmap(User32.SafeDCHandle hDC, int nWidth, int nHeight);
Esempio n. 4
0
 public static extern IntPtr SelectObject(User32.SafeDCHandle hDC, IntPtr hObject);
Esempio n. 5
0
 public static extern bool DeleteDC(User32.SafeDCHandle hDC);
Esempio n. 6
0
 public static extern int GetDeviceCaps(
     User32.SafeDCHandle hdc,
     int nIndex);