diff --git a/phlib/include/guisup.h b/phlib/include/guisup.h index d68db82f5..ea8e18069 100644 --- a/phlib/include/guisup.h +++ b/phlib/include/guisup.h @@ -75,6 +75,13 @@ VOID PhSetControlTheme( _In_ PWSTR Theme ); +FORCEINLINE LONG_PTR PhGetWindowStyle( + _In_ HWND WindowHandle + ) +{ + return GetWindowLongPtr(WindowHandle, GWL_STYLE); +} + FORCEINLINE VOID PhSetWindowStyle( _In_ HWND Handle, _In_ LONG_PTR Mask,