-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrtlmir.h
28 lines (25 loc) · 988 Bytes
/
rtlmir.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//+-------------------------------------------------------------------------
//
// TaskMan - NT TaskManager
// Copyright (C) Microsoft
//
// File: rtlmir.h
//
// History: Oct-11-24 aubymori Created
//
//--------------------------------------------------------------------------
#pragma once
#include "precomp.h"
extern BOOL g_bMirroredOS;
BOOL Mirror_IsEnabledOS(void);
BOOL Mirror_IsWindowMirroredRTL(HWND hWnd);
extern const DWORD dwNoMirrorBitmap;
extern const DWORD dwExStyleRTLMirrorWnd;
extern const DWORD dwExStyleNoInheritLayout;
extern const DWORD dwPreserveBitmap;
#define IS_MIRRORING_ENABLED() Mirror_IsEnabledOS()
#define IS_WINDOW_RTL_MIRRORED(hwnd) (g_bMirroredOS && Mirror_IsWindowMirroredRTL(hwnd))
#define DONTMIRRORBITMAP dwNoMirrorBitmap
#define RTL_MIRRORED_WINDOW dwExStyleRTLMirrorWnd
#define RTL_NOINHERITLAYOUT dwExStyleNoInheritLayout
#define LAYOUT_PRESERVEBITMAP dwPreserveBitmap