BOOL vmsMagnetExtension::IsAssociatedWithUs()
{
	AssociationParameters ap = GetCurrentAssociation ();
	return ap.bUrlProtocolSpecified && ap.tstrUrlProtocol.empty () && 
		!_tcsicmp (ap.tstrShellOpenCmdLine.c_str (), get_ShellOpenCommandLine ());
}
Example #2
0
BOOL vmsTorrentExtension::IsAssociationExist()
{
	return GetCurrentAssociation ().IsEmpty () == FALSE;
}
BOOL vmsMagnetExtension::IsAssociationExist()
{
	AssociationParameters ap = GetCurrentAssociation ();
	return !ap.tstrShellOpenCmdLine.empty () || ap.bUrlProtocolSpecified;
}