GetThemeMetric function uxtheme

int GetThemeMetric(
  1. int hTheme,
  2. int hdc,
  3. int iPartId,
  4. int iStateId,
  5. int iPropId,
  6. Pointer<Int32> piVal
)

Retrieves the value of a metric property.

HRESULT GetThemeMetric(
  HTHEME hTheme,
  HDC    hdc,
  int    iPartId,
  int    iStateId,
  int    iPropId,
  int    *piVal
);

Implementation

int GetThemeMetric(int hTheme, int hdc, int iPartId, int iStateId, int iPropId,
        Pointer<Int32> piVal) =>
    _GetThemeMetric(hTheme, hdc, iPartId, iStateId, iPropId, piVal);