当服务器不再希望在端点中注册时,调用这个例程。
When the server no longer wants to be registered with the endpoint, this routine is called.
有许多可以为其注册回调例程的操作,这个参数值指出了每个以EM _开头的操作(完整列表可以从api参考指导中获得)。
There are a number of operations that you can register callback routines for and the value to indicate each operation begins with EM_ (the complete list is available in the API reference guide).
在注册回调例程之前,使用EMCreateRecursionID函数获得一个递归id很有用。
Before registering the callback routine, it is useful to obtain a recursion ID using the EMCreateRecursionID function.
EMRegister函数用于注册回调例程。
The EMRegister function is used to register the callback routine. It is best explained with an example.
这个例程用于向本地端点映射数据库注册服务器的端点。
This routine is used to register a server's endpoints with the local endpoint map database.
本节概述在服务器应用程序中向RPC运行时注册接口规范和取消注册的例程。
This section gives an overview of registering an interface specification with the RPC runtime in the server application and unregistering it.
它还会注册一个中断服务例程的地址以服务收发无线数据时产生的中断。
It also registers an interrupt service routine's address to service interrupts generated when wireless data is sent or received.
如果不采用这种方法的话,我们要想注册一个子例程(用 sub method_name{ ... }来定义),那么必须注册一个到这个子例程的引用,类似于: -command=>\&method_name 。
If instead we wanted to register an arbitrary subroutine (defined using sub method_name{ ... }), we would have to register a reference to this subroutine like so: -command=>\&method_name.
在结束该程序时,要使用EMDeregister()函数取消对回调例程的注册。
When wrapping up the program, the EMDeregister() function is used to de-register the callback routine.
在结束该程序时,要使用EMDeregister()函数取消对回调例程的注册。
When wrapping up the program, the EMDeregister() function is used to de-register the callback routine.
应用推荐