GetManagedExtensions function

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

Syntax


HRESULT __stdcall GetManagedExtensions(
  _Out_ DWORD *dwExts
);

Parameters

dwExts [out]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

ComSvcs.h

Library

ComSvcs.lib

DLL

ComSvcs.dll

See also

IManagedActivationEvents
IManagedObjectInfo
IManagedPooledObj

 

 

Community Additions

ADD
Show: