views:

86

answers:

1

Suppose we have more than one temp Async pluggable protocols for schema lets say ftp: then which one will be called by urlmon?

+2  A: 

According to the docs when multiple handlers are registered for a namespace then last past the post wins, this also implies that temporary handlers trump those declared in the registry.

Excerpt from IInternetSession::RegisterNameSpace on MSDN:

Because pluggable protocol handlers are not chained, only the last handler to be registered will be active; therefore, it is better to create a new namespace, rather than reuse an existing one.

stephbu