Grepping FPC sources: TabCtrl_InsertItem should be in the Windows unit. Just like all other WinAPI functions.

ComCtrls unit is for components (Lazarus / Delphi ones), so it's not usable for you if you want to use direct WinAPI functions.