这个函数返回该事件对象的句柄。
这个例程获得一组服务器绑定句柄。
这就是为什么句柄范围非常有用。
在上面的输出中,应用句柄是58。
如果队列已经存在,返回其句柄。
该句柄由两个C结构组成。
返回句柄将用于后续设备控制操作。
The returned handle will be used in further device control operations.
一组服务器绑定句柄称为向量。
可以对这些句柄发出RPC调用。
在这个输出中,第三列就是应用句柄。
一段时间后,该连接器句柄就会消失。
The connector handles disappear after a certain amount of time has passed.
代理命令队列上没有打开的输入句柄;
服务器会返回一个文件句柄和状态信息。
文件描述符用作设备句柄。
还可以指定接口的句柄和对象UUID。
The handle to the interface and optionally the object UUID is also specified.
NULL绑定句柄表示在本地执行调用。
A NULL binding handle indicates that the call is to be executed locally.
清单3:使用数据库句柄。
此脚本获得了一个数据库句柄和游戏id。
在此之后,把字符串绑定转换为绑定句柄。
After that, the string binding is converted into a binding handle.
根据绑定句柄在本地或远程执行这个调用。
The call is executed locally or remotely based on the binding handle.
当操作失败的时候V8会返回一个空句柄。
绑定向量是一组引用绑定信息的绑定句柄。
A binding vector is a set of binding handles referring to binding information.
这些回调称为事件句柄。
这里有两种类型的句柄。
连接器句柄的可用选项。
然后,设置回调句柄。
清单2显示如何使用open获取设备句柄。
这个例程首先检查接口句柄是否为 NULL。
This routine initially checks if the interface handle is NULL.
具体的数量取决于操作系统版本和句柄的类型。
The exact amount depends on the operating-system version and the type of handle.
具体的数量取决于操作系统版本和句柄的类型。
The exact amount depends on the operating-system version and the type of handle.
应用推荐