nsCOMPtr<nsIMimeObjectClassAccess>  objAccess; void                                *ptr = NULL;
void *ptr = NULL;
COM_GetmimeInlineTextClass(void){  nsCOMPtr<nsIMimeObjectClassAccess>  objAccess;  void                                *ptr = NULL;  nsresult res = nsComponentManager::CreateInstance(kMimeObjectClassAccessCID,                                                     NULL, NS_GET_IID(nsIMimeObjectClassAccess),                                                     (void **) getter_AddRefs(objAccess));   if (NS_SUCCEEDED(res) && objAccess)    objAccess->GetmimeInlineTextClass(&ptr);  return ptr;}