[DllImport("uxtheme.dll", SetLastError = true)] public static extern HRESULT GetThemeTransitionDuration( IntPtr hTheme, int iPartId, int iStateIdFrom, int iStateIdTo, int iPropId, out int pdwDuration );
Microsoft documentation: Link
Last updated 1 year ago