This topic has not yet been rated - Rate this topic

RpcAsyncGetCallHandle macro

The RpcAsyncGetCallHandle macro returns the binding handle on an asynchronous remote procedure call.

Syntax


void RpcAsyncGetCallHandle(
  PRPC_ASYNC_STATE pAsync
);

Parameters

pAsync

Pointer to the RPC_ASYNC_STATE structure that contains asynchronous call information.

Return value

The binding handle for the asynchronous call represented by the pAsync parameter.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Rpcasync.h (include Rpc.h)

See also

RPC Macros
Asynchronous RPC
RPC_ASYNC_STATE
RpcAsyncAbortCall
RpcAsyncCancelCall
RpcAsyncCompleteCall
RpcAsyncGetCallStatus
RpcAsyncInitializeHandle
RpcServerTestCancel

 

 

Send comments about this topic to Microsoft

Build date: 11/23/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.