IMTSActivity::SynchronousCall method (comsvcs.h)

Performs the user-defined work synchronously.

Syntax

HRESULT SynchronousCall(
  [in] IMTSCall *pCall
);

Parameters

[in] pCall

A pointer to the IMTSCall interface that is used to implement the batch work.

Return value

This method always returns the HRESULT returned by the OnCall method of the IMTSCall interface.

Remarks

The batch work that is run using this method runs in the context and thread apartment of the activity that was created by the call to MTSCreateActivity.

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 comsvcs.h

See also

IMTSActivity