Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sun.jna.platform.win32.WinDef.HDC

Packages that use WinDef.HDC
com.sun.jna.platform.win32 |

Uses of WinDef.HDC in com.sun.jna.platform.win32

Methods in com.sun.jna.platform.win32 that return WinDef.HDC
`WinDef.HDC` | `GDI32.CreateCompatibleDC(WinDef.HDC hDC)` The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
`WinDef.HDC` | `User32.GetDC(WinDef.HWND hWnd)` This function retrieves a handle to a display device context (DC) for the client area of the specified window.

Methods in com.sun.jna.platform.win32 with parameters of type WinDef.HDC
`WinDef.HBITMAP` | `GDI32.CreateCompatibleBitmap(WinDef.HDC hDC, int width, int height)` The CreateCompatibleBitmap function creates a bitmap compatible with the device that is associated with the specified device context.
`WinDef.HDC` | `GDI32.CreateCompatibleDC(WinDef.HDC hDC)` The CreateCompatibleDC function creates a memory device context (DC) compatible with the specified device.
`WinDef.HBITMAP` | `GDI32.CreateDIBitmap(WinDef.HDC hDC, WinGDI.BITMAPINFOHEADER lpbmih, int fdwInit, com.sun.jna.Pointer lpbInit, WinGDI.BITMAPINFO lpbmi, int fuUsage)` The CreateDIBitmap function creates a compatible bitmap (DDB) from a DIB and, optionally, sets the bitmap bits.
`WinDef.HBITMAP` | `GDI32.CreateDIBSection(WinDef.HDC hDC, WinGDI.BITMAPINFO pbmi, int iUsage, com.sun.jna.ptr.PointerByReference ppvBits, com.sun.jna.Pointer hSection, int dwOffset)` The CreateDIBSection function creates a DIB that applications can write to directly.
`boolean` | `GDI32.DeleteDC(WinDef.HDC hDC)` The DeleteDC function deletes the specified device context (DC).
`int` | `GDI32.GetDeviceCaps(WinDef.HDC hdc, int nIndex)` The GetDeviceCaps function retrieves device-specific information for the specified device.
`int` | `GDI32.GetDIBits(WinDef.HDC hdc, WinDef.HBITMAP hbmp, int uStartScan, int cScanLines, com.sun.jna.Pointer lpvBits, WinGDI.BITMAPINFO lpbi, int uUsage)` The GetDIBits function retrieves the bits fo the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.
`int` | `User32.ReleaseDC(WinDef.HWND hWnd, WinDef.HDC hDC)` This function releases a device context (DC), freeing it for use by other applications.
`WinNT.HANDLE` | `GDI32.SelectObject(WinDef.HDC hDC, WinNT.HANDLE hGDIObj)` The SelectObject function selects an object into the specified device context (DC).
`int` | `GDI32.SetPixel(WinDef.HDC hDC, int x, int y, int crColor)` The SetPixel function sets the pixel at the specified coordinates to the specified color.
`boolean` | `User32.UpdateLayeredWindow(WinDef.HWND hwnd, WinDef.HDC hdcDst, WinUser.POINT pptDst, WinUser.SIZE psize, WinDef.HDC hdcSrc, WinUser.POINT pptSrc, int crKey, WinUser.BLENDFUNCTION pblend, int dwFlags)` The UpdateLayeredWindow function updates the position, size, shape, content, and translucency of a layered window.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES