1# WMS<a name="EN-US_TOPIC_0000001122925147"></a> 2 3- [Introduction](#section11660541593) 4- [Directory Structure](#section161941989596) 5- [Compilation and Building](#section137768191623) 6- [Description](#section1312121216216) 7 - [Usage](#section129654513264) 8 9- [Repositories Involved](#section1371113476307) 10 11## Introduction<a name="section11660541593"></a> 12 13The graphics service uses the client/server \(C/S\) architecture and is divided into two sub-services: Window Manager Service \(WMS\) and Input Manager Service \(IMS\). The application calls the APIs provided by the client to obtain the window status and process events. The server interacts with the hardware to implement display and input event distribution. 14 15- WMS: Manages and combines windows of different applications in a unified manner. Each window is bound to a **RootView** object. 16- IMS: Connects to the underlying input event driver framework to monitor and distribute input events. 17 18**Figure 1** <a name="fig163546295165"></a> 19 20 21 22 23## Directory Structure<a name="section161941989596"></a> 24 25``` 26/foundation/window/window_manager_lite 27├── frameworks # Client 28│ ├── ims # Input event management service client 29│ └── wms # Window management service client 30├── interfaces # APIs 31│ ├── innerkits # APIs between modules 32├── services # Server 33│ ├── ims # Input event management service 34│ └── wms # Window management service 35└── test # Test code 36``` 37 38## Compilation and Building<a name="section137768191623"></a> 39 40``` 41# Generate the wms_server and libwms_client.so files in the out directory of the product folder through GN compilation. 42hb build window_manager_lite 43``` 44 45## Description<a name="section1312121216216"></a> 46 47### Usage<a name="section129654513264"></a> 48 49- WMS provides methods to display various UI components, send event notifications, and process various events. For details, see the related source code. 50- **test/sample\_window** provides the unit testing for each WMS API. Refer to it for the usage of WMS. 51 52## Repositories Involved<a name="section1371113476307"></a> 53 54[Graphic subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/graphics.md) 55 56**window_manager_lite** 57 58[graphic_surface_lite](https://gitee.com/openharmony/graphic_surface_lite/blob/master/README.md) 59 60[arkui_ui_lite](https://gitee.com/openharmony/arkui_ui_lite/blob/master/README.md) 61 62[graphic_graphic_utils_lite](https://gitee.com/openharmony/graphic_graphic_utils_lite/blob/master/README.md)