pub unsafe extern "C" fn MaaWin32ControllerCreate(
    hWnd: MaaWin32Hwnd,
    type_: MaaWin32ControllerType,
    callback: MaaControllerCallback,
    callback_arg: MaaCallbackTransparentArg
) -> MaaControllerHandle
Available on crate feature internal only.
Expand description

@brief Create a win32 controller instance.

@param hWnd The win32 window handle to control. This can be retrieved by helpers provided in MaaToolkitWin32Window.h. @param type The type of the win32 controller. See #MaaWin32ControllerTypeEnum. @param callback The callback function. See ::MaaAPICallback. @param callback_arg The callback arg that will be passed to the callback function. @return MaaControllerHandle The handle of the created controller instance.