RpcAsyncGetCallHandle macro (rpcasync.h)
The RpcAsyncGetCallHandle macro returns the binding handle on an asynchronous remote procedure call.
Syntax
void RpcAsyncGetCallHandle(
pAsync
);
Parameters
pAsync
Pointer to the RPC_ASYNC_STATE structure that contains asynchronous call information.
Return value
None
Remarks
Given an asynchronous handle, it returns the corresponding binding handle. For example, the RpcServerTestCancel function uses the pAsync parameter of RpcAsyncGetCallHandle as a parameter to test for cancel requests.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | rpcasync.h (include Rpc.h) |