REFNSIID GetIID(){return mIID;}
nsXPCWrappedJSMethods::GetIID(nsIID** iid) { NS_PRECONDITION(mWrapper, "bad state"); NS_PRECONDITION(iid, "bad param");  nsIAllocator* al; void* p;  al = mWrapper->GetClass()->GetXPCContext()->GetXPConnect()->GetAllocator(); if(!al || NULL == (p = al->Alloc(sizeof(nsIID)))) { *iid = NULL; return NS_ERROR_UNEXPECTED; } NS_RELEASE(al); memcpy(p, &mWrapper->GetIID(), sizeof(nsIID)); *iid = (nsIID*)p; return NS_OK; }
    REFNSIID GetIID(){return mIID;}