..msdn Add comment W32 Constants Translate this page
Returns handle to the Graphics object that is associated with a specified device context and a specified device.|
GpStatus WINGDIPAPI GdipCreateFromHDC2(
DECLARE INTEGER GdipCreateFromHDC2 IN gdiplus;
INTEGER @ graphics
[in] Handle to a device context that will be associated with the new Graphics object.
[in] Handle to a device that will be associated with the new Graphics object.
[out] Handle to the Graphics object.
|Returns GpStatus value, 0 means success.|
|The Graphics class provides methods for drawing lines, curves, figures, images, and text. A Graphics object stores attributes of the display device and attributes of the items to be drawn.|
When no longer needed the Graphics object must be deleted with the GdipDeleteGraphics function.
See also: GdipCreateFromHWND, GdipCreateFromHDC functions.
|Word Index links for the GdipCreateFromHDC2 :|
|Translate this page:|
Visited in last 7 days: 21
|Created: ||2004-07-05 16:50:56|
|Modified: ||2004-07-05 16:54:09|