DrawThemeIcon function uxtheme
Draws an image from an image list with the icon effect defined by the visual style.
HRESULT DrawThemeIcon(
HTHEME hTheme,
HDC hdc,
int iPartId,
int iStateId,
LPCRECT pRect,
HIMAGELIST himl,
int iImageIndex
);
Implementation
int DrawThemeIcon(int hTheme, int hdc, int iPartId, int iStateId,
Pointer<RECT> pRect, int himl, int iImageIndex) =>
_DrawThemeIcon(hTheme, hdc, iPartId, iStateId, pRect, himl, iImageIndex);