*result = npStream->url; return NS_OK;
nsIPluginInstance* inst = NULL; nsresult rslt = pinst->QueryInterface(nsIPluginInstance::GetIID(), (void**)&inst); if (rslt != NS_OK) return rslt; CPluginInstancePeer* instancePeer = NULL; rslt = inst->GetPeer((nsIPluginInstancePeer**)&instancePeer); if (rslt != NS_OK) { inst->Release(); return rslt; } NPP npp = instancePeer->GetNPPInstance();  NPError err;   if (notifyData == NULL) { err = NPN_GetURL(npp, url, target); } else { err = NPN_GetURLNotify(npp, url, target, notifyData); } instancePeer->Release(); inst->Release(); return fromNPError[err];
CPluginStreamPeer::GetURL(const char* *result){    *result = npStream->url;    return NS_OK;}