GetWindowTheme function uxtheme

int GetWindowTheme(
  1. int hwnd
)

Retrieves a theme handle to a window that has visual styles applied.

HTHEME GetWindowTheme(
  HWND hwnd
);

Implementation

int GetWindowTheme(int hwnd) => _GetWindowTheme(hwnd);