summaryrefslogtreecommitdiff
path: root/src/debug/debug-pal/win/processdescriptor.cpp
blob: fbc0bf0486569fde2a0520188348d7dab4dda74a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

#include <windows.h>
#include <stdio.h> 
#include <wchar.h>
#include <assert.h>
#include "processdescriptor.h"

ProcessDescriptor ProcessDescriptor::FromCurrentProcess()
{
    return FromPid(GetCurrentProcessId());
}