Skip to main content

overwolf.windows.getCurrentWindow

Overwolf APIs / overwolf / overwolf / windows / getCurrentWindow

function getCurrentWindow(callback: CallbackFunction<WindowResult>): void;

Calls the given callback function with the current window object as a parameter.

Parameters

ParameterTypeDescription
callbackCallbackFunction<WindowResult>A callback function which will be called with the current window object as a parameter. See

Returns

void