The answer to your question is stated right in the documentation for which you posted a link. Look towards the bottom of the page and it will tell you that the function is located in kernel32.dll.
What DLL is processthreadsapi/GetCurrentProcessId located in?
Todd Chester
666
Reputation points
Hi All,
I am trying to make from Raku a call to
GetCurrentProcessId function (processthreadsapi.h)
Raku's compiler does not liek
sub GetCurrentProcessId()
is native("processthreadsapi")
is symbol("GetCurrentProcessId")
returns DWORD
{ * };
It can't find "processthreadsapi.dll".
What dll is GetCurrentProcessId located in?
Many thanks,
-T