The below loops through plugins using the plugin iterator.
Code:
public void _Dynamic_HandleUsage()
{
// Loop plugins
Handle iterator = GetPluginIterator();
Handle plugin;
while (MorePlugins(iterator))
{
plugin = ReadPlugin(iterator);
}
CloseHandle(iterator);
}
Will this leak as I need to call CloseHandle(plugin); ?
__________________