CreateEvent创建约20个事件.可能吗? [英] CreateEvent to create some 20 events. Is it possible?

查看:174
本文介绍了CreateEvent创建约20个事件.可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用CreateEvent(多次且彼此独立)来
创建约20个事件.

可能吗?如果是这样,怎么办?

I want use CreateEvent (multiple times and independent from each other) to
create some 20 events.

Is it possible? If so, how ? Any example?

推荐答案

当然可以!

我不明白为什么不这样.我不明白为什么.您不需要任何代码:只需调用以下代码: http://msdn.microsoft.com/en-us/library/ms682396(v=vs.85).aspx [ http://msdn.microsoft.com/zh-cn/library/ms686915(v = vs.85).aspx [
Of course you can!

I cannot see why not. I cannot see why. You don''t need any code: just call this: http://msdn.microsoft.com/en-us/library/ms682396(v=vs.85).aspx[^], but you probably know this already. Did you see this code sample: http://msdn.microsoft.com/en-us/library/ms686915(v=vs.85).aspx[^]? I think this is clear.

Unfortunately, it would not help you if you don''t understand the purpose. (I suspect you don''t, otherwise you would not ask this Question.)

Unfortunately, I cannot help you any further, because I don''t know your goals and your idea. What do you want to do with events.

So, I''m puzzled about the purpose of your Question. I you have more sensible Question, don''t hesitate to ask — I create those event all the time albeit not in such big numbers. :-)

—SA


这篇关于CreateEvent创建约20个事件.可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆