예제 #1
0
 public static extern bool GetColorAdjustment([In] IntPtr hdc, [Out] out ColorAdjustment lpca);
예제 #2
0
 /// <summary>
 /// The SetColorAdjustment function sets the color adjustment values for a device context (DC) using the specified values
 /// </summary>
 /// <param name="hdc">Handle to the device context</param>
 /// <param name="lpca">Pointer to a COLORADJUSTMENT structure containing the color adjustment values</param>
 /// <returns>If the function succeeds, the return value is nonzero, otherwise 0</returns>
 public static bool SetColorAdjustment(IntPtr hdc, ref ColorAdjustment lpca)
 {
     return(Native.SetColorAdjustment(hdc, ref lpca));
 }
예제 #3
0
 public static extern bool SetColorAdjustment([In] IntPtr hdc, [In] ref ColorAdjustment lpca);
예제 #4
0
 /// <summary>
 /// The GetColorAdjustment function retrieves the color adjustment
 /// values for the specified device context (DC)
 /// </summary>
 /// <param name="hdc">Handle to the device context.</param>
 /// <param name="lpca">Pointer to a COLORADJUSTMENT structure that receives the color adjustment values</param>
 /// <returns>If the function succeeds, the return true, otherwise false.</returns>
 public static bool GetColorAdjustment([In] IntPtr hdc, [Out] out ColorAdjustment lpca)
 {
     return(Native.GetColorAdjustment(hdc, out lpca));
 }