ICrmMonitor::HoldClerk method (comsvcs.h)

Retrieves a pointer on the specified clerk.

Syntax

HRESULT HoldClerk(
  [in]  VARIANT   Index,
  [out] LPVARIANT pItem
);

Parameters

[in] Index

A VARIANT string containing the instance CLSID of the required CRM clerk.

[out] pItem

A VARIANT IUnknown pointer returning the interface to the specified CRM clerk.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_INVALIDARG
One of the arguments is incorrect.
XACT_E_CLERKNOTFOUND
The specified CRM clerk was not found. It may have completed before it could be held.

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

ICrmMonitor