GetThemePartSize function uxtheme
Calculates the original size of the part defined by a visual style.
HRESULT GetThemePartSize(
HTHEME hTheme,
HDC hdc,
int iPartId,
int iStateId,
LPCRECT prc,
THEMESIZE eSize,
SIZE *psz
);
Implementation
int GetThemePartSize(
int hTheme,
int hdc,
int iPartId,
int iStateId,
Pointer<RECT> prc,
int eSize,
Pointer<SIZE> psz,
) => _GetThemePartSize(hTheme, hdc, iPartId, iStateId, prc, eSize, psz);