Beispiel #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);
Beispiel #2
0
 public static extern User32.SafeDCHandle CreateCompatibleDC(User32.SafeDCHandle hDC);
Beispiel #3
0
 public static extern IntPtr CreateCompatibleBitmap(User32.SafeDCHandle hDC, int nWidth, int nHeight);
Beispiel #4
0
 public static extern IntPtr SelectObject(User32.SafeDCHandle hDC, IntPtr hObject);
Beispiel #5
0
 public static extern bool DeleteDC(User32.SafeDCHandle hDC);
Beispiel #6
0
 public static extern int GetDeviceCaps(
     User32.SafeDCHandle hdc,
     int nIndex);