https://github.com/qt/qtbase/blob/af7a3430edfc4deff494c9ec88b803f468b5cf2a/src/plugins/platforms/windows/qwindowstheme.cpp#L923