Rechercher une page de manuel
GetNearestPaletteIndex.3w
Langue: en
Version: Jun 2009 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
NAME
GetNearestPaletteIndex (GDI32.@)SYNOPSIS
UINT GetNearestPaletteIndex(
HPALETTE hpalette,
COLORREF color
)
PARAMS
hpalette [In] Handle of logical color palette.color [In] Color to be matched.
DESCRIPTION
Gets palette index for color.
NOTES
Should index be initialized to CLR_INVALID instead of 0?.
RETURNS
Success: Index of entry in logical palette
Failure: CLR_INVALID
IMPLEMENTATION
Defined in "wingdi.h".
Implemented in "dlls/gdi32/palette.c".
Debug channel "palette".
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre