Open an existing named mutex, specifying the desired security access.
打开现有的已命名互斥体,并指定所需的安全访问权。
How to use named mutex to ensure only one instance of the application to run.
如何利用命名互斥对象保证应用程序只有一个实例运行。
If the named mutex object existed before the function call, the function returns a handle to the existing object and GetLastError returns ERROR_ALREADY_EXISTS.
如果一个命名的互斥对象在本函数调用之前已经存在,则返回已经存在的对象句柄。
If the named mutex object existed before the function call, the function returns a handle to the existing object and GetLastError returns ERROR_ALREADY_EXISTS.
如果一个命名的互斥对象在本函数调用之前已经存在,则返回已经存在的对象句柄。
应用推荐