Do calling an API function considered an expensive operation? (when comparing it to a function call which is part of my application)
I understand that some API functions cause a leap to kernel mode but is it true for all of them?
More specific: how expensive will it be to call GetThreadId function?