Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Performs the user-defined work synchronously.
Syntax
HRESULT SynchronousCall(
  [in] IServiceCall *pIServiceCall
);
Parameters
[in] pIServiceCall
A pointer to the IServiceCall interface that is used to implement the batch work.
Return value
This method always returns the HRESULT value returned by the OnCall method of the IServiceCall interface.
Remarks
The batch work that is run via this method runs in the context and thread apartment of the activity created by the call to CoCreateActivity.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows XP [desktop apps only] | 
| Minimum supported server | Windows Server 2003 [desktop apps only] | 
| Target Platform | Windows | 
| Header | comsvcs.h |