GetManagedExtensions function (comsvcs.h)

Determines whether the installed version of COM+ supports special features provided to manage serviced components (managed objects).

Syntax

HRESULT GetManagedExtensions(
  [out] DWORD *dwExts
);

Parameters

[out] dwExts

Indicates whether the installed version of COM+ supports managed extensions. A value of 1 indicates that it does, while a value of 0 indicates that it does not.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, E_FAIL, and S_OK.

Remarks

Several COM+ services, such as COM+ Just-in-Time Activation and COM+ Events, support the IManagedActivationEvents interface. This interface provides additional code for managing serviced components (managed objects). To take advantage of this additional code, the serviced component must support the IManagedObjectInfo interface. The GetManagedExtensions function allows you to determine the availability of this additional code in the installed version of COM+.

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
Library ComSvcs.lib
DLL ComSvcs.dll

See also

IManagedActivationEvents

IManagedObjectInfo

IManagedPooledObj