mirror of
https://git.suyu.dev/suyu/discord-rpc.git
synced 2025-12-30 11:16:21 +01:00
getpid
This commit is contained in:
parent
79d70b8bae
commit
85fc57dea2
3 changed files with 16 additions and 0 deletions
|
|
@ -6,6 +6,11 @@
|
|||
#define NOIME
|
||||
#include <windows.h>
|
||||
|
||||
int GetProcessId()
|
||||
{
|
||||
return ::GetCurrentProcessId();
|
||||
}
|
||||
|
||||
struct BaseConnectionWin : public BaseConnection {
|
||||
HANDLE pipe{INVALID_HANDLE_VALUE};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue