Function ohos_sys::native_window::OH_NativeWindow_GetNativeObjectMagic
source ยท pub unsafe extern "C" fn OH_NativeWindow_GetNativeObjectMagic(
obj: *mut c_void,
) -> i32Available on crate feature
native_window only.Expand description
@brief Obtains the magic ID of a native object.
@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param obj Indicates the pointer to a OHNativeWindow or OHNativeWindowBuffer instance. @return Returns the magic ID, which is unique for each native object. @since 8 @version 1.0