IComResourceEvents interface (comsvcs.h)
Notifies the subscriber if a resource is created, allocated, tracked, or destroyed. The events are published to the subscriber using the COM+ Events service, a loosely coupled events system that stores event information from different publishers in an event store in the COM+ catalog.
Inheritance
The IComResourceEvents interface inherits from the IUnknown interface. IComResourceEvents also has these types of members:
Methods
The IComResourceEvents interface has these methods.
IComResourceEvents::OnResourceAllocate Generated when an existing resource is allocated. |
IComResourceEvents::OnResourceCreate Generated when a new resource is created and allocated. |
IComResourceEvents::OnResourceDestroy Generated when a resource is destroyed. |
IComResourceEvents::OnResourceRecycle Generated when an object is finished with a resource. |
IComResourceEvents::OnResourceTrack Generated when a resource is tracked. |
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 |