diff --git a/arkui/window_manager/oh_window.h b/arkui/window_manager/oh_window.h index 478ab099a9b9c68b3dcb05e9eba00268f468ec60..347d1000275db13023663a48045c143e2daa068f 100644 --- a/arkui/window_manager/oh_window.h +++ b/arkui/window_manager/oh_window.h @@ -278,14 +278,16 @@ void OH_WindowManager_ReleaseAllWindowLayoutInfoList(WindowManager_Rect* windowL * * @param windowId windowId when window is created. * @param touchEvent multimodal touchEvent. + * @param windowX The position of the event relative to the abscissa of the window. + * @param windowY The position of the event relative to the ordinate of the window. * @return Returns the result code. * {@link OK} the function call is successful. - * {@link WINDOW_MANAGER_ERRORCODE_INVALID_PARAM} parameter error. * {@link WINDOW_MANAGER_ERRORCODE_STATE_ABNORMAL} this window state is abnormal. * {@link WINDOW_MANAGER_ERRORCODE_SYSTEM_ABNORMAL} the window manager service works abnormally. * @since 20 */ -int32_t OH_WindowManager_InjectTouchEvent(int32_t windowId, Input_TouchEvent* touchEvent); +int32_t OH_WindowManager_InjectTouchEvent( + int32_t windowId, Input_TouchEvent* touchEvent, int32_t windowX, int32_t windowY); #ifdef __cplusplus }