| // | |
| // getpid.cpp | |
| // | |
| // Copyright (c) Microsoft Corporation. All rights reserved. | |
| // | |
| // The _getpid() function, which gets the current process identifier. | |
| // | |
| // Gets the current process identifier. | |
| extern "C" int __cdecl _getpid() | |
| { | |
| return GetCurrentProcessId(); | |
| } | |