Skip to main content

OH_NativeWindow_NativeWindowSetScalingModeV2

Function OH_NativeWindow_NativeWindowSetScalingModeV2 

Source
pub unsafe extern "C" fn OH_NativeWindow_NativeWindowSetScalingModeV2(
    window: *mut OHNativeWindow,
    scalingMode: OHScalingModeV2,
) -> i32
Expand description

@brief Sets scalingMode of a 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 scalingMode Indicates the enum value to OHScalingModeV2 @return Returns an error code, 0 is Success, otherwise, failed. @since 12 @version 1.0