1# oh_window_comm.h
2
3
4## Overview
5
6The **oh_window_comm.h** file declares the common enums and definitions of the window manager.
7
8**System capability**: SystemCapability.Window.SessionManager
9
10**File to include**: <window_manager/oh_window_comm.h>
11
12**Library**: libnative_window_manager.so
13
14**Since**: 12
15
16**Related module**: [WindowManager_NativeModule](_window_manager___native_module.md)
17
18
19## Summary
20
21
22### Types
23
24| Name | Description |
25| -------- | -------- |
26| typedef enum [WindowManager_ErrorCode](_window_manager___native_module.md#windowmanager_errorcode)  [WindowManager_ErrorCode](_window_manager___native_module.md#windowmanager_errorcode) | Defines an enum for the status codes returned by the window manager interface. |
27
28
29### Enums
30
31| Name | Description |
32| -------- | -------- |
33| [WindowManager_ErrorCode](_window_manager___native_module.md#windowmanager_errorcode) { OK = 0, INVAILD_WINDOW_ID = 1000, SERVICE_ERROR = 2000 } | Enumerates the status codes returned by the window manager interface. |
34