openharmony 鸿蒙 capi-windowmanager-windowmanager-mainwindowinfo

2026-08-25 浏览 (1)

WindowManager_MainWindowInfo

typedef struct {...} WindowManager_MainWindowInfo

Overview

The struct describes the main window information.

Since: 21

Related module: WindowManager

Header file: oh_window_comm.h

Summary

Member Variables

NameDescription
uint64_t displayIdID of the display to which the main window belongs.
int32_t windowIdID of the main window.
bool showingForeground/Background status of the main window. true if the main window is in the foreground, false otherwise.
const char* labelPointer to the task name of the main window.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 arkts-apis-uicontext-contextmenucontroller

openharmony 鸿蒙 errorcode-canvas

openharmony 鸿蒙 capi-oh-nativexcomponent-native-xcomponent-oh-nativexcomponent

openharmony 鸿蒙 errorcode-bindSheet

openharmony 鸿蒙 js-apis-arkui-uiExtension-sys

openharmony 鸿蒙 capi-arkui-accessibility-arkui-accessibilityeventinfo

openharmony 鸿蒙 capi-arkui-rendernodeutils

openharmony 鸿蒙 js-apis-arkui-node

openharmony 鸿蒙 capi-native-node-h

openharmony 鸿蒙 capi-arkui-nativemodule-arkui-listitemswipeactionitem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/fBs5Tanl