codekingpro's picture
Add files using upload-large-folder tool
90219c5 verified
Raw
History Blame Contribute Delete
322 Bytes
//
// getpid.cpp
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// The _getpid() function, which gets the current process identifier.
//
#include <corecrt_internal.h>
// Gets the current process identifier.
extern "C" int __cdecl _getpid()
{
return GetCurrentProcessId();
}