代码样本1
Sample C code calling it:OVERLAPPED overlapped; overlapped.hEvent = CreateEvent(NULL, FALSE, FALSE, NULL); fns.NotifyStateChange(&overlapped); WaitForSingleObject(overlapped.hEvent, INFINITE); // ...query for the new state or whatever... This is ho
复制链接