Skip to main content

OH_NativeWindow_NativeWindowSetTunnelHandle

Function OH_NativeWindow_NativeWindowSetTunnelHandle 

Source
pub unsafe extern "C" fn OH_NativeWindow_NativeWindowSetTunnelHandle(
    window: *mut OHNativeWindow,
    handle: *const OHExtDataHandle,
) -> i32
Expand description

@brief Sets tunnel handle of a native window.

@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param window Indicates the pointer to a OHNativeWindow instance. @param handle Indicates the pointer to a OHExtDataHandle. @return Returns an error code, 0 is success, otherwise, failed. @since 9 @version 1.0 @deprecated since 10