RpcAsyncGetCallStatus function
The client calls the RpcAsyncGetCallStatus function to determine the current status of an asynchronous remote call.
Syntax
RPC_STATUS RPC_ENTRY RpcAsyncGetCallStatus( PRPC_ASYNC_STATE pAsync );
Parameters
- pAsync
-
Pointer to the RPC_ASYNC_STATE structure that contains asynchronous call information.
Return value
| Value | Meaning |
|---|---|
|
The call was completed successfully. |
|
The asynchronous call handle is not valid. |
|
The call has not yet completed. |
|
The call failed. The client application must call RpcAsyncCompleteCall to receive the application-specific error code. |
Remarks
This client-side function returns the current status of the asynchronous call. Note that if the return value is anything other than RPC_S_ASYNC_CALL_PENDING the call is complete.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
- Asynchronous RPC
- RPC_ASYNC_STATE
- RpcAsyncAbortCall
- RpcAsyncCancelCall
- RpcAsyncCompleteCall
- RpcAsyncGetCallHandle
- RpcAsyncInitializeHandle
- RpcServerTestCancel