这个例程获得一组服务器绑定句柄。
例程编辑器有一个新的外观和感觉。
参见附录获得完整的例程描述。
这个例程获取前面提到的统计数据。
This routine is called to retrieve the statistics previously mentioned.
对于负数,这个例程返回- 1。
使用清单2的代码实现构造器例程。
在这种情况下,需要调用这个例程。
这些附加例程只用于中断模拟。
These extra routines are required only for this interrupt simulation.
做好早晨,白天,晚上的例程规划。
对比本地例程和服务器上的例程。
用相同方法完成每个例程类型的向导。
调用这个例程查看端点数据库的内容。
This routine is called to view the contents of the endpoint database.
如果其它线程例程被传入,将被忽略。
当例程生成时,这些变量可用实际值替换。
These variables are replaced with the actual value when the routine is generated.
这与调用所有其它子程序的“主例程”类似。
This is analogous to a "main routine" which invokes all other subroutines.
图3列出了这个示例程序的类。
示例程序中演示了所有这些步骤。
示例程序维护自己的内部序号。
The sample program maintains its own internal sequence number.
你可以在这里下载讲义和例程。
接下来是输入例程。
这个例程首先检查接口句柄是否为 NULL。
This routine initially checks if the interface handle is NULL.
该示例程序提示输入用户标识和密码。
还实现了一个从示例程序收集并输出信息的例程。
I have also implemented a routine that does the actual work of digging the information from the sample program, and then printing it.
也可以使用这个样例程序来检查连接状态。
You can use this sample program to check the connection status as well.
那么,为什么不在设置/清除例程中添加这种功能呢?
So, why don't you add this functionality in the setup/teardown routines?
当子例程被调用时,该例程正确地接收到了它的参数。
When the subroutine is called, the routine receives its parameters correctly.
最后,你可以使用它们作为测试例程的输入。
顺序单一子例程已借助RDR模块化为多个子例程。
The sequential single subroutine has been modularized to several subroutines with help of RDR.
应用程序的退出处理函数或清理例程可以调用这个例程。
This routine can be called as a part of the application's exit handler or clean up routines.
使用例程模板,您现在可以实现公司标准实践或最佳实践。
Through the use of routine templates, you can now implement company standards or best practices.
应用推荐