英语/计算机英语
Handle to the current instance of the application
Handle to the previous instance of the application.This parameter is always NULL.
If you need to detect whether another instance already exists,create a uniquely named mutex using the CreateMutex function.CreateMutex will succeed even if the mutex already exists,but the GetLastError function will return ERROR_ALREADY_EXISTS.This indicates that another instance of your application exists,because it created the mutex first.
lpCmdLine
[in] Pointer to a null-terminated string specifying the command line for the application,excluding the program name.To retrieve the entire command line,use the GetCommandLine function
还有specifying在这段话里我要怎么理解.
人气:329 ℃ 时间:2020-04-13 08:52:53
解答
程序中当前实例的句柄程序中上一实例的句柄参数(变量)通常为空假如你需要检测另一个实例是否已创建,通过调用CreateMutex函数创建一个唯一命名的互斥锁(mutex).该函数在创建过程中会忽略是否存在互斥,但GetLast...
推荐
猜你喜欢