CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
win_sys_prochandle.h
1
#pragma once
2
3
// Opening a process handle, shared between the Windows process and statistics backends.
4
//
5
// Kept apart from win_sys_process.h because that header is tail-included by
6
// cx/sys/process_private.h, which shared code includes and which must never drag in the Win32
7
// SDK. This one names a HANDLE, so it needs the SDK and can only be included from a Windows
8
// backend source file.
9
10
#include "cx/platform/win.h"
11
#include "
cx/sys/process.h
"
12
13
// Open a process with the least access that answers cx's questions, stepping down through the
14
// rights until one is granted. Returns NULL if none was, and does not raise any privilege the
15
// caller was not already started with. Close the result with CloseHandle().
16
HANDLE _procWinOpenHandle(
ProcessID
pid);
ProcessID
int64 ProcessID
Operating system process id.
Definition
process.h:128
process.h
Launching, inspecting and controlling operating system processes.
cx
platform
win
win_sys_prochandle.h
Generated by
1.9.8