pub unsafe extern "C" fn OH_NativeWindow_GetSurfaceId(
window: *mut OHNativeWindow,
surfaceId: *mut u64,
) -> i32Expand description
@brief Get surfaceId from native window.\n This interface is a non-thread-safe type interface.\n
@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param window Indicates the pointer to an OHNativeWindow instance. @param surfaceId Indicates the pointer to a surfaceId. @return Returns an error code, 0 is success, otherwise, failed. @since 12 @version 1.0