pub unsafe extern "C" fn OH_NativeWindow_GetNativeObjectMagic(
obj: *mut c_void,
) -> i32Available on crate feature
native_window only.Expand description
Obtains the magic ID of a native object.
This interface is a non-thread-safe type interface.
Required System Capabilities: SystemCapability.Graphic.Graphic2D.NativeWindow
§Arguments
obj- Indicates the pointer to a OHNativeWindow or OHNativeWindowBuffer instance.
§Returns
- Returns the magic ID, which is unique for each native object.
Available since API-level: 8
Version: 1.0