nsresult  rv = NS_OK;
NS_IMETHODIMP pluginInstanceOwner :: CreateWidget(void){  PRBool    windowless;  if (nsnull != mInstance)  {    mInstance->GetValue(nsPluginInstanceVariable_WindowlessBool, (void *)&windowless);    if (PR_TRUE == windowless)    {      mPluginWindow.window = nsnull;    //XXX this needs to be a HDC      mPluginWindow.type = nsPluginWindowType_Drawable;    }    else if (nsnull != mWindow)    {      mPluginWindow.window = (nsPluginPort *)mWindow->GetNativeData(NS_NATIVE_PLUGIN_PORT);      mPluginWindow.type = nsPluginWindowType_Window;    }    else      return NS_ERROR_FAILURE;  }  else    return NS_ERROR_FAILURE;  return NS_OK;}