这个函数返回该事件对象的句柄。
这个函数创建信号量,并返回这个信号量的句柄。
This function creates the semaphore and returns the handle to the semaphore.
这个函数返回事件对象的句柄,这样就可以在后续的调用中使用这个事件对象了。
This function returns the handle to the event object and can be used in subsequent calls to the event object.
该回调函数的参数包括一个事务句柄和一个错误对象。
The arguments to this callback function include a transaction handle and an error object.
在成功打开信号量之后,这个函数就会返回这个信号量的句柄,这样就可以在后续的调用中使用它了。
Upon a successful opening, this function returns the handle to the semaphore so that it can be used in the subsequent calls.
这个回调函数的参数包含一个事务句柄和一个结果集。
The arguments to this callback function include a transaction handle and a result set.
第四个参数是递归id(如果有的话),最后一个参数是由取消注册时需要使用的函数返回的句柄。
The fourth argument is the recursion ID (if there is one), and the last argument is a handle returned by the function that we will need when it is time to de-register.
相反,创建一个包装器函数,它返回现有对象的句柄,或者创建一个新对象并添加到映射中,如清单1中的代码所示。
Instead, create a wrapper function that either returns a handle to the existing object for a particular community or creates a new object and adds it to the map, using the code in listing 1.
创建查询会返回一个句柄,可以用它来访问PDH函数中的查询。
The creation of a query returns a handle, which is used to allow access to the query in PDH functions.
这个函数使用一个信号量对象的句柄作为参数,并会一直等待下去,直到其状态变为有信号状态或超时为止。
This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.
该函数返回句柄,用以访问清单1 所示的对象。
The function returns a handle that can be used to access the object as shown in Listing 1.
实际上这个函数返回的是这个对象的一个句柄。
Then, the user calls various functions that accept the handle as a parameter and performs all kinds of operations on the object.
该凭证句柄可以传递给这里列出的其他函数,所以就不再需要通过SECKFMSwitchToID File来切换用户上下文了。
This credential handle can now be passed around to the other functions in this list so that switching user context via SECKFMSwitchToIDFile is not necessary.
如果digestdoc没有导致错误4091Invaliduniversalid,脚本会将文档的句柄传递回调用的函数。
If digestdoc did not result in error 4091 Invalid universal id, the script passes the handle of the document back to the calling function.
如果在一个函数中打开连接,并且只将句柄存储在一个本地变量中,那么当函数返回时,连接将被关闭。
If you open the connection from within a function, and only store the variable in a local variable, the connection will be closed when that function returns.
这个函数会使用一个互斥对象的句柄,并一直等待,直到它变为有信号状态或超时为止。
This function takes the handle to the mutex object and waits until it is signaled or timeout occurs.
这些句柄的生存时间由句柄范围决定,句柄范围经常在一个函数的开始的时候被创建。
These handles' lifetime is determined by a handle scope, which is often created at the beginning of a function call.
当句柄范围的析构函数被调用时,所有在那个范围中创建的句柄都将被从栈中移除。
When the handle scope's destructor is called all handles created within that scope are removed from the stack.
这些函数以环境句柄、连接句柄、语句句柄或描述符句柄作为输入参数,返回与上一次使用该句柄作出的函数调用相关的诊断信息。
These functions take environment, connection, statement, or descriptor handles as input and return the diagnostic information related to the last function call made using that handle.
为了简单起见,首先创建一个名为build_answers的helper函数,当给定一个数据库句柄或调查ID后,该函数会输出该调查所有答案的XML(参见清单4)。
To make it easier on yourself, first create a helper function called build_answers that, when given a database handle and a poll ID, outputs the XML for all the answers to that poll (see Listing 4).
在指定了SQL_HANDLE_DESC选项的情况下,通过调用SQLAllocHandle函数可以显式地分配一个或多个描述符句柄,以及一个有效的连接句柄和语句句柄。
One or more descriptor handles can be explicitly allocated by calling the SQLAllocHandle function with the SQL_HANDLE_DESC option and a valid connection and statement handle.
方法句柄可以同时作为函数的pointer和combinator,允许用内置的方式建立一个从调用器到被调用者的调用协议。
Method handles act as both function Pointers and as function combinators, allowing a built-in way to construct a call protocol flow from a caller to a callee.
该函数返回的句柄(handle)稍后应该在调用Web服务操作时可以用到。
The handle that is returned by the function should then be used when calling the web service operation.
在硬件中断一节中已经介绍了内核所提供的两个函数,用于注册和反注册一个句柄。
The section "Hardware Interrupts" already introduced the two functions provided by the kernel to register and unregister a handler, respectively.
获得(或创建)和释放(或销毁)关联设备的函数-正如我们在前几章看到的,你需要关联设备的句柄以便绘制。
Functions that get (or create) and release (or destroy) a device context as we saw in earlier chapters, you need a handle to a device context in order to draw.
这个函数返回一个存在的进程对象的句柄。
The OpenProcess function returns a handle to an existing process object.
如果你没有窗口或者是你不想在窗口过程中处理定时器消息,你必须在函数的窗口句柄的地方传递一空值。
If you don't have a window or you don't want to process the timer messages in the window procedure, you must pass NULL to the function in place of a window handle.
如果函数执行成功,返回值是指定进程的打开句柄。
If the function succeeds, the return value is an open handle to the specified process.
在前面的例子中,不需要判断使用哪种方法附加或分离事件句柄,直到有人调用此函数。
In the case of the previous example, there is no need to determine which way to attach or detach event handlers until someone makes a call to the function.
如果函数执行成功,则返回当前打开剪贴板的窗口的句柄;否则返回NULL。
The handle of the window that currently has the Clipboard open if the function is successful; otherwise NULL.
应用推荐