ID : 5163
MutexID
功能
返回Mutex对象的ID。
相关项目
Mutex对象、 CreateMutex、 DeleteMutex、 TakeMutex、 GiveMutex、 ResetMutex、 MutexID、 MutexState、 排他处理的程序示例1、 排他处理的程序示例2、 排他处理的程序示例3
注意事项
应用示例
Sub Main
Dim n As Integer
n = MutexID(S[10])
If n = -1 Then Exit Sub
TakeMutex n
'Statements
GiveMutex n
End Sub
ID : 5163