About Components
Reply #2 –
You don't need to call those functions directly. If you would like to enumerate implementations for some foo service, you can use code like this:
service_enum_t<foo> e;
foo * ptr;
for(ptr=e.first();ptr;ptr=e.next())
{
/* do something with ptr here */
ptr->service_release();
}
Of course you can also store the values returned by e.first(), and release them later. You also don't need to iterate until e.first() returns 0.