mutex owned by a process
-
Hi, In my application, I have a given process (I get its identifier as a DWORD, a pseudo HANDLE and its name) and a given mutex name and I have to know if this given mutex belongs to the given process. Does anybody know how to proceed ? Thanks, Robin.
-
Hi, In my application, I have a given process (I get its identifier as a DWORD, a pseudo HANDLE and its name) and a given mutex name and I have to know if this given mutex belongs to the given process. Does anybody know how to proceed ? Thanks, Robin.
Can you describe situation with more details? :confused: For what purpose you want to check is mutex belong to given process? Maybe you can create a table of pair mutex-PID in shared memory and when needed check is mutex belong to Process. (??? MapViewOfFile function can help with memory sharing ???)