Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft