Eloi Gaudry, le Mon 06 Jan 2014 17:16:53 +0100, a écrit :
> the PID of the process. I was assuming that casting this member to a HANDLE object would allow me to use hwloc_get_proc_cpubind,
No, PIDs are mere numbers, they have nothing to do with HANDLES. More
interestingly, PID values are valid along the whole systems, while
HANDLE values are only valid with a given process. You have to use
OpenProcess, to create a HANDLE from a PID.