MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Attach

Method Attach

IntelPresentMon/PresentMonAPI2Tests/JobManager.h:26–31  ·  view source on GitHub ↗

Attach a child process HANDLE to the job.

Source from the content-addressed store, hash-verified

24 }
25 // Attach a child process HANDLE to the job.
26 void Attach(HANDLE hChild) const
27 {
28 if (!::AssignProcessToJobObject(hJob_, hChild)) {
29 ThrowLastError_("AssignProcessToJobObject");
30 }
31 }
32private:
33 static void ThrowLastError_(const char* where)
34 {

Callers 1

TestProcessMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestProcessMethod · 0.36