IHolder interface

Allocates or frees resources for an installed Resource Dispenser. The Dispenser Manager exposes a different IHolder interface to each installed Resource Dispenser.

When to implement

Any Resource Dispenser can implement this interface.

When to use

Use this interface to prepare and handle resources.

Members

The IHolder interface inherits from the IUnknown interface. IHolder also has these types of members:

Methods

The IHolder interface has these methods.

MethodDescription
AllocResource

Allocates a resource from the inventory.

Close

Closes the Holder.

FreeResource

Returns a resource to the inventory.

RequestDestroyResource

Deletes a resource, calling its destructor to free memory and other associated system resources.

TrackResource

Tracks the resource.

TrackResourceS

Tracks the resource (string version).

UntrackResource

Stops tracking a resource.

UnTrackResourceS

Stops tracking a resource (string version).

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComSvcs.h

See also

IDispenserDriver
IDispenserManager

 

 

Community Additions

ADD
Show: