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

Function LV_Int32Sort

source/script_gui.cpp:10742–10747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10740
10741
10742int CALLBACK LV_Int32Sort(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort)
10743{
10744 // Caller-provided value of lParamSort is TRUE (non-zero) when ascending order is desired.
10745 // MSDN: "return a negative value if the first item should precede the second"
10746 return (int)(lParamSort ? (lParam1 - lParam2) : (lParam2 - lParam1));
10747}
10748
10749
10750

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected