Description

The RemoveReference method is the reverse of the AddReference method. This method is called by the system on a device when an object that the device has previously accepted a reference to, as indicated by it returning true from the AddReference method, is being released. If the device has retained a reference to the target object, or has established any kind of connection or association with the target object, it must be released when this function is called.

Usage

virtual void RemoveReference(IDevice* target);
virtual void RemoveReference(IExtension* target);
virtual void RemoveReference(IBusInterface* target);
virtual void RemoveReference(IClockSource* target);
    

Argument list

target [IDevice / IExtension / IBusInterface / IClockSource]
The target object having its referencec removed

See also