DwDesiredAccess is the requested access for the semaphore object.
dwDesiredAccess是针对该信号量对象所请求的访问权。
When the count reaches zero, the state of the semaphore object becomes non-signaled.
当计数值成为零时,信号对象的状态成为non - signaled。
This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.
这个函数使用一个信号量对象的句柄作为参数,并会一直等待下去,直到其状态变为有信号状态或超时为止。
应用推荐