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