Skip to main content

OH_NativeWindow_ReadFromParcel

Function OH_NativeWindow_ReadFromParcel 

Source
pub unsafe extern "C" fn OH_NativeWindow_ReadFromParcel(
    parcel: *mut OHIPCParcel,
    window: *mut *mut OHNativeWindow,
) -> i32
Expand description

@brief Read an OHNativeWindow from an OHIPCParcel.\n This interface is a non-thread-safe type interface.\n

@syscap SystemCapability.Graphic.Graphic2D.NativeWindow @param parcel Indicates the pointer to an OHIPCParcel instance. @param window Indicates the pointer to an OHNativeWindow instance. @return {@link NATIVE_ERROR_OK} 0 - Success. {@link NATIVE_ERROR_INVALID_ARGUMENTS} 40001000 - parcel is NULL or parcel does not contain the window. @since 12 @version 1.0