OH_ArkUI_NodeUtils_GetWindowInfo

Function OH_ArkUI_NodeUtils_GetWindowInfo 

Source
pub unsafe extern "C" fn OH_ArkUI_NodeUtils_GetWindowInfo(
    node: ArkUI_NodeHandle,
    info: *mut *mut ArkUI_HostWindowInfo,
) -> i32
Available on crate features api-12 and api-15 only.
Expand description

Get info of the window to which the node belongs.

§Arguments

§Returns

  • Error code. [ARKUI_ERROR_CODE_NO_ERROR] success. [ARKUI_ERROR_CODE_PARAM_INVALID] Function parameter exception. [ARKUI_ERROR_CODE_NODE_NOT_ON_MAIN_TREE] The node is not mounted.

Available since API-level: 15