Add PhGetWindowStyle

This commit is contained in:
dmex
2018-08-06 09:45:45 +10:00
parent 90abc9743b
commit 8aae06da5c
+7
View File
@@ -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,