MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / BIF_DECL

Function BIF_DECL

source/script2.cpp:304–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302
303
304BIF_DECL(BIF_TraySetIcon)
305{
306 if (!g_script.SetTrayIcon(
307 ParamIndexToOptionalString(0, _f_number_buf) // buf is provided for error-reporting purposes.
308 , ParamIndexToOptionalInt(1, 1)
309 , ParamIndexIsOmitted(2) ? NEUTRAL : ParamIndexToBOOL(2) ? TOGGLED_ON : TOGGLED_OFF))
310 _f_return_FAIL;
311 _f_return_empty;
312}
313
314
315

Callers

nothing calls this directly

Calls 15

omit_leading_whitespaceFunction · 0.85
DetermineTargetHwndFunction · 0.85
WinCloseFunction · 0.85
DetermineTargetWindowFunction · 0.85
IsWindowHungFunction · 0.85
SetForegroundWindowExFunction · 0.85
WinActivateFunction · 0.85
TextToVKFunction · 0.85
ConvertJoyFunction · 0.85
ctoupperFunction · 0.85
ATOFFunction · 0.85
ATOIFunction · 0.85

Tested by

no test coverage detected